Skip to content

Macro

The macro is a placeholder that is used to replace specifc data or variables. A macro looks like {xxx} and is located in the tracking URL on the Mintegral platform. The following are commonly used placeholders for tracking URLs supported by the Mintegral platform:

MacroRequiredDescriptionExamples
{click_id}YesClick id defined by the Mintegral platformmtg0a1b2c3d4e5f6g7h8i9j1x2y
{uuid}YesPromotion id as defined by the Mintegral platformss_game_ios_us_mtg
{offer_name}NoOffer namegame_ios_us_mtg
{adv_offer_id}NoOffer ID246913
{adv_campaign_id}NoCampaign ID76776
{creative_id}NoCreative id1234567890
{creative_name}NoCreative nameapp_icon_512x512
{affiliate_id}RecommendedSub channel id on the Mintegral platform, which is helpful for optimizing sub-channel performance if this id is servedmtg1234567890
{idfa}Yes, in some casesRequired for iOS3E0046F7-8BD4-4F3E-9F91-358B137D2BF0
{idfa_md5}Yes, in some casesIDFA MD5 encryption (32-bit lower case)77d06cb28c1771e8019be4f4fb6e1938
{gaid}Yes, in some casesRequired for Android (not in China)7268ceb0-5411-4004-b7cb-bd1fee4b6277
{gaid_md5}Yes, in some casesGAID MD5 encryption (32-bit lower case)7c687d7812ae6ca319aecea51d0d7750
{imei}Yes, in some casesRequired for Android (in China)869634020728636
{imei_md5}Yes, in some casesIMEI MD5 encryption (32-bit lower case)ed0427f06978ac06d73e2d6f2049aa9d
{android_id}Yes, in some casesRequired for attribution based on Android IDd0d4845ae4495a83
{android_id_md5}Yes, in some casesAndroid ID MD5 encryption (32-bit lower case)1ebf70337adb6df4b70300edc27c24c8
{mac}Yes, in some casesRequired for attribution based on MAC10:2A:B3:D1:52:F4
{mac_md5}Yes, in some casesMAC MD5 encryption (32-bit lower case)d53e994cce18ab87fdd25d155544532f
{oaid}Yes, in some casesAndroid OAID, used to replace IMEI for Android 10 and abovefdcfebbf-5ebb-4958-35fe-cbdf74fd2fb3
{oaid_md5}Yes, in some casesOAID MD5 encryption (32-bit lower case)a27d1dda70b946cdb940ead82f01dd63
{ua}Yes, in some casesAndroid OAID, used to replace IMEI for Android 10 and aboveMozilla/5.0 (Linux;Android 7.0; Mi-4cBuild/NRD90M; wv)AppleWebKit/537.36(KHTML, like Gecko)Version0 Chrome/79.0.3945.116 MobileSafari/537.36Mb2345Browser/12.0.1oem
{os_platform}NoOS platform from UAAndroid
{os_version}NoOS platform from UA7.0
{device_model}NoDevice model from UAMi-4c
{ip}Yes, in some casesRequired for attribution based on IP + UA59.189.187.99