Third-Party Cookie Consent Banner: ConsentManager.net

To show ads to site visitors in the EU, you have to install a cookie consent tool. We’ve made this easy for you with our NextRoll Cookie Consent Tool, but you can also use outside consent tools. If you choose to submit an external consent tool, you’ll need to wait a few days for NextRoll to approve.

While we don’t currently endorse any specific tool, we want to provide guidance on how best to set up these tools to work with our services.

Legal Disclaimer: We can’t tell you exactly what to write or how to present it to your users - it will depend on the vendors and services you work with and the choices you wish to present to users navigating your site. What follows are recommendations that we consider to be appropriate to work with NextRoll. As there aren’t clear regulations around cookie consent tools, these guidelines may change over time to reflect updated best practices. This is not legal advice and you should check with your own internal teams and your lawyers to on your overall cookie consent solution.

Install the ConsentManager.net Cookie Consent Tool

  1. Place the NextRoll Pixel on your site pages.
  2. Go to consentmanger.net
  3. Click Try It For Free and sign up.
  4. In your ConsentManager dashboard, click Vendors/Whitelist from the CMP menu.
  5. Set the whitelisting toggle for NextRoll,Inc (ID 130) to On.
  6. Click Get Code and follow the setup guide.
  7. Make sure that ConsentManager is blocking the NextRoll pixel. The following configuration steps depend on whether the NextRoll pixel is placed directly on the page or via a tag management system.

If the NextRoll Pixel is placed directly on your site:

  1. Adjust the first line of your pixel:
    <script data-cmp-vendor="130" type="text/plain" class="cmplazyload">
    
  2. Remove the following lines:

    if (window.addEventListener) {window.addEventListener('load',_onload, false);}
    else {window.attachEvent('onload', _onload)}
    
  3. Replace them with:
     _onload();

Your pixel should now like this: 

<script data-cmp-vendor="130" type="text/plain" class="cmplazyload">

adroll_adv_id = "YOUR_UNIQUE_ADVERTISER_ID" ;

adroll_pix_id = "YOUR_UNIQUE_PIXEL_ID" ;

 

(function () {

var _onload = function(){

if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return}

if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}

var scr = document.createElement("script");

var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");

scr.setAttribute('async', 'true');

scr.type = "text/javascript";

scr.src = host + "/j/roundtrip.js";

((document.getElementsByTagName('head') || [null])[0] ||

document.getElementsByTagName('script')[0].parentNode).appendChild(scr);

};

_onload();

}());

</script>

 

If the NextRoll pixel is placed using Google Tag Manager:

ContentManager pushes a number of dataLayer variables. Find the complete list here.

  1. In Google Tag Manager (GTM), go to Variables User-Defined Variables and click New.
  2. Click Variable Configuration and select DataLayer Variable as the variable type.
  3. Enter cmpGDPR as the DataLayer Variable name, set Default Value to 1 and Save.
  4. Repeat steps 1 and 2. Enter cmpVendorsConsent as the DataLayer Variable Name (with no default values) and Save.

Use these variables to configure the NextRoll pixel trigger to fire only when NextRoll is given consent as a vendor:

  1. In GTM, go to Triggers and click New .
  2. Click Trigger Configuration and select Custom Event as the trigger type.
  3. Enter cmpEvent as the event name, select the Some Custom Events radio button and add 2 conditions.
  4. From the drop down menus, select cmpVendorsConsent contains ,130, (130 is NextRoll’s vendor ID and it must be preceded and followed by a comma).
  5. Add a new condition and select cmpGDPR equals 1.
  6. Save and Publish.

 

Finally, set up the tag sequencing of your AdRoll pixel tag to fire only after ConsentManager fires:

image1.png

Was this article helpful?