Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/metrics/custom-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ For example, in addition to tracking overall **event_count** for all events of t

Statsig supports five types of custom metrics:

| Metric Type | Description | Examples |
| ----------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| Event Count | **Total count of events** filtered by the _Value_, _Metadata_, or _User_ properties of an event type | **Add to Cart** event filtered by category type |
| User Count | **Number of unique users** that trigger events filtered by the _Value_, _Metadata_, or _User_ properties of an event type | **Active Users** based on their views of a product category |
| Aggregation | **Sum or Average** of the _Value_, _Metadata_, or _User_ property of an event type | **Total Revenue** |
| Ratio | **Rates** (e.g. cart conversion rate, purchase rate), **Normalized Values** (e.g. sessions per user, items per cart) | **Cart Conversion Rate**, **Sessions per User** |
| Funnel | **Funnels**- funnel of multiple events with conversion tracking | **Sign-up Funnel**, **Checkout Funnel** |

| Metric Type | Description | Examples |
| -------------- | -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| Event Count | **Total count of events** filtered by the _Value_, _Metadata_, or _User_ properties of an event type | **Add to Cart** event filtered by category type |
| User Count | **Number of unique users** that trigger events filtered by the _Value_, _Metadata_, or _User_ properties of an event type | **Active Users** based on their views of a product category |
| Aggregation | **Sum or Average** of the _Value_, _Metadata_, or _User_ property of an event type | **Total Revenue** |
| Ratio | **Rates** (e.g. cart conversion rate, purchase rate), **Normalized Values** (e.g. sessions per user, items per cart) | **Cart Conversion Rate**, **Sessions per User** |
| Funnel | **Funnels**- funnel of multiple events with conversion tracking | **Sign-up Funnel**, **Checkout Funnel** |
| Count Distinct | **Count Distinct**- Number of unique values for a given field, often approximated with sketches | **Unique Songs** listened per user
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](/metrics/create), to learn how to create custom metrics for your product.