Here you will find a complete list of Macro that you can use to integrate with Advertiser. These macros would be added in the Tracking Link share by the advertiser while creating a campaign.


These are the macro that passes information in the advertiser tracking URL.



Macros For Advertiser Tracking URL


Here you will get the list of macro Trackier support for Advertiser s2s Integration.


MacroDescriptionMacroDescription
Most Used Macro

{click_id}

 Unique Click Id to do s2s Postback

{publisher_id}To pass publisher id
{gaid}Android ID{source}Sub Publisher ID recording from Publisher end.
{idfa}IOS ID{app_name}App name or Bundle name
{camp_id}Small campaign ID
{p1} - {p10}
Open Parameter getting value from the publisher's end.
KPI Related Macro
{os}
Operating System{click_time}Timestamp for the Click Event
{region}State/City of the Click generated IP{country_id}2 Digit Country ID
{ip}Click IP of User{creative_name}Get the creative name in tracking link and pass it to your advertiser
{isp}

Internet Service Provider{click_datetime}
Date Time for the Click Event (Y-m-d H:i:s) in account timezone

{url_id}Numeric ID of the landing page used. Note: In the case of the default landing page the macro will be empty.{android_id}Android Device ID Macro
{referer}Referring Domain for the Click Event{user_agent}The browser on which the Click Event occurred
{tdomain}Tracking domain on which the Campaign Runs
Campaign, Publisher & Advertiser related Information Macro
{campaign_id}
Long Hashed Id of Campaign{campaign_title}Title of Campaign
{publisher_id}ID of Publisher who is running the Campaign{aff_name}, {aff_username}Name/Username of Publisher running the Campaign
{aff_id}Long Publisher Id (24 Characters){adv_id}Long Advertiser ID
{advertiser_id}Short advertiser ID{advertiser_name}Advertiser Name
Other Useful Macro
{random_100}Get a random number between 0 to 100. You can use this to generate multiple publisher ids like: pub_{random_100} in campaign URL{random6}Get a random number between 100000 to 999999
{random}
7-15 Digit alpha-numeric id



Macros For Advertiser Impression URL


If your advertiser wants Impression data you can set up impression tracking and pass back them the data, macro supported which you can use in their Impression URL

Here you will get the list of macro Trackier support for Advertiser s2s Integration.


MacroDescriptionMacroDescription
Most Used Macro

{imp_id}

Impression ID

{publisher_id}To pass publisher id
{gaid}Android ID{source}Sub Publisher ID recording from Publisher end.
{idfa}IOS ID{app_name}App name or Bundle name
{camp_id}Small campaign ID
{p1} - {p10}
Open Parameter getting value from the publisher's end.


Example



Advertiser Tracking URL


Your advertiser share you Tracking URL 


https://trk.domain.com/tdj4r9/click?aff_sub=YOUR_CLICK_ID&aff_sub2=YOUR_PUB_AND_SUB_PUB_ID 

So in this aff_sub, aff_sub2 are the advertiser parameter and on the right side of "=", you need to replace it with the mentioned macro of Trackier.



https://trk.domain.com/tdj4r9/click?aff_sub={click_id}&aff_sub2={pub_id}_{source}

So After Adding Trackier's Macro in the URL, it will look like this



Advertiser Impression URL


Your advertiser shares with you their impression URL 


<img src="https://trk.domain.com/22csc234r2qx/impression?impression_id=YOUR_IMPRESSION_MACRO

So in this impression_id is the advertiser parameter and on the right side of "=", you need to replace it with the mentioned macro of Trackier.


<img src="https://trk.domain.com/22csc234r2qx/impression?impression_id={imp_id}

So After Adding Trackier's Macro in the URL, it will look like this


Tip

  • Advertiser Parameter= {Trackier_Macro}
  • Your Advertiser will Let you know in which parameter they need what value so confirm with them and use relevant macro corresponding to there parameter.
  • {click_id} is mandatory in the s2s Tracking method.
  • in s2s we send Advertiser our click id and once they get the conversion they will send back to us via postback keeping same click id that we had passed them in there tracking link.
  • Impression URL and Tracking URL are two different tracking and set up in different ways.