Skip to main content
All CollectionsIntegration with...
Link tracking macros at Traforama | Creative performance analysis
Link tracking macros at Traforama | Creative performance analysis

In this article, you'll learn what is macro and how to use it for URL tracking. We'll also explain how to set up this configuration properly

Updated over 2 years ago

__________________________________________________________________


Tracking macros are the parameters that can be added to your Target URL for an advanced understanding of your creative's performance and accurate analytics.

In most cases, a macro is just a placeholder that will be replaced with associated values as soon as someone clicks your link.

The use of macros allows you to gain more understanding of each click brought by your ad.

__________________________________________________________________




Macros available at Traforama

Let's look at the list of macros that are supported at Traforama.

%REF% - Full page URL where ads were shown.

%KW% - Keywords from the website page.

%REFDOMAIN% - Top domain where ads were shown.

%SPOTID% - ID of the spot where your ad was displayed.

%ID% - Adspyglass Click ID of the visitor session.*

%NODEID% - ID of a server node that processed the request.*

%AUCTIONPRICE% - CPM paid for the particular ad

%CAMPAIGNID% - Adspyglass Campaign ID

%CREATIVEID% - Adspyglass Creative ID
%IP% - IP of the website visitor
%UA% - User-agent (device, operation system, and browser) of the website visitor

__________________________________________________________________

An example of a response got from using macro-tracking

Now let's describe the example of a configuration of your macros.

For instance, let's take this link:

https://www.mysite.com/?currentURL=%REF%&source=%SPOTID%&cmp=%CAMPAIGNID%&creo=%CREATIVEID%&cost=%AUCTIONPRICE%&ip=%IP%&ua=%UA%

Imagine that someone has clicked on your link.

__________________________________________________________________




What information we'll get if we use these macros?

currentURL = example.com
source = 123321
cmp = 456654
creo = 789987
cost = 1.01
ip = 109.129.19.144
ua = Mozilla/5.0 (Linux; Android 10; SH-51A Build/SC045; ja-jp) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36 Puffin/9.0.0.50263AP

And, let's explain what it all means:

  • currentURL = example.com - It is a domain where the clicked ad was shown.

  • source = 123321 - It is the ID of a particular spot where your ad has been displaying.

  • cmp = 456654 This parameter is needed to indicate the ID of your Traforama advertising campaign.

  • creo = 789987 And this parameter also needed for your internal markup. It allows you to track the specific creative of the clicked ad.

  • cost = 1.01 And from here, you'll find out what the actual bid was when the ad was displayed.

__________________________________________________________________

Setting up macros via Traforama Advertiser Account

1. To access your macros' settings, you need to click "Edit" near the creative you want to modify.

2. Just after the Creative Name field, you can find the "Link URL" supplemented with already known options.

Just type your updated Link URL using macros you need to use.


__________________________________________________________________



Please do not hesitate to contact our support team via Live chat or email support@traforama.com

__________________________________________________________________

Did this answer your question?