Macros can be used in your click URLs to pass data into your own analytics, e.g. Google Analytics. When using for the first time, please check with your account manager that you have set them up correctly.

 

Data Code
Campaign Code :campaign_code
Campaign ID :campaign_id
Campaign Name :campaign_name
Click id (a string) :click_id
Current time (in the form of a timestamp) [CACHEBUSTER] or [timestamp]
Device Type (computer / mobile / tablet) :device_type
Email UUID :email_uuid
Publisher Id (eg 54, 124) :pub_id
Publisher Name (eg reuters, msn) :pub_name
Publisher domain :pub_domain
Service Adgroup Variant id :ad_variant_id

 

Using Macros in URL Parameters

Google Analytics 

URL parameters are made of a key and a value separated by an equals sign (=) and joined by an ampersand (&). The first parameter always comes after a question mark in a URL.

“https://www.dianomi.com/”

becomes:

“https://www.dianomi.com/?utm_source=dianomi&utm_medium=cpc&utm_campaign=acquisition&utm_content=:pub_name”

source = dianomi

medium = cpc

campaign = acquisition

content = publisher name (where the click originated – eg Nasdaq, ASX, SGX, Reuters)

The macro must be exactly as shown above (so take care if using the Google Analytics URL builder) and can be used as well as our conversion pixel or S2S tracking.

 

Adobe Analytics

https://www.dianomi.com/january/campaign/demo.html?cmp=DIANOMI-JANUARY-CAMPAIGN-DEMO-:pub_name:device_type

 

Google Campaign Manager 360 (previously Doubleclick Campaign Manager (DCM)) users

If you are using DCM tags then it is possible to append the destination URL (in bold below) but you must check your account to ensure that the user will be re-directed to the appended URL. (Xs have been used to anonymise this example):

https://ad.doubleclick.net/ddm/trackclk/Nxxxx.160898.DIANOMI/B23859244.271148504;dc_trk_aid=xxxxxx;dc_trk_cid=xxxxxx;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?https://www.xxxxxx.com/about-asia/?utm_source=Dianomi&utm_medium=xxxxxx&utm_campaign=xxxxxx&utm_content=xxxxxx&utm_term=:pub_name

 

Hosted HTML from Google Campaign Manager 360 in Display ads

Dianomi Click URL Macros will not work if you are using HTML tags from Google Campaign Manager 360 (formerly DCM) for our Display ads.

 

More

Ad text macros – create dynamic ad text

Device Bidding

Set up Tracking for Google Analytics

Publisher Bidding