Impression Tracking
This is a generic tutorial for setting up impression tracking. We will be adding pages for each DSP with more specific instructions.
Depending on the ad platform, it is needed to either fill in a url of a tracking pixel that will be included with a creative or create a HTML snippet similar to this:
<img src="{{pixel trackin url}}" width="1" height="1" />The pixel url can look like this:
https://tr.roivenue.com/i/?pid=a2880cf5-1535-496c-a78a-5f18e2f89961
&utm_source=groundtruth&utm_medium=display&utm_campaign=GroundTruth_Campaign_June&default_consent=1The response of our service is a transparent 1x1 PNG image.
How to build the URL
This section describes what parameters should be included in the URL.
Tracking Consent
Before setting up a tracking cookie and saving any events, our service needs to decide if the user has given consent that he can be tracked.
The consent is passed through gdpr and gdpr_consent parameters. gdpr parameter indicates if GDPR legislation applies for in user's location, gdpr_consent parameter shall contain as a TC string.
You should set
gdpr=1 if the GDPR legislation applies in user's location. It should be 0 otherwise.If you have
gdpr=1, you need to provide valid TC String in the gdpr_consent parameter. Ifgdpr_consentwill be missing and GDPR is applicable for the same event, such event will not be tracked.
If
gdpr=0 or thegdprparameter is missing, you need to provide parameterdefault_consent. It should equal to 1 if you have the consent to track the user and 0 othewise.

The flow-chart above describes how Roivenue decides if an impression will be tracked or not.
If GDPR applies and gdpr_consent parameter is provided, Roivenue tries to read the TC string from
gdpr_consentand then checks if the TC string is valid.
If GDPR applies and valid gdpr_consent parameter is not provided, Roivenue will not track the impression.
If GDPR does not apply and default_consent=1, Roivenue will track the impression.
If GDPR does not apply and default_consent=0. Roivenue will not track the impression.
Last updated
Was this helpful?