Help Center

Get Attributer working with CookieBot

CookieBot is a tool that helps businesses manage cookie consent on their website.

In simple terms, it scans your website to find all the cookies and tracking scripts that are running. Then, it automatically blocks those scripts from running until the visitors gives permission in the cookie consent banner.

How to stop CookieBot from blocking Attributer on your website

CookieBot has a simple method that allows website owners to tell it not to block a specific script from loading on the website.

You simply need to add the following attribute to the core Attributer code you have placed on your website:

data-cookieconsent="ignore"

To do this, simply add it to the main Attributer script that you placed on your website. So if the Attributer code you placed on your website previously looked like this:

<script type="text/javascript" src="https://d1b3llzbo1rqxo.cloudfront.net/attributer.js"></script>

Then you would need to change it so that it looked this like:

<script data-cookieconsent="ignore" type="text/javascript" src="https://d1b3llzbo1rqxo.cloudfront.net/attributer.js"></script>

As you can see above, we have simply added the data-cookieconsent=”ignore” attribute to the script, which tells CookieBot not to block this script from loading.

If you are loading Attributer through Google Tag Manager

If you have Attributer loading on your website through Google Tag Manager, then CookieBot is likely blocking Google Tag Manager from loading until cookie consent is given. This means that, even though you’ve told CookieBot not to block Attributer from loading, it is still being blocked from loading because Google Tag Manager is blocked (and if Google Tag Manager is blocked and Attributer is loading through it, then Attributer cannot load).

The solution in this case is to take Attributer out of Google Tag Manager and load it directly on your website. Depending on what website builder you use, instructions to do this can be found below:

Remember to still keep the data-cookieconsent=”ignore” attribute in the code you deploy directly on your website, as that tells CookieBot not to block the Attributer code from loading.

This article is intended only as technical advice and not as legal advice. We recommend seeking legal advice before deciding whether it is appropriate to run the Attributer code on your website without explicit cookie consent. For more on this, read this article.

Can't find the answer you need? Contact us!

Our team are available to answer any questions you have

Support Team Pics