Filtered Metrics allow you to create metric tiles filtered on Event Parameter values. Filtered Metrics can also be used to create new Custom Metrics. This provides much more useful analytics dashboards, especially for those customers who heavily use event parameters. Filtered metrics can be used for A/B test goals, just like any other metric.
Say you send Leanplum an Event called Sign Up which has an Event Parameter called eventAction with values such as Facebook, Google, email, etc.
We can create a Filtered Metric for one specific parameter value for this event. Let's define a Metric Tile called "Facebook Signups" which is the occurrences of "Sign Up" only where parameter "eventAction" = "Facebook".
- In the Analytics space, under Favorites, click the + tile to create a new metric.
- Select Filtered metrics from the menu sidebar.
- Click + Create new filtered metric.
- Enter a metric name ("Facebook Signups").
- Select the Event ("Sign up") from the Event chooser.
- Under Filtered by, choose Selected event > Parameter.
- Click Name and enter the parameter name (e.g. "eventAction").
- Click value and enter the value you want to filter by ("Facebook").
Here is the resulting metric tile:
Note: Once you create a Filtered Metric, you can use it to create a new Custom metric.
Filtered metrics allows you to create more refined metrics based on the parameters you append to events. Here are a few examples of filtered metrics:
- An on demand ride service could filter their "Ride Completed" event by the parameter "Car Type," allowing them to create filtered metrics such as SUV Rides Completed, Compact Rides Completed and custom metrics such as SUV Rides per Total Rides, Compact Rides per Total Rides.
- A game could filter their "Level Completed" event by the "Level Number" parameter, allowing them to create filtered metrics such as Level 3 Complete, Level 10 Complete and custom metrics such as Level 3 Completions per Total Level Completions, Level 10 Completions per Total Level Completions.
- A furniture retail app could filter their "Search" event by the parameter "Item Category," allowing them to create filtered metrics such as Bed Search, Desk Search and custom metrics such as Bed Searches per Total Searches, Desk Searches per Total Searches.