Supported Tracking Macros

Here is the list of available macros:

[RANDOM_NUMBER] - ensures that a fresh call is made to the ad server every time the code is executed

[UNENCODED_CLICK_REDIRECT]  - inserts an unencoded click-redirect URL into your creative markup

[CREATIVE_CUSTOM_DATA] - passes custom data specified in a corresponding field in the UI (Ad Setup)

[STRATEGY_CUSTOM_DATA] - passes custom data specified in a corresponding field in the UI (Ad Set Setup)

[CAMPAIGN_CUSTOM_DATA] - passes custom data specified in a corresponding field in the UI (Campaign Setup)

[ENCODED_CLICK_REDIRECT] - inserts an encoded click-redirect URL into your creative markup

[DBL-ENCODED_CLICK_REDIRECT] - inserts a double encoded click-redirect URL into your creative markup

[MACMD5] - returns a unique MD5 hash

[USER_ID] - returns a unique ID of the visitor

[IFA] - returns a device IFA/IDFA

[USERAGENT] - returns a browser name

[IP] - returns a user’s IP

[OS] - returns an OS name and version

[OS_ONLY] - returns an OS name

[OS_VER] - returns an OS version

[LAT] - returns latitude, where negative is south

[LON] - returns longitude, where negative is north

[REQUEST_ID] - returns a bid request ID

[BID_ID] - returns a unique bid ID

[IMPRESSION_ID] - returns a unique impression ID

[CLICK_ID] - returns a unique click ID

[SITE_ID] - returns a unique website ID

[SOURCE_ID] - returns a unique source ID

[PUBLISHER_ID] - returns a unique ID of the publisher that can contain several websites

[PUB_CONTENT_CATEGORY] - returns a publisher site category (IAB)

[SSP_ID] - returns a unique SSP ID

[HTTP_REFERER] - returns HTTP referer of the visitor

[PAGE_URL] -- returns a page URL

[DOMAIN] - returns the domain name

[PROTOCOL] - returns used protocol (e.g. http, https)

[PLACEMENT_ID] - returns a unique ad placement ID

[COUNTRY_CODE] - returns a unique country code

[COUNTRY] - returns a country name

[REGION] - returns a region name

[CITY] - returns a city name

[PLACE] - returns a place name

[APP_NAME] - returns an application name

[APP_BUNDLE] - returns a unique platform specific application identifier

[APP_VERSION] - returns an application version

[APP_STOREURL] - returns an application store URL

[ORGANIZATION_NAME] - returns an organization name

[AGENCY_NAME] - returns an agency name

[ADVERTISER_NAME] - returns an advertiser name

[CAMPAIGN_NAME] - returns a campaign name

[STRATEGY_NAME] - returns a strategy name

[DNT] - returns a do-not-track status (a proposed HTTP header, to disable tracking by web services)

[DATETIME] - returns date and time

[TIMESTAMP] - returns a unique timestamp

[CREATIVE_NAME] - returns a creative name

[ORGANIZATION_ID] - returns an organization ID

[AGENCY_ID] - returns an agency ID

[ADVERTISER_ID] - returns an advertiser ID

[CAMPAIGN_ID] - returns a unique campaign ID in our system

[STRATEGY_ID] - returns a strategy ID

[CREATIVE_ID] - returns a unique creative ID in our system

[WIDTH] - returns a banner width

[HEIGHT] - returns a banner height

[VIDEO_DURATION] - returns a video duration

[KEYWORD] - returns a unique keyword

[BID_PRICE] - returns winning price of the impression

[APP_STOREURL] - returns the store URL of the app

There are several types of display tags you can run in our platform. Below are the examples of how each of them looks like:

  1. JS tag:
    <script src=" https://cdn.yourdomain.com/banner.js?click-redirect=[ENCODED_CLICK_REDIRECT]&domain=[DOMAIN]"></script>
  2. Iframe tag:

    <iframe src=" https://cdn.yourdomain.com/banner.js?click-redirect=[ENCODED_CLICK_REDIRECT]&domain=[DOMAIN]"></iframe>
  3. HTML tag:

    <html> 
    <head> 
    <title> 
    </title> 
    </head> 
    <body> 
    <img src=" https://cdn.yourdomain.com/banner.jpg?click-redirect=[ENCODED_CLICK_REDIRECT]&domain=[DOMAIN]"/>
    </body> 
    </html>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.