Skip to main content

Traffic Segmentation

1. Segmentation Instructions#

To assist developers in achieving refined monetization, starting from Android V5.4.0 and iOS V5.1.0, TradPlus supports multiple segmentation rules.#

1.1 Data Reporting by TradPlus#

The following data is reported by the TradPlus SDK, and no action is required on developers' part.

CategoryKeyTypeConditionNumber of rulesDescription
appapp versionversionIncluded, excluded1Fill in versionName for Android and version for ios. When including and excluding, you can fill in multiple version numbers, separated by commas.
appApp Installation Timeintranges、>、<1Counting from the first initialization of TradPlus SDK.
appSDK VersionversionIncluded, excluded 、ranges、>、<1TradPlus SDK version, including and excluding, you can fill in multiple version numbers, separated by commas. When > and <, only one can be filled in.
deviceIDFAstringIncluded1When it's not accessable for iOS 14, we can create a segment to categorize these devices based on whether users have authorized IDFA.
deviceDevice IDstringIncluded1You can fill in multiple device IDs on the web side, separated by commas. The device ID can be IDFA, IDFV, GAID, OAID
deviceSystem versionsversionMobile phone system version, when including and excluding, you can fill in multiple system versions, separated by commas. When > or <, only one version is allowed to fill in.
deviceEquipment typesstring(ignoreCase)Included, excluded1You can choose iPhone or iPad. Multiple selections are allowed
deviceequipment manufacturingstring(ignoreCase)Included, excluded1Take Huawei as an example. Multiple selections are allowed
deviceNetwork connection typestringIncluded1Multiple selections are allowed on the web side, and the possible values are: WiFi, 2G, 3G, 4G, 5G

1.2 Data Reporting by Apps#

The following data is reported by developers through the SDK interface based on their needs. If it is not reported, the following rules will not be available in the segments.

CategoryKeyTypeConditionNumber of rulesDescription
Custom user IDuser_idstringIncluded1You can enter multiple IDs on the web side, separated by commas. In addition, TradPlus can provide device-level monetization data (API) based on this user id.
Ageuser_ageintrange 、>、<, =multipleEnter a number (0-99), unit: years
Genderuser_genderstring=1On the web side, only single selection is allowed, with possible values being: male, female; on the SDK side, values that can be: unknown, male, female.
In-game leveluser_levelintrange 、>、<, =1
In-app payment amountuser_iap_amountfloatrange 、>、<, =1
In-app payment currencyuser_iap_currencystring=1Currently supports USD, CNY, EUR. Only single selection is allowed.
In-app payment countuser_iap_countint>、<, =1
UA channelchannelstringIncluded, excluded1The web side supports filling in multiple channel numbers, separated by commas. The numbers need to be reported by developers in the SDK.
UA Sub-channelsub_channelstringIncluded, excluded1The web side supports filling in multiple sub-channel numbers, separated by commas. The numbers need to be passed by developers in the SDK.
Custom user attributescustom_xxxstring/intInteger: range, >, <, =; String: include, excludeup to 5The application passes in custom user attributes, such as customusername, in the form of Key-Value (key is 'custom' + field name). Supports up to 5.
segment tagsegment_tagstringinclude1If the SDK reports segment_tag, the waterfall configuration of the specified segment will be used. When this parameter matches, other parameters will be ignored. Supports up to 1.

2. Segmentation Configurations#

Configurations for each OS#