On this page

Custom Metrics

Create custom metrics by filtering and aggregating events based on event metadata and properties.

Custom metrics

You can create Custom Metrics using the custom events you ingest by filtering or aggregating events based on event metadata. Include metadata along with the custom events when you log these events with Statsig.

For example, you might track overall event_count for all events of type purchase_event. You might also filter these metrics to only the events where users purchase a specific product category.

Statsig supports six types of custom metrics:

Sketch-based count distinct metrics are in Early Access. Reach out to Statsig Support to request access.

The "average" in aggregation is the average of event value (average revenue per purchase per user), not the average of exposed units (average revenue per user). Sum defines the average revenue per user.

Refer to the Metrics 201 topic, Creating Custom Metrics, to learn how to create custom metrics for your product.

Was this helpful?