All Products
Search
Document Center

Quick Tracking:Mini Program Preset Events Guide

Last Updated:Apr 23, 2025

Preset event

Event Name

Event code

Properties

Property meaning

Methods

tracking Time

mini program startup event

$$_app_start

The beginning of the queried time range.

Client time when the start event occurred

Integrate the SDK

When the mini program is displayed in the foreground

The method in which the service was started.

Cold start /hot start

Launch Page

Pages opened at startup

url

The path to the page where the event was triggered

mini program exit event

$$_app_end

Exit Time

Client time when the exit event occurred

Integrate the SDK

Small program into the background

Usage duration

User usage duration from the start to the exit

Exit Page

Page on which to exit

url

The path to the page where the event was triggered

Exit Type

How the page exits (destroy /exit)

mini program sharing events

$$_share

Share time

Share the client time when the event occurred

Integrate the SDK

Click the share button that comes with the mini program.

Share Page

The page on which you are sharing

url

The path to the page where the event was triggered

Share source page

Forward page of the page where the sharing event occurred

Page browsing events (auto-tracking is automatically tracked)

$$_page_end

Page exit time

Client time when the page exits

Integrate the SDK

Report on Page Leave

Page Entry Time

Client time at page entry

Page Stay Duration

Time difference between page exit time and page entry time

url

The path to the page where the event was triggered

Source page url

Previous page url of current page

Burial point mode

1 indicates that automatic tracking is started after auto-tracking.

Page browsing events (manually tracked from code tracking)

$$_page_start

Page encoding

Page encoding in the tracking plan

Integrate the SDK and call the code tracking API

Report when the R&D classmate API is called

Source page encoding

The previous page encoding of the current page

Burial point mode

0 indicates that the API tracking is manually called;

Control Click Event

Event encoding of the element to be reported (any element is supported)

Event code

Event code of the element to be reported

Method 1: Automatic tracking (auto-tracking). You must call the automatic click event API.

Method 2: Manual tracking (code tracking)

The control click event reported by the code tracking is this event. In addition, you must manage it as a click event in Event Management.

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.

Burial point mode

0 indicates that the API tracking is manually called.

1 indicates that automatic tracking is started after auto-tracking.

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: Automatic tracking (auto-tracking). You must call the automatic exposure event API.

Method 2: Manual tracking (code tracking)

This event is the control exposure event reported by the code tracking. In addition, you must manage it as a control exposure event in Event Management.

Control exposure reporting (exposure time defined by automatic exposure is that the display area is greater than 50%, and exposure is when the residence time exceeds 300ms)

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.

Burial point mode

0 indicates that the API tracking is manually called;

1 indicates that automatic tracking is started after auto-tracking.

Page bottoming event

$$_reach_bottom

url

Bottom Page Path

Integrate the SDK

Report when the page is drawn to the bottom (triggering the onReachBottom function)

Number of bottoms

Page bottoming times

bottoming time

Client time when the event occurred

Preset Properties

Preset properties are carried by each event, regardless of the tracking method.

The attribute field.

Attribute key

tracking Time

Device brand

device_brand

First start

Device model

device_model

Initialize the SDK

Operating System,

os

Initialize the SDK

The version of the operating system.

os_version

Initialize the SDK

Network Type

access

Initialize the SDK

Desktop Resolution

screen

Initialize the SDK

The country.

country_name

When an event is reported to the server

Province

province_name

When an event is reported to the server

The city.

city_name

When an event is reported to the server

The version of the application.

app_version

Initialize the SDK

Miniapp scenario values

scene

Initialize the SDK

SDK Version

sdk_version

Initialize the SDK

SDK type

Initialize the SDK

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

Promotion activities

utm_campaign

Initialize the SDK

Promote creativity

utm_content

Initialize the SDK

Keyword

utm_term

Initialize the SDK

The device ID.

utdid

Initialize the SDK

The ID of the account.

ll_userid

Call the user account setting interface

Event code

event_code

When an event is triggered

Client time during event triggering

local_timestamp

When an event is triggered

The time when the event is triggered on the server.

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