The Stats Report allows you to retrieve all events and attribute values for specified keys from visits that match your segment criteria.
The Stats UI Overview
- Define a segment you want to analyze, select it (1) and then open the Stats tab.
- (2) You can enter different interactive event masks to show stats for different types of behaviors. For example,
*.click
will list click interactions with all elements and*.change
will list all form field changes (event that happens when the user fills in a form field). You can narrow the results to interactions with specific elements by using a selector, for example*button*.click
. - (3) When defining meta event stats you can use * (an asterisk) in both a key and a value, for example
Time in Product/*=*
will show stats based on time spent in all Sections with names that start with “Product/*”. To list those sections you could useSection=Product/*
- (4) Attributes do not allow use of wildcards. You need to specify the exact attribute keys for which you want to retrieve statistics.
- (5) Once you define your report settings click [Load Stats] to load events and attributes on the basis of provided keys/values rules.
- Save your filter set to automatically load these stats next time you use this report.
Event and Attribute Statistics
- For each key/value definition you will see data displayed in a separate module.
- Under the definition you will see the number of unique event results and the total count of those events – for example how many unique elements were clicked on the website and how many times.
- Depending on the type of a data point, the module will present results either as (1) a piechart based on the datapoints count share, or (2) a distribution chart or a list of datapoints (see below).
- You can switch between display modes by clicking (4) the icons in the top right corner of a module.
Piechart View
The percentages displayed in the module for each datapoint are based on the datapoint’s count relative to the total count of datapoints in the module.
For example, if there were two unique Devices collected 5 times in total:
- Device=Desktop
- Device=Desktop
- Device=Mobile Phone
- Device=Desktop
- Device=Mobile Phone
the query for (A) Device
would return:
- value: Desktop, count: 3
- value: Mobile Phone, count: 2
and the Piechart module would display:
- value: Desktop, count: 60%
- value: Mobile Phone, count: 40%
Since each attribute can have exactly one value per visit, you could say that “60% of visits were from Desktop devices” however, you should keep in mind, that in some cases, a certain attribute may not be tracked. For example, if you would be tracking “Revenue” as an attribute, the piechart would show percentages relative to visits with that specific attribute. Therefore, it would be more accurate to say: “60% of visits in which Device attribute was tracked were from Desktop devices”.
When you pull stats for (E) interactive events or (M) meta events you should remember that a single event can be captured multiple times in the same visit, therefore, event count may not necessarily be equal to number of visits.
List View
The list view shows all datapoints that matched your definition and their (1) count value (how many times an event happened):
You can click a datapoint to create a segment of visits containing that datapoint, for example, visits in which users clicked a certain link in navigation.
Comparing Stats in Another Segment
The Stats report allows you to compare data from two different segments. For example, you can use this feature to compare purchased products, visited pages, clicked elements between a/b test groups, devices etc.