Test the NextRoll Cookie Consent Banner

Test Your NextRoll Cookie Consent Banner

If you decide to use our NextRoll Cookie Consent Banner, here's how you can test it out:

  1. Open your browser console:
    1. For Chrome: Ctrl+Shift+J (Windows) or Cmd+Option+J (Mac)
  2. Copy and paste: __adroll_consent_banner.Banner.render()
  3. Press enter.

If the banner is already in place, it should appear in your browser window.

How to Know if Your Banner Works

If you’re in Europe, open an incognito window and visit your site. The banner should show up, as we don’t have a consent response from you.

If you are not in Europe, follow the steps to test:

  1. Open your browser console:
    1. For Chrome: Ctrl+Shift+J (Windows) or Cmd+Option+J (Mac)
  2. Copy and paste: __adroll_consent_banner.Banner.render()
  3. Press enter.

If the banner shows up, that means that it is correctly installed and your European visitors should be seeing it.

 

If You Receive an Error

Your pixel can take a few minutes to update once you choose the NextRoll cookie consent banner. Also, you may want to test the banner before you opt in. For both cases, you’ll receive the following error when you go to test:

Uncaught ReferenceError: __adroll_consent_banner is not defined

To test the banner if you see this error:

  1. Open your browser console:
    1. For Chrome: Ctrl+Shift+J(Windows) or Cmd+Option+J(Mac)
  2. Copy and paste: scr = document.createElement('script'); scr.src = 'https://s.adroll.com/j/consent.js'; document.head.appendChild(scr);
  3. Press enter.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Chat with an agent
24/7 Support
Send a support email
24/7 Support