Skip to main content

Custom Metrics

You can create Custom Metrics using the custom events you ingest by filtering or aggregating events based on event metadata. You must include metadata along with the custom events when you log these events with Statsig. For example, in addition to tracking overall event_count for all events of type purchase_event, you may want to filter these metrics only for events where your users purchase a specific product category. Statsig supports six types of custom metrics:
Beta Feature: Sketch-based count distinct metrics are in beta. Please reach out to learn more and join our beta testing!
It’s worth noting that the “average” in aggregation is the average of event value (average revenue per purchase per user), instead of the average of exposed units (average revenue per user). The latter is defined by sum. See Metrics 201 topic, Creating Custom Metrics, to learn how to create custom metrics for your product.