Quick Tracking automatically collects preset events and attributes on web pages, including page views, control clicks, control exposure, and heatmap events.
Preset event
|
Event Name |
Event code |
Properties |
Property meaning |
Methods |
Tracking Time |
|
Page view events |
$$_page_start |
Page Entry Time |
Client time at page entry |
Method 1: Automatic tracking (auto-tracking). Integrate the SDK; the H5 page auto-tracking switch is enabled by default. Method 2: Manual tracking (code tracking) Page view events reported through code tracking correspond to this event |
Method 1: Automatic tracking (auto-tracking) is reported when the page is entered. Method 2: Manual tracking (code tracking) is reported when the API is called. |
|
url |
The path to the page where the event was triggered |
||||
|
Source page url |
URL of the previous page |
||||
|
Whether the event is auto-triggered |
Whether the page is automatically triggered |
||||
|
Page Title |
Title of the page |
||||
|
Tracking mode |
0: Manual API call |
||||
|
1: Auto-tracking is enabled |
|||||
|
Control Click Event |
|
Event code |
Unique index for this event |
Method 1: Integrate the SDK, report this event through code tracking, and set the event type to "Control click" in the tracking management. Method 2: Integrate the SDK to enable the automatic tracking of control click events. |
Report on control click |
|
Page encoding |
Page encoding of the page on which the event was triggered |
||||
|
Source page encoding |
The page code of the previous page when the event fired |
||||
|
Event trigger time |
The timestamp of the client when the event was triggered. |
||||
|
Control ID |
ID attribute of the control |
Integrate the SDK and enable the auto-tracking API for control click events. These attributes are reported only during auto-tracking. |
|||
|
Control type |
The type of the control. Valid values: a, input, button, and textarea. Other tags support automatic tracking. However, you must manually configure the switch. |
||||
|
Control content |
Content of text in the control |
||||
|
Control selector |
CSS selector of the control |
||||
|
Control location |
The path of the control |
||||
|
Tracking mode |
0: Manual API call |
||||
|
1: Auto-tracking is enabled |
|||||
|
Control exposure events |
Event encoding of the element to be reported (any element is supported) |
Event code |
Event code of the element to be reported |
Method 1: Integrate the SDK, report this event through code tracking, and set it to the "Control exposure" event type in the tracking management. Method 2: Integrate the SDK and call the Auto Exposure API tracking control to trace control exposure events |
Reported on control exposure. Auto-exposure criteria: visible area exceeds 50% and dwell time exceeds 300 ms |
|
Page encoding |
Page encoding of the page on which the event was triggered |
||||
|
Source page encoding |
The page code of the previous page when the event fired |
||||
|
Event trigger time |
The timestamp of the client when the event was triggered. |
||||
|
Tracking mode |
0: Manual API call |
||||
|
1: Auto-tracking is enabled |
|||||
|
Heatmap events |
$$_hotpoint |
xpath |
Element Page Path |
Integrate the SDK and enable the heatmap feature |
Report when page is clicked |
|
x |
MouseEvent.pageX; If pageX is invalid, take MouseEvent.clientX + document.scrollLeft |
||||
|
y |
MouseEvent.pageY; If pageY is invalid, take MouseEvent.clientY + document.scrollTop |
||||
|
ex |
Element.getBoundingClientRect().left + document.scrollLeft |
||||
|
ey |
Element.getBoundingClientRect().top + document.scrollTop |
||||
|
sw |
document.width |
||||
|
ew |
HTMLElement: offsetWidth |
||||
|
eh |
HTMLElement: offsetHeight |
||||
|
t |
Trigger Interval |
||||
|
n |
Click count |
Preset Attributes
Preset attributes are carried by each event, regardless of the tracking method.
|
Attribute |
Attribute key |
Tracking Time |
|
Operating system |
os |
Initialize the SDK |
|
OS version |
os_version |
Initialize the SDK |
|
Screen resolution |
screen |
Initialize the SDK |
|
Country |
country_name |
When an event is reported to the server |
|
Province |
province_name |
When an event is reported to the server |
|
City |
city_name |
When an event is reported to the server |
|
App version |
app_version |
Initialize the SDK |
|
SDK Version |
sdk_version |
Initialize the SDK |
|
SDK Type |
sdk_type |
SDK initialization |
|
Platform |
app_id |
Initialize the SDK |
|
Platform Type |
platform |
Initialize the SDK |
|
Channel Source |
utm_source |
Initialize the SDK |
|
Channel Media |
utm_medium |
Initialize the SDK |
|
Campaign |
utm_campaign |
Initialize the SDK |
|
Ad creative |
utm_content |
Initialize the SDK |
|
Keyword |
utm_term |
Initialize the SDK |
|
Device ID |
utdid |
Initialize the SDK |
|
Account ID |
ll_userid |
Call the account settings API |
|
Event code |
event_code |
When an event is triggered |
|
Client-side event timestamp |
local_timestamp |
When an event is triggered |
|
Server-side event timestamp |
server_timestamp |
When an event is reported to the server |
|
Code of event triggering page |
page |
When an event is triggered |
|
The title of the page where the event is triggered. |
$sys_page_title |
When an event is triggered |
|
Path to the event triggering page |
$sys_url |
When an event is triggered |
|
Event trigger source page encoding |
refer_page |
When an event is triggered |
|
Event trigger source page path |
$sys_ref_url |
When an event is triggered |
|
Event tracking method |
$sys_track_type |
When an event is triggered |
|
Language |
lang |
Initialize the SDK |