Date range and comparison
Every report page has a date range in the toolbar. Choose a preset or a custom range. Ranges use UTC days. On Overview and custom dashboards, you can also compare with the previous period.Filters
Open the filter menu in the toolbar to add a condition. Filters apply to every card on the page.
Each condition uses one operator:
Conditions combine with AND. A report can have up to 20 conditions.
When you type a value, the filter menu suggests the values that occur in the selected date range, most frequent first: countries, builds, versions, event names, event property values and the other fields. You can still type any value. For is any of and is none of, each suggestion adds one value to the list.
People filters
On the Users page, the filter menu also has a People group. These conditions select people, not events. They apply to the Users and Anonymous tabs, their counts and CSV export, and the Audience insights cards.
A user is the identified user ID. Anonymous IDs that link to one user ID count as that user. People conditions combine with AND, and with the other filters. Other reports do not apply people conditions; they show a notice instead.
In the API, people conditions are the
user_filters and behavior_filters query parameters (JSON arrays). For example, user_filters=[{"field":"lifecycle","op":"in","value":["New","Returning"]}] or behavior_filters=[{"event":"purchase","event_type":"track","op":"gte","times":2,"relative_to":"first_seen","window":{"value":7,"unit":"day"}}]. lifecycle takes eq and in; revenue takes eq, neq, gt, gte, lt and lte; source takes eq, neq, in and nin. Any other field or operator returns HTTP 400.
Segments
A segment is a named set of filter conditions that you can use again.- Add one or more filters.
- Open the filter menu. Under Segments, enter a name and click Save as segment.
- To apply a segment, open the filter menu and click its name. Click it again to remove it.
Bots
Reports exclude bot traffic unless you set Device tobot.