Property filters
Narrow insights, lists and cohorts to the events and people you care about, with the operators each kind of property supports.
A property filter narrows any view to the events, people or sessions that match a condition, such as "browser equals Chrome" or "plan is set". The same filter control appears in insights, dashboards, Activity, the persons list, cohorts and recordings.
Add a filter
- Click the filter button, usually shown with a plus sign.
- Choose the property. Properties are grouped by where they come from: event properties, person properties, session properties, cohorts and more.
- Choose an operator and enter one or more values. Suggested values are taken from your recent data.
When you add several filters, choose whether all of them or any of them must match.
Operators
The operators offered depend on the property's type, which you can see and correct in Data management.
Text
| Operator | Matches when the value |
|---|---|
| equals / doesn't equal | Is exactly one of the values you enter, or none of them. |
| contains / doesn't contain | Includes the text you enter, ignoring upper and lower case. |
| starts with / ends with, and their opposites | Begins or ends with the text you enter. |
| matches regex / doesn't match regex | Matches a regular expression. |
| is set / is not set | Exists on the event or person at all. |
Text properties also offer version comparisons, such as "greater than (semver)", for properties like an app version.
Numbers
| Operator | Matches when the value |
|---|---|
| equals / doesn't equal | Is the number you enter, or is not. |
| greater than, less than, and "or equal" variants | Compares as a number. |
| is set / is not set | Exists at all. |
Dates and times
| Operator | Matches when the value |
|---|---|
| equals | Falls on the date you choose. |
| before / after | Is earlier or later than the date you choose. |
| is set / is not set | Exists at all. |
True or false
| Operator | Matches when the value |
|---|---|
| equals / doesn't equal | Is true, or false. |
| is set / is not set | Exists at all. |
Cohorts
Choose user in or user not in and pick a cohort.
Tips
- "Doesn't equal" also matches events where the property is not set. Add "is set" as well if you only want events that have the property.
- Choose the right kind of property. A person property reflects what you know about the person; an event property reflects the moment of the event.
- Numbers sent as text compare as text. If "greater than" is missing for a number, check the property's type in Data management.
- Filter out internal and test users in Settings → Project → Customization defines a set of filters you can apply to any insight with one switch.
Related
Can't find what you need? Contact support