Hi @marcelvanetten
It seems that Cookiebot is rendered twice on your website.
Inspecting your source code, we see the following tags:
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="4f9ef948-6bfb-4d2f-9cc3-d0ffead424a8" data-culture="NL" type="text/javascript" async=""></script>
and
<script type="text/javascript" id="Cookiebot" src="https://consent.cookiebot.com/uc.js?cbid=4f9ef948-6bfb-4d2f-9cc3-d0ffead424a8"></script>
The Cookiebot WP plugin is inserting the first one in the <head> section. Do you know where the second one is coming from? Did you perhaps insert it manually in your template?
-
This reply was modified 7 years, 7 months ago by
cookiebot.
Thanks a lot for the fast responce!
I do not recal placing the code manually and I also see only one cookiebar tag on rule 128 in the HTML. On which rule did you find the second tag?
Thanks in advance.
@marcelvanetten
It is dynamically added to the <body>, so it’s only visible if you inspect with Chrome Developer tools.
See this image:
http://prntscr.com/kqrbh6
In the Network tab we can see that it’s coming from GTM:
http://prntscr.com/kqrcbc
If you want to use Cookiebot with GTM, you can disable the banner (uc.js) from being displayed by the plugin (there is a checkbox for it). This way you will still be able to use the declaration shortcode and prior consent addons.
-
This reply was modified 7 years, 7 months ago by
cookiebot.
-
This reply was modified 7 years, 7 months ago by
cookiebot.
-
This reply was modified 7 years, 7 months ago by
cookiebot.
I see, thanks. This was indeed generated through GTM. I used your manual for GTM implementation. I now selected the ‘hide cookie popup’ setting in your plugin so one of the tags is removed. But it is still not working unfortunately. Can you see what’s going wrong here?
Maybe good to add: the popup did work a while ago, even without selecting the ‘hide cookie popup’ option.
@marcelvanetten
Cookiebot stores a cookie called CookieConsent, which remembers your consent state. This cookie is in your browser for up to 12 months. You can do either of the following, to see the banner again:
1. Delete the CookieConsent cookie from your browser
http://prntscr.com/kqri78
2. Open your website in Incognito mode
Let us know if it works 🙂
-
This reply was modified 7 years, 7 months ago by
cookiebot.
Yes, I tried using firefox private mode before, but apperantly it still uses some cookies. Once I deleted the cookiecontent cookie it worked great.
Thanks for your fast support, this is really outstanding!
So you can indeed verify it’s now working as it should right?
@marcelvanetten
We have verified and the banner is popping up as it should.
The only thing you would want to investigate, is if you have configured prior consent on Google Analytics (GA) correctly. It seems that some GA cookies are being set before consent is given.
Our GTM guide has a detailed explanation on how to do so:
https://support.cookiebot.com/hc/en-us/articles/360003793854-Google-Tag-Manager-deployment
If you need further assistance, we are here, and do not hesitate to review the plugin 🙂
-
This reply was modified 7 years, 7 months ago by
cookiebot.