Firefox/IE11 cookiebot 'undefined' error
Please help us out with an issue we got specifically on Firefox and IE11.
We're trying to check on page load whether cookiebot will display the popup. Our js code looks like this:
if (Cookiebot.consented) {
console.log('Cookie consented');
floatingBarInit();
}
On Firefox and IE we get an 'undefined' error.
Our website is https://www.optimove.com/
0
-
Hi Ron,
We found out what may be causing the problem:
It is the Google Tag Manager script that is not loading and as a result the Cookiebot “uc.js” is not being loaded as well.
You get an 'undefined' error, because there is some kind of a blocker plugin (such as “uBlock” for Firefox) on your browser, which does not allow the scripts to load.Regards,
Elina0
Please sign in to leave a comment.
Comments
1 comment