Filters in Insights
A filter keeps only the events or users you need in the report: for example, only iOS, only Chrome or only users of the "Visited the site more than 5 times" cohort. Everything that does not pass the filter is left out of the calculation.
You can add a filter to the whole report or to a single metric.
Filter, breakdown or Cohort metric: what to choose
| Your task | What to use | Result |
|---|---|---|
| Calculate metrics only for part of the audience (iOS, one region, one cohort) | A filter on the whole report | One line, but only for the filtered data |
| Restrict one metric without affecting the others (for example, iOS purchases next to all visits) | A filter on the metric | The other metrics are calculated on all data |
| Compare groups with each other (iOS vs Android, Moscow vs everyone else) | Breakdown | A separate line or row for each group |
| Compare a segment with the rest of the audience | Breakdown by cohort with the "Not in cohort" checkbox | Two groups: in the cohort and not in the cohort |
| Find out the size of a segment over time | Cohort metric | Number of cohort users by date |
How to add a filter
A filter on the whole report applies to all metrics. For example, a filter by cohort or attribute lets you analyze only users who signed up in a certain period or use a certain device.
A filter on a single metric affects only that metric and does not change the rest of the report. For example, if you only need events on the iOS platform, add the "OS name = iOS" filter to the metric.
Step 1. To add a filter to the whole report, click + Add in the Filters block of the side panel. To add a filter to a metric, click ⋯ on the metric card and select Add filter.
Step 2. When adding a filter to the whole report, choose its type: Attribute or Cohort.
Step 3. For the Attribute type, choose an attribute (for example, Browser, OS name) and set a condition. For the Cohort type, choose a cohort and the Contains or Does not contain condition.
If the cohort you need is not in the list, first create it in Profiles → Cohorts (see Cohorts (RU)).
Deleting a filter. Click ⋯ on the filter card → Delete.
Filter conditions
Conditions for attributes
| Condition | What it does | Example |
|---|---|---|
| Equals (=) | Keeps only data that exactly matches the selected value | Only events of users with the Chrome browser |
| Not equal (!=) | Excludes data with the specified value | All events except those on iOS |
| Contains | Keeps data if the attribute includes the specified value | All events where the device name contains "Samsung" |
| Does not contain (!~) | Excludes data if the attribute contains the specified value | Hide events related to a specific ad campaign |
| Empty | Selects events where the attribute is missing | Users with no country specified |
| Not empty | Selects events where the attribute has a value | Only sessions where a phone number was left |
Conditions for cohorts
| Condition | What it does | Example |
|---|---|---|
| Contains | Includes only users of the selected cohort | Only users who made at least one purchase in the last 7 days |
| Does not contain (!~) | Excludes users of the cohort | Hide users who made no purchases in the last month |
Example: a purchase funnel for iOS only
Add a filter to the whole report: Attribute → OS name → Equals → iOS. All report metrics — visits, carts, purchases — will be calculated only for iOS users. To compare iOS with other platforms, remove the filter and add a breakdown by OS name.
Filters and metric order
Filters by cohort or event attributes can be applied to any metric in the report.
Change the order of metrics by drag-and-drop: hold a metric card with the left mouse button and move it. In the Table view, the metric order sets the column order.
FAQ
How is a report filter different from a metric filter? A report filter applies to all metrics at once, a metric filter only to that metric; the other metrics are calculated on all data.
Why did the values drop after adding a filter? A filter cuts off events and users that do not match the condition — only the remaining data is calculated.
The cohort I need is not in the filter list — what should I do? Create it in Profiles → Cohorts, and it will appear in the filter.
How do I see the filtered group next to everyone else? Use a breakdown instead of a filter: it shows each group separately.