All Collections
All about Campaigns
Macros For Advertiser Tracking and Impression URL
Macros For Advertiser Tracking and Impression URL

Macros For Advertiser Tracking & Impression URL

Updated over a week ago

At a Glance: This article provides insights on how to place macros for advertiser tracking and impression URLs.

The URL that your advertiser shared with you will be used to create a campaign on Trackier. However, to effectively track clicks and provide the advertiser with click information, you must include the relevant macros in the URL.

Below are the macros that pass information into the advertiser tracking URL.

Macros For Advertiser Tracking URL

Here you will find the list of macros Trackier supports for advertiser S2S integration.

Macro

Description

Macro

Description

Most Used Macro

{click_id}

To send a unique click ID to the advertiser on each click.

{publisher_id}

To send the publisher ID

{gaid}

This is the Google Advertising ID macro

{source}

Sub-publisher ID received from the publisher's end

{idfa}

Apple Identifier For Advertising

{app_name}

App name or Bundle name

{camp_id}

Small campaign ID

{p2} - {p10}

Open parameters in which some information is received from the publisher's end.

KPI-related macro

{os}

Operating System

{click_time}

Timestamp for the Click Event

{region}

State or 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}

The numerical ID of the landing page used.

Note: In the case of the default landing page, the value in the macro will be empty.

{android_id}

Android Device ID Macro

{referer}

Domain of the

{user_agent}

The browser on which the Click Event occurred

{tdomain}

Tracking domain on which the Campaign Runs

Campaign, Publisher and 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 or 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 and 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 by using the steps explained in this article.

Here you will find the list of macros Trackier supports for advertiser S2S integration for impressions.

Macro

Description

Macro

Description

Most Used Macro

{imp_id}

Impression ID

{publisher_id}

To pass publisher ID

{gaid}

Android ID

{source}

Sub-publisher ID recording from the publisher end.

{idfa}

Apple identifier for Advertising

{app_name}

App name or Bundle name

{camp_id}

The short ID of the campaign

{p1} - {p10}

Open parameters get value from the publisher's end.

Advertiser Tracking URL

Here is a sample of how the advertiser will give you a tracking URL:

In this, the aff_sub and aff_sub2 are the advertiser parameters, and on the right side of "=", you need to replace them with the relevant Trackier macros.

After adding Trackier's Macro to 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

Here is a sample of how the advertiser will give you an impression URL:

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

So after adding Trackier's macro to the URL, it will look like this:

Tip:

  • Advertiser Parameter= {Trackier_Macro}

  • Your advertiser will let you know for which parameter they need what value, so confirm with them and use the relevant macro corresponding to their parameter.

  • {click_id} is a mandatory macro 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.



We're thrilled to have put together a top-notch team of qualified experts who are available to handle any of your concerns and respond to any inquiries you may have. You can contact us at any time by sending an email to support@trackier.com or using the in-platform chat feature.

Did this answer your question?