Cookies/scripts not loading until reloading page

Answered

Comments

5 comments

  • Avatar
    Martin Iv. – vConnect

    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

    0
    Comment actions Permalink
  • Avatar
    Rene

    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

     

    0
    Comment actions Permalink
  • Avatar
    Martin Iv. – vConnect

    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

    0
    Comment actions Permalink
  • Avatar
    Rene

    Dude... i did that - several times :-(

    0
    Comment actions Permalink
  • Avatar
    Rene

    Thank you Martin for your nice help, after sending screenshots via email.

    Problem is solved by adding that to cookiebot-tag in GTM:

     

    function CookiebotCallback_OnAccept() {                                 

      if (Cookiebot.changed)

      {

         document.location.reload();

      }

    }

     

    best wishes and thanks again

    Rene

    0
    Comment actions Permalink

Please sign in to leave a comment.