目录
此内容是否有帮助?

# Preset Properties and System Fields

::: Tips

This section will introduce all the built-in properties and system fields in TE. For detailed built-in properties of the platform, please refer to:

Android platform, iOS platform, Web platform, Server

:::

Preset properties refer to the properties generated or obtained by TE. All the preset properties, all event properties, start with "#", with their Chinese name and meaning clearly defined. System fields refer to the structure fields in data (e.g., #account_idand #event_time, etc.), or fields with special usage in the database. Such fields would not be used directly nor indirectly in the analysis model.

Except for the following preset properties, any properties starting with "#" would be defined as illegal fields and could not be stored. Therefore, it is recommended that you do not set the self-defined properties as properties starting with "#". Since all the system fields could not be used as events or user properties and should be uploaded during data ingestion.

Please note that it is recommended that you do not use preset properties other than #ip. It is suggested that you set such properties under the guidance of TE staff to ensure the properties of data on multiple terminals are consistent when the client-side SDK and other transmission modes are used simultaneously.

  • Preset property:
Property name Description Property type Instruction
#ip
Client-side IP
Text
The IP address of the user, based on which TE would obtain the geographical location of the user
#country
Country/region
Text
The country where the user is located; generated based on the IP address
#country_code
Code of country/region
Text
The code of the country where the user is located (ISO 3166-1 alpha-2, two English characters in upper case); is generated based on the IP address
#province
Province
Text
The province where the user is located; generated based on the IP address
#city
City
Text
The city where the user is located; generated based on the IP address
#os_version
OS version
Text
iOS 11.2.2, Android 8.0.0, etc.
#manufacturer
Manufacturer
Text
The manufacturer of the user device, namely, Apple, Sumsung, etc.
#os
OS
Text
E.g., Android, iOS, etc.
#device_id
Device No.
Text
The ID of the user device; IDFV or UUID of the user for iOS; androidID for Android
#screen_height
Screen height
Numerical value
The screen height of the user device, e.g., 1920, etc.
#screen_width
Screen width
Numerical value
The screen height of the user device, e.g., 1080, etc.
#device_model
Device model
Text
Model of the user deivce, e.g., iPhone 8, etc.
#device_type
Device type
Text
Type of user device, e.g., iPad, iPhone,etc.
#app_version
APP version
Text
The version of your APP
#bundle_id
APP package name
Text
APP package name or process name
#lib
SDK type
Text
The type of the SDK to which you access, e.g., Android,iOS, etc.
#lib_version
SDK version
Text
The version of the SDK to which you access
#network_type
Network type
Text
The network state when an event is uploaded, e.g., WIFI, 3G, 4G, etc.
#carrier
Operator
Text
The network operator of the user device, namely, AT&T, Vodafone, etc.
#browser
Browser
Text
Type of the browser used by the user, e.g., Chrome, Firefox, etc.
#browser_version
Browser version
Text
The version of the browser used by the user, e.g., Chrome 61.0, Firefox 57.0, etc.
#duration
Event duration
Numerical value
The duration was recorded by using the timing function (unit: second)
#url
Screen URL
Text
Used in the auto-tracking event, the address of the current page (a page not defined by service). The value of screen URL in the web page is located.href, while the value of the screen URL on the Android/iOS platform is the self-defined page path
#url_path
Page path
Text
Used in the auto-tracking event, the address of the current page (a page not defined by service). Value: location.pathname
#referrer
Forward address
Text
Used in the auto-tracking event, the address of the page before skipping (a page not defined by service). The value of the forward address in the web page document.referrer, while the value of the forward address on Android/iOS platform is the self-defined forward page path
#referrer_host
Forward domain name
Text
Used in the auto-tracking event, the path of the page before skipping (a page not defined by service). The value is the host of referrer
#title
Screen title
Text
Used in auto-tracking event, the tittle of current page (a page not defined by service). The value in the web page is document.title, while the value on Android platform is the tittle of Activity, with the value being the value of the title property of Activity. The value on iOS platform is the tittle of View Controller, with the value being that of the controller.navigationItem.title property
#screen_name
Screen name
Text
Used in the auto-tracking event, the name of page(a page not defined by service). The value on Android platform is the package name.type name of Activity, while the value on iOS platform is the type name of View Controller
#element_id
Element ID
Text
Used in the auto-tracking event, ID of the controller
#element_type
Element type
Text
Used in auto-tracking event, ID of the controller
#resume_from_background
Resume from the background or not
Numerical value
Used in auto-tracking event, whether to resume the app from the background, Boolean
#element_selector
Element selector
Text
Used in the auto-tracking event, viewPath of the controller
#element_position
Element position
Text
Used in the auto-tracking event, the location information of the controller
#element_content
Element content
Text
Used in the auto-tracking event, the content of the controller
#scene
Scenario value
Numerical value
Scenario value uploaded upon initiating mini-program of WeChat
#mp_platform
Mini-program platform
Text
Platform where the identification app locates
#app_crashed_reason
Abnormal information
Text
Used in the auto-tracking event to record the stack information of APP crash
#zone_offset
Timezone offset
Numerical value
Data’s offset hours when compared with UTC time
#system_language
Default language of the system
Text
The system language of the user device (ISO 639-1, two digits of lower case English letters), namely, zh, en,etc.
#install_time
APP installation time
Time
The time when the user installs the APP, with the value coming from the system
#simulator
Simulator or not
Numerical value
The device is a simulator or not true/false
#ram
Memory (GB)
Text
The remaining memory and total memory of the user device (unit: GB), for example, 1.4/2.4
#disk
Hard disk (GB)
Text
The remaining storage and total storage of the user device (unit: GB), for example, 30/200
#fps
FPS
Numerical value
The transmission frame rate per second of current image of the user device, for example, 60
#background_duration
Background duration
Numerical value
Record the background duration of the APP in the time interval between two start events (unit: second)
#start_reason
Start reason
Text
The property only exists when the app is enabled under the non-launcher mode, for example, deeplink mode or the startActivity of other apps. Sample data: "#start_reason":"{"url":"thinkingdata:\/\/","data":""}"
#ua
Current agent information of the user
Text
Used to identify the operating system and version, CPU type, browser and version, browser rendering engine, browser language, and browser plugin used by the user
#utm
Property of advertisement sources
Text
The advertisement information originates from the user, including advertisement sources, advertisement media, etc.
  • System fields in the event table
Field name Description Property type Instruction
$part_event
Event partition field
Text
Event partition field, obtained from #event_name, the event name
$part_date
Date partition field
Time
Date partition field, obtained from #event_time, the date when the event occurred
#user_id
Unique ID of the user
Numerical value
Unique user identifier in the system
#account_id
Account ID
Text
Account ID, equivalent to the #account_id in the data
#distinct_id
Distinct ID
Text
Distinct ID, equivalent to the #distinct_id in the data
#event_name
Event name
Text
Event name, equivalent to the #event_name field in the data
#event_time
Event time
Time
Event time, equivalent to the #time field in the data
#server_time
Server time
Time
The time when the server receives the data
  • System fields in the user table
Field name Description Property type Instruction
#user_id
Unique ID of the user
Numerical value
Unique user identifier in the system
#account_id
Account ID
Text
Account ID, equivalent to the #account_id in data
#distinct_id
Distinct ID
Text
Distinct ID, equivalent to the #distinct_id in the data
#active_time
Activation time
Time
The time of the #time field when the first piece of data of the user is stored (including the event and user property data)
#reg_time
Register time
Time
The time of the #time field when the first piece of data containing the account ID of the user is stored (including the event and user property data)
#update_time
Update time
Time
The time when the #time field of the last piece of user property data is received
#server_time
Server time
Time
The server time when the last piece of user property data is received