Impression Tracking
Legal Notice
The following tracking script sets cookies into the users device. It tracks data which may be used for marketing optimization, content optimization or user segmentation. In some legislations the user needs to make an explicit consent before this code can be legally executed on his or her device.
As we only act as a data processor, you are responsible for obtaining consent in accordance with applicable legislation. If our tracking script gets activated and you have not complied with the applicable rules in obtaining user consent, you may be at risk of sanctions for which we are not responsible.
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:
The pixel url can look like this:
The 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_consent
will be missing and GDPR is applicable for the same event, such event will not be tracked.
If
gdpr
=0 or thegdpr
parameter 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_consent
and 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.
As we only act as a data processor, you are responsible for setting up the Roivenue Measurement in line with applicable legislation in your country.
Last updated
Was this helpful?