1. Knowledge Base
  2. Solution home
  3. Trackier Performance
  4. Campaigns

Macros For Advertiser Tracking & Impression URL

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


TABLE OF CONTENTS


These are the macros that pass information in the advertiser tracking URL.


Macros For Advertiser Tracking URL


Here you will get the list of macros 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 the 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 the 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 to them the data, macro supported which you can use in their Impression URL.


Here you will get the list of macros 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 will share a Tracking URL with you


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 is the advertiser parameter and on the right side of "=", you need to replace it with the mentioned macro of Trackier.


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

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




Advertiser Impression URL


Your advertiser will share their impression URL with you


<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.


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

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



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 their parameter.
  • {click_id} is mandatory in the s2s Tracking method.
  • in s2s we send advertisers our click id and once they get the conversion they will send it back to us via postback keeping the same click id that we had passed them in their tracking link.
  • Impression URL and Tracking URL are two different trackings and are set up in two different ways.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article