Ads exposure tracking
Last updated
Was this helpful?
Last updated
Was this helpful?
You can track the exposition of users to the different kind of Ads format that exist today:
Display Ads: All Ads that are either static image/animations or HTML5 animated Ads
Video Ads: All Video Ads that the User can see through a marketing campaign
All Ads tracking is done using Pixels and Click Tracking URLs.
There are two predefined that should be tracked during the exposition of a user to an Ad :
$ad_view
Pixel
The 'view/impression' of the Display Ad to the User
$ad_click
Click Tracking URL
The 'click' of the Ad by the User
Use the following URL in your tracking pixel to send an $ad_view
event to the platform.
$ev
String
The event name. $ad_view for Display Ad impression tracking
$dat_token
String
The token (not the ID) of the datamart in the mediarithmics platform.
$catn
String
Campaign technical name
$scatn
String
Sub-campaign technical name
$crtn
String
Creative technical name
$cb
String
The cache buster parameter. It should contain a random string. optional
$cuid
String
$uaid
String
$email_hash
String
$comp_token
String
Compartment token (not the ID)
$uids
JSON as string (Optional)
gdpr
Number
TCF v2.2 parameter to indicate if gdpr applies or not (values: 1 or 0)
gdpr_consent
String
TCF v2.2 parameter containing the encoded consent string
any custom property name
Any Type
Any custom property. optional
Use the following click-tracking URL to send an $ad_click
event to the platform.
$ev
String
The event name. $ad_click for Display Ad click tracking
$dat_token
String
The id of the audience datamart in the mediarithmics platform.
$redirect
String
The redirect url. This string should URL Encoded. (RFC 3986)
$catn
String
Campaign technical name
$scatn
String
Sub-campaign technical name
$crtn
String
Creative technical name
$cb
String
The cache buster parameter. It should contain a random string. optional
$cuid
String
$email_hash
String
$comp_token
String
Compartment token (not the ID)
$uids
JSON as string (Optional)
gdpr
Number
TCF v2.2 parameter to indicate if gdpr applies or not (values: 1 or 0)
gdpr_consent
String
TCF v2.2 parameter containing the encoded consent string
any custom property name
Any Type
Any custom property. optional
You can use the following macros as a minimum configuration for tracking on DV 360 (ex-Doubleclick Bid Manager):
You can use the following macros as a minimum configuration for tracking on Campaign Manager 360 (ex-Doubleclick Campaign Manager):
You can use the following macros as a minimum configuration for tracking on Ad Manager:
You can use the following macros as a minimum configuration for tracking on Xandr:
Basic video ad tracking can be achieved by integrating the display ad pixel (with $ad_view
events) and the click-tracking URL (with $ad_click
events) into your video ad format.
For more advanced capabilities, a specific integration can be setup based on the visit pixel (with custom completion events) and an Activity Analyzer. Please advise with your Account Representatives during the design phase.
The following is true for all types of pixel-based tracking (events, ads, email, conversions, ...) which use the events.mediarithmics.com/v1/touches/pixel
API endpoint
You can pass one or more user identifiers when using the $uids
field.
Don't forget to correctly encode the URL
$tpe
Constant String
AC
$ctok
String
The token of the compartment
$acid
String
The user account id of the user
$tpe
Constant String
EM
$eh
String
The email hash
$e
String (Optional)
The "raw" email
$tpe
Constant String
AG
$agid
String
Use the registry token, not the id, when formatting the user agent id.
Eg: dev:<registry_token>:<value>
User account of the user
Mobile identifier of the user to identify the
Email Hash of the user
The list of of the user.
User account ID of the user
Email Hash of the user
The list of of the user.
More info on DV360 macros available here:
More info on Google Campaign Manager 360 macros can be found here:
And for TCF integration:
More info on Google Ad Manager macros can be found here:
More info on Xandr supported macros can be found here:
The