What are Macros aka Tracking Tokens

Marcos or tracking tokens are a form of HTTP protocol on a URL that allows you to track everything from the click id to the name of the device that clicked on your ad. By adding them to your URL it allows you to track that specific attribute.  

Before we talk about macros you must understand parameters and values. A parameter is a dimension or label for what you want to track like a country or source. Then it is defined by the value following. The macro holds the place of the value but then dynamically changes to reflect the right value for the parameter.

Let's look at an example.  If you added the following macros: {click_id} and {country} into your URL it would look similar to what is shown below.


When someone clicks on your ad, the macros would automatically adjust to provide the following information about that attribute.  If that person that clicks had a click id of 100 and was in the united states the macros would change to look like this.


These values will be what is tracked when you send it to something like a tracker.

How to implement them

You can add macros to your Tracking URL in the create campaigns page by simply clicking on the macros you want to track.  Following the example we used about, it would look like this.
*You must include a parameter with a = before your *

It's Important to align the macros you are tracking in Pushground with those of your tracker to allow you to properly track your campaigns. Most trackers are already integrated with Pushground and you might just have to add our template, but it is always smart to double-check that the macros you are recording on pushground are also be recorded on your tracker.

Available macros

All the macros or tracking tokens available from Pushground with descriptions.

Pushground Click ID, ex. 123456

Sub Source of the supply: 88_unicorn

The ID of the supply, ex. 88

The CPC bid you paid for the click. ex. 0.015

Your campaign ID from the ad. ex. 123456

The creative ID from the ad that was clicked, ex. 123456

The name of the device that clicked, ex samsung_galaxy_s9

The 2 digit country code from where the click came from. ex us

The city from where the click came from, ex. new_york

The set language of the device, ex. Spanish

The bid CPM you paid for the click, ex. 0.600

The ad format type, ex. push

{user age}            
The time since the user subscribed to the push source, ex. 12


The traffic type that was clicked, ex. Mainstream or Adult

{source}    (Deprecated)
The source ID from the traffic supply. ex. 1234

Did this answer your question?