Cookies/scripts not loading until reloading page
AnsweredHi there,
I have added cookiebot via google tag manager into my site.
My problem is, that after clicking and accepting cookies, the scripts/cookies are not loaded automatically.
You first have to press F5 and reload the page - then it is fine.
My i ask you to test that:
(deleted)
Do you see, that facebook-pixel is not loading until you press F5?
Do you have an idea? What could be the solution for that?
Thank you
Rene
-
Hey Rene,
Could it be that you have manual installed Cookiebot on your website AND via GTM too? If you do both, the script will be loaded twice and that can cause some issues. So please check that the script is only present once.
The GTM implementation guide that we have does not produce this issue - all the scripts that have been marked up are executed immediately when the user clicks OK on the banner (of course executed only if the user has given a consent to that particular category of cookies).
Regards,
Martin -
Hi Martin,
I am sure and just checked it again: There is no cookiebot on our page - it is only in GTM.
Do you have another idea? It seems, that people quite often have that problem... Is your installation-example really coorect or do I need that: https://www.tagmanageritalia.it/how-to-fix-cookiebot-official-guide-and-protect-yourself-from-gdpr/
If possible I would like to use the official cookiebot-installation.
THANK YOU
Rene
-
Hi Rene,
This may be caused by some mis-configuration in GTM. Please double check and follow the steps in the GTM instalation guide:
https://support.cookiebot.com/hc/en-us/articles/360003793854-Google-Tag-Manager-deployment
Please note: If your existing trigger is of the event type "Page View", you need to change it to event type "Window Loaded" since the visitor's consent is not available to GTM before the window has loaded."Kind regards
Please sign in to leave a comment.
Comments
5 comments