session Analysis
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
A session is a series of user actions that occur within a product during a defined time period. For example, a single session can include page views, events, interactions, and transactions across multiple pages.
Session analysis links individual user actions into a continuous journey, helping you interpret user behavior patterns across your product. You can save query results as reports and add them to custom dashboards.
Scenarios
Session analysis addresses the following use cases:
-
Continuous user behavior analysis: How many times does a user visit on average per session? How many pages are viewed per session? What is the average session duration? How long does a user spend on a specific page?
-
Page exit rate analysis: For example, analyze the homepage exit rate by channel group to identify which channels attract more user engagement.
The following example shows how to 「Statistics Lottery Page Exit Rate from Different Source Channels」:
-
Select session metrics: select page 「Lottery Page」 and opt-out rate metrics
-
Select Attribute Group: group by 「Channel Source」
-
Select time range and intensity
-
Click 「Start Analysis」

Actions guide
Page composition
The session analysis feature consists of the following components: 

Select session metrics
You can use session metrics and custom metrics.
-
Select session metrics:

-
You can select pages and tracking events as metrics, including session-level events.
-
After you select an event, choose metrics from the drop-down list. Metrics are divided into preset metrics and session attributes. In addition to 「Unique Count」, numeric attributes also support sum, maximum, minimum, and average metrics.
-
Meaning of preset metrics
Metric name
Metric meanings
Access requests
Total number of sessions
Number of access users
Number of unique counts for the session split subject
Number of visits per capita
Sessions / Users
Exit rate (when a page is selected)
Number of sessions left after visiting this page / Number of sessions that include this page. This represents the percentage of exits from this page in the product usage path that contains the page.
Bounce rate (when session population is selected)
Number of sessions per page / Total number of sessions
Session duration: the length of the current session, measured in seconds.
-
Meaning of the session attribute
session attributes
Metric meanings
Promotion activities
Promotion activities
Promote creativity
Promote creativity
Media
Traffic medium that identifies how the user arrived
Source
Traffic source, such as Toutiao or iQiyi
Search engine keywords
Search engine keywords
Mini program scenarios
Mini program scenarios
Source page path
The referrer path of the landing page
Source domain
The domain extracted from the source page path
Landing page code
First page in session
Exit page code
Last page in session
Page code
The code identifier of the page
Number of pages browsed
Page views (PV) within a session
Whether the first day visit
Select Yes or No.
-
Custom metrics: You can build formulas using addition, subtraction, multiplication, division, parentheses, and constants.

-
Enter a name and description for the custom metric. The name can be up to 15 characters and may contain letters, digits, underscores, and the calculation symbols
(+-*/). -
In the input box, enter a metric formula such as A + B or A - B. Formulas support constants,
+-*/, and()operators. -
Select how the result is displayed: as a percentage, an integer, or with two decimal places. The default is percentage.
-
Simple metrics used in the compound calculation. You can combine up to three simple metrics with four arithmetic operations and set filter conditions for each.
-
Add Filter Condition
-
You can filter by session attributes.
-
The available filter operators vary by attribute type.
Attribute type
Filter Symbol
Symbol Definition
Example
String
Equal to
Matches one or more specific values
The device brand is equal to Huawei or Apple
Not equal to
Excludes one or more specific values
Device brand excludes Huawei or Apple
Contains
Matches values that contain specified characters
The character Huawei is included in the device brand
Does not contain
Excludes values that contain specified characters
The character Huawei is not included in the device brand.
Empty
Matches records where the attribute has no value
No device brand attribute value
Not empty
Matches records where the attribute has a value
with device brand attribute value
Numeric types
Equal to
Equal to a specific value
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 greater than 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. Enter the attribute values to filter by.
4. You can add multiple filter conditions and combine them with AND or OR operators for cross analysis.
Select attribute group 
Select a session attribute to group metrics by. You can also cross-analyze two attributes together.
2.3 Add global filter 
When two or more session metrics are selected, global filtering lets you filter by attributes shared across different events. The filtering capabilities are the same as single-event attribute filtering.
Select time range 
Select a time range and granularity. You can choose between 「Relative Period」 and 「Fixed Period」 mode. By default, Relative Period is set to the past seven days with daily granularity.
-
「Relative Period」 calculates a date range relative to the current date and updates automatically over time. You can specify past X days, weeks, or months. A day is a full calendar day, a week runs from Monday to Sunday, and a month is a full calendar month (1st to last day).
The following list describes the rules:
A. Past n days: The n complete days before the current date.
B. Past n weeks: The n complete weeks before the current date. If the current date is the last day of the week (Sunday), the current week is included. Example: If today is 7.20 (Tuesday), past 1 week = 7.12-7.18 (Monday to Sunday). If today is 7.18 (Sunday), past 1 week = 7.12-7.18.
C. Past n months: The n complete months before the current date. If the current date is the last day of the month, the current month is included. Example: If today is 7.20, past 1 month = 6.1-6.30. If today is 6.30, past 1 month = 6.01-6.30.
-
「Fixed Period」 Select a start and end date from the calendar and click OK to set the time range for analysis. The maximum range for a fixed period is 366 days.
View analysis charts and detailed data 
After you set the query criteria and click 「Start Analysis」, view the results in 「Analysis Chart」 and 「Detailed Data」.
-
Chart styles include 「Polyline」, 「Column Chart」, 「Row Chart」, and 「Circular chart」.
-
「Detailed Data」 shows the detailed statistical results. Totals are deduplicated across the selected time range. You can also view data broken down by time dimension.
-
Click 「View SQL」 in the upper-right corner of 「Analysis Chart」 to view and copy the underlying query SQL.
-
Click 「Export Data」 in the upper-right corner of 「Detailed Data」 to download the data as an Excel file.
-
To save frequently used metrics for later reuse, click 「Save」 in the upper-right corner.
Save data to report 
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. The report date can be queried according to the time selected on the dashboard.
-
Select a fixed period, the report date will not change according to the dashboard selection time
-
No period is selected, the report date follows the time selected on the dashboard
3. Click the 「OK」 button to save the data to the report list.
Add a report to the dashboard
After you save a report, you can add it to a dashboard: 
-
Enter 「Report Name」
-
Select the added dashboard
-
Select the type of display you want the chart to display.
-
Select the display layout of the chart in the self-made dashboard
-
Click 「OK」
3. session splitting rules
Session splitting rules are based on three dimensions: space, time, and business definitions. These rules are applied together:
-
Space rules
This rule is mandatory and applies at the system level. You do not need to configure source parameters manually. If the value of any of the following parameters changes, a new session is created.
|
Parameter |
Parameter Key |
|
Promotion activities |
utm_campaign |
|
Promote creativity |
utm_content |
|
Media |
utm_meduum |
|
Source |
utm_source |
|
Search engine keywords |
utm_term |
|
Mini program scenarios |
scene |
|
Source Domain |
refer_oage take domain |
-
Time rules
A new session is created when no activity is logged for more than 30 minutes in web applications, or more than 1 minute in apps and mini programs.
-
Business definition
This attribute is not supported in IDaaS.



