This topic describes the scenarios and usage of the event analysis feature.
Document description: This document is an introduction to Quick Tracking and technical integration and is not used as a sales basis. For specific products and technical services purchased by an enterprise, the commercial purchase contract shall prevail.
Overview
An event is a description of a user's behavior in the process of using a product provided by an enterprise, such as clicking to register, adding to a shopping cart, playing music, and so on.
Event analysis is a statistical analysis of event-based metrics and drill-down analysis based on grouping and filtering conditions. It can help enterprises understand the user usage of products and further explore the main factors that affect the change of metrics. After a query is performed through event analysis, it can be saved as a report and added to a self-made dashboard for display and statistics.
Event: a description of the user's interaction during the use of the product, that is, when and where the user does what kind of things, such as clicking to register, adding to the shopping cart, playing music, etc.
Metrics: Metrics are tools for describing or measuring goals, such as the number of new users.
Attributes: Attributes describe user behavior events in more detail. For example, the "Add to Shopping Cart" behavior includes device common attributes collected by default, such as the operating system and city, and may also include custom attributes such as product names.
Scenarios
Event analysis can solve
Analyze historical trends in core metrics, such as changes in new product registrations over the past month.
Drill-down analysis of core metrics, such as viewing the source of new users by channel.
Observe the core indicator performance of the target population, such as analyzing the "purchase" performance of users aged "20-30".
Take "counting the number of login users from different provinces in the last seven days" as an example:
Click the drop-down to select "application start (preset)" event
Click the drop-down list and select "account ID deduplication" as the statistical indicator.
Click "add group" and select the system attribute "province" as the group attribute
Click Start Analysis
View the analytical report

Operations
Page Composition
The event analysis feature consists of the following components:
In the upper-right corner of the workspace, you can create and update event analysis and add it to the dashboard. In the More section, you can view and export the list of saved reports. Add health indicators for different event analysis
Information configuration area: the user can select events, indicators, attribute settings, grouping and time selection.
In the Analysis Results section, you can view the visual charts and detailed data of the analysis results.
Operation
Select Event Metrics
Event metrics and custom metrics are supported.
Select event metrics:

Event metrics support selecting page and tracking events
After you select an event, you need to select the metrics related to the event that you want to query. Event metrics and event attribute metrics are supported. In addition to the deduplication metric, numeric attributes also support the accumulated value, maximum value, minimum value, and average value metrics.
Category | MetricName | Description | Example |
Preset metrics | Number of deduplication of device IDs | Number of deduplication of the device ID of the selected event | The number of openIDs that are used to access mini programs. |
Number of device IDs | Number of times that the device ID of the selected event has a value to trigger | Number of mini programs started | |
Number of device IDs per person | Number of device IDs /Number of device ID deduplication | Per capita startup times of mini programs | |
Number of account IDs to deduplication | The number of logon account IDs for the selected event. | The number of accounts used to pay for the order. | |
Number of account IDs | The number of times that the logon account ID of the selected event is triggered with a value | The number of times the order was paid. | |
Number of times per person by account ID | Number of account IDs /Number of account ID deduplication | Number of payment orders per person | |
Number of deduplication for entity IDs | Number of deduplication of the entity ID of the selected event | Number of active one-ids in cross-end scenarios | |
Number of entity IDs | Number of times that the entity ID of the selected event has a value to fire | Number of active times in cross-end scenarios | |
Per capita number of entity IDs | Number of entity IDs /number of entity ID deduplication | Number of active times per person in cross-end scenarios | |
Attribute metrics | Deduplication | Deduplication of event properties | Number of exposed products |
Accumulated value | Numerical attribute addition and | The sum of payment order amounts | |
Maximum value | Maximum value of a numeric property | Maximum payment order amount | |
Minimum value | Minimum value for numeric attributes | Minimum payment order amount | |
Average value | Numeric attributes mean number | Average of payment order amounts |
Custom indicator: provides four operations of addition, subtraction, multiplication, division, parentheses, and constants for indicators.

The name and description of the custom metric. The name can be 15 characters in length, and can contain letters, digits, underscores, and calculated symbols (+-*/).
In the input box, enter the metric formula to be used for calculation, such as A + B and A- B. The calculation formula supports constant, +-*/and ().
You can choose to display the result as a percentage, an integer, or two decimal places. (Percentage by default).
The simple metrics that are used for compound calculation. You can specify up to three simple metrics in four operations. You can set filter conditions for each simple metric.
Add Filter Condition
Supports filtering by system attributes, global attributes, event attributes, channel attributes, and user attributes.
The name of the category to which the image belongs. | Description | Description |
System Attributes | This property acts on all events and is collected by the SDK | System preset properties, such as the version of the SDK |
Global Properties | This property is applied to all events and is reported by users, such as the region where you are hungry. | Attributes entered by the user in the global attributes of the collection management platform |
Parameters | This property is applied to all events, which are reported by users or collected by the system. For example, the payment amount of a payment event | Attributes entered by the user in the event attributes of the collection management platform |
Channel property | This property is applied to all events to view the behavior characteristics of users from various channels in the application and their contributions to a metric. | The attributes entered by the user in the channel attribute of the collection management platform. |
The user attribute. | This property applies to all events and is reported through a specific event or server API, such as the member information | The attributes entered by the user in the user attributes of the collection management platform. |
2. Different filtering symbols are supported according to different types of attributes.
Attribute type | Filter Symbol | Symbol Definition | Example |
String | Equal To | Represents equal to one or more specific values | The device brand is equal to Huawei or Apple |
not equal to | Identifies the exclusion of one or more specific values | Device brand excludes Huawei or Apple | |
contains | Find values that contain certain characters in an attribute value | The character Huawei is included in the device brand | |
does not contain | Exclude values with certain characters in attribute value | The character Huawei is not included in the device brand. | |
Empty. | Find data with no property value | with device brand attribute value | |
Not empty. | Find data with property values | No device brand attribute value | |
Numeric types | Equal To | Equal to a specific data | Order amount equals 1000 |
not equal to | Not equal to a specific value | Order amount not equal to 1000 | |
greater than | greater than a specific value | Order amount not equal to 1000 | |
smaller than | Less than a specific value | Order amount less than 1000 | |
In... with... | Between two specific values | Order amount between 1000 and 5000 |
3. The attribution is calculated when filtering with or without a value.
Actual situation | Calculation attribution when filtering "with value, without value" | When displayed by attribute value |
key:'value' | Contain Value | 'value' |
key:'' | Contain No Value | Empty string (preset) |
key:null | Contain No Value | Empty object (preset) |
The key does not exist. | Contain No Value | Unknown (preset) |
4. Enter attribute values to filter.
5. Multiple attribute filter conditions can be combined with and or for attribute grouping and analysis.
Import Attribute Values
1. Effective filtering conditions: conditional filtering under metrics and global filtering
2. Click the Batch Import button. The Batch Enter Attribute Values pop-up window appears.
Delimiter: a comma and a line feed (carriage return). You can select two types of characters at the same time. The OR relationship takes effect.
If you want to import data in batches, the input box contains attribute values. After batch upload and save, it is modified to "overwrite modification"
Select an attribute group
You can add groups of metrics to analyze events from different dimensions. For example, if you want to add a channel group, you want to see the new activation brought by different channels and the daily activity of different cities. You can also use two attribute groups for analysis.
Add a global filter
If you select two or more event metrics, global filtering supports common filtering based on common attributes between different events. The specific filtering capability and the attribute filtering capability of the same single event are set.
Add user groups
You need to look at the data of a specific group of people, such as the number of orders purchased last week in the "high-value active user group", that is, you can filter the number of orders purchased by "filtering user groups". For more information about how to create a user group, see Crowd Insight.
Select Time Range

You can select the time range and time granularity as required. You can select a time range in the Relative Period or Fixed Period mode. In the Relative Period mode, the default time is set to the past seven days and is displayed by day.
-The "relative period" is based on the date range pushed forward or backward by an anchor point, which will change with time. It has three dimensions of the past X days, weeks, and months. It also supports custom time filtering conditions for the past X days, weeks, and months. The day is a complete natural day, and the week is selected from Monday to Sunday, and the month is the natural month (from the 1st to the last day of each month)
The following list describes the rules:
Past N Days: The current time is used to push forward the entire N days.
Past N Weeks: indicates n complete weeks forward based on the current time. If the current time is the last day of the week, the past N weeks include the week in which the current time is located. Example: If the current time is the 7.20 (Tuesday), then the past week is 7.12-7.18 (Monday to Sunday). If the current time is the 7.18 (Sunday), then the past week is 7.12-7.18.
Past N Months: indicates n complete months forward based on the current time. If the current time is the last day of the month, the past N months include the month in which the current time is located. Example: If the current time is 7.20, then the past month is 6.1-6.30; If the current time is 6.30, then the past month is 6.01-6.30.
-"Fixed period" You can directly select the start date in the calendar box, click OK, the current time range will be selected for data analysis (fixed period without time range limit).
View charts of log analysis results
After setting the query criteria and clicking Start Analysis, you can view the analysis results.
-The chart style supports "polyline", "column chart", "ranking chart", "ring chart", "indicator" and "indicator trend" to display the chart.
-Click the "More" button in the upper right corner and select "Export Data" to download the Excel file.
-Save the commonly used indicators for subsequent re-query. You can use the "Save" setting button in the upper right corner.
-After you update and edit the existing saved metrics, you can click the "Update" button in the upper left corner to update them.
-After modifying a metric in an existing saved metric analysis, you can click Save As in the upper right corner to save the new metric in the metric list.
View SQL Statements
On the Analysis Chart page, you can view the query SQL of the current behavior analysis. Click Copy to copy the query SQL. 
View detailed data
You can view the detailed data of the statistical results. The total data is de-duplication data within a time range. You can view the data by time dimension.
Save Data to Report 
Click Save in the upper right corner to open the Save Report dialog box. To save the report, you need to fill in and select the following items;
1. Enter a report name
2. Select the time period for saving the report.
-Impact of different time periods on reports
Select a relative time period, and the report date can be updated as the query time passes.
If you select a fixed period, the report date does not change based on the time selected on the kanban.
If no time period is selected, the report date displays data from the past 7 days by default.
3. Click the OK button to save the data to the report list.
Add a report to the dashboard
For the saved report, you can choose to add the report to the kanban, click the "add to kanban" button in the upper right corner of the pop-up window to add to the kanban, you need to fill in the following information to add to the kanban:
Enter Report Name
Select the added kanban
Select the type of display you want the chart to display.
Select the display layout of the chart in the self-made kanban
Advanced Settings allows you to set the default time granularity to day, week, or month. You can enable the filter switch in the kanban.
Click "OK"
Detailed data event logs

1. For the query results of event analysis, click any indicator value on the detailed data table to generate a report based on the event log details corresponding to the selected indicator result value.
2. Click the "get event details" button to pop up the save file pop-up window.
3. Save and click to enter the "Download Center" and jump to the event details report (offline) to view the download task.
Save detailed data as a group

1. For the query results of event analysis, click any indicator value on the detailed data table to generate a report based on the event log details corresponding to the selected indicator result value.
2. Click the Save as Crowd button to pop up the Save pop-up window.
3. The group name can be customized according to the business situation.
4. Account disclosure range support: not public (only visible to you), fully public (visible to all members), and partially public (visible to specified members).
5. Click the "OK" button to save and click the crowd to save the successful "jump view" to jump to the user profile page to view the saved crowd.