MACROS / URL PARAMETERS
Macros (also known as URL parameters) can help you understand the effectiveness of your ads. They work in parallel with web analytics tools (such as Google Analytics).
Find below an example of an URL containing macros (in bold):
https://www.teads.com/?utm_source=Teads&utm_medium=display&utm_campaign=TeadsMarketing
AVAILABLE MACROS
Macros are available for branding and traffic acquisition campaigns and supported for:
clickthrough
third party tracking
TO USE MACROS | Description |
[WNAME] | Domain of the publisher where the ad was shown. |
[AD_NAME] | Name of the campaign that served the ad |
[AD_ID] | ID of the campaign that served the ad. |
[CID] | Teads ID of the creative that served the ad |
[GID] | ID of the line item that served the ad |
[PID] | ID of the placement where your ad was served |
[DEVICE] | Platform where the ad was served.It will return Desktop, mobile, tablet or SmartTV |
[AUCTID] | A Teads unique identifier |
[TIMESTAMP] | UNIX timestamp of the selected event (click, impression, …) |
HOW TO: ADDING MACROS
URL parameters can be added on the click-through or on the tracking, here are our recommendations and best practices on how to use them on the clickthrough. Same logic applies for third party tracking:
1. Start by entering the URL where you want users to be redirected to. When your URL is complete, the +MACROS button will become available.
e.g: http://teads.com
2. Click on the “+MACROS” button and select all the URL parameters you want to add
eg.: by adding Campaign ID macro: https://teads.com?utm_source=teads&utm_medium=referral&campaign_id=[AD_ID]
3. When adding the macros, you will see that Teads automatically:
Recommend a structure (ex: campaign_id=[AD_ID])
Append automatically utm_source=teads&utm_medium=referral
4. Once you have added all the macros you are interested in, you can edit the structure to match it to your analytics needs.
Additional notes:
Do not alter what is between brackets (the macros). Doing it will prevent the macro from working.