Cookiebot and Google Consent Mode

Follow

Comments

8 comments

  • Avatar
    Vadim Miheev

    Is it compatible with manual Cookie-blocking mode?
    Is there a way to check that the mechanism has started working correctly?

    0
    Comment actions Permalink
  • Avatar
    Vadim Miheev

    Answers for my own questions)

    1. Yes, it works in manual mode.
    2. You can check it through Chrome DevTools - If everything works correctly, then cookies associated with GA will not be created within the website domain until consent to the use of statistical cookies is obtained.
    0
    Comment actions Permalink
  • Avatar
    Gerald

    What is the basis for the Google Consent Mode? The privacy and personalisation settings in my Google account?

    Are you sure that, if analytics_storage='denied', the GDPR "allows" Cookieless pings that will be sent to Google Analytics for basic measurement and modeling purposes?



     

     

    1
    Comment actions Permalink
  • Avatar
    Vadim Miheev

    If this data is not personalized, then why not? 

    0
    Comment actions Permalink
  • Avatar
    Ferenc

    Hey, this article somewhat contradicts the other, because this forgets to mention the important fact that all GA scripts require the new attribute:

    data-cookieconsent="ignore"

    See:

    https://support.cookiebot.com/hc/en-us/articles/360003979074-New-Implement-Google-Analytics-using-Gtag-Global-Site-Tag

    1
    Comment actions Permalink
  • Avatar
    Sebas Reinders

    Hi Brian,

    Thanks for the detailed explanation. However, every time I insert this piece of code above my GTM snippet in WordPress it stops every type of tracking. No single pageview is tracked as soon as I apply this. Even when I accept all cookies in the banner. My google product-related tags (GA, Google Ads, etc.) in GTM are set-up with an "all pages" trigger. Do you know what goes wrong here?

    <!-- Consent Mode -->
    <script data-cookieconsent="ignore"> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('consent', 'default', { 'ad_storage': 'denied', 'analytics_storage': 'denied', 'wait_for_update': 500 }); gtag('set', 'ads_data_redaction', true); </script>
    <!-- End Consent Mode -->

    1
    Comment actions Permalink
  • Avatar
    Olivier Baudoux

    Hello there,

    I have the EXACT same issue than Sebas Reinders.  Tags & cookies behave as expected, but as soon as I add the consent mode script above GTM (Wordpress website), Google Analytics (both UA & GA4, all pages trigger) stops tracking anything.  I'm 100% sure I did exactly what is mentioned in the different tutorials. I tried all possibilities (implementing Cookiebot via GTM or directly in source code, data-cookieconsent parameters, ...), but nothing works...

    1
    Comment actions Permalink
  • Avatar
    Loic

    Hi Olivier Baudoux we had implemented the Consent Mode and Cookiebot when Google released the beta, but one month later (December 2020) this problem appeared, I think it is to be solved on the Google side because we can see that Cookiebot handles the consent mode correctly: the consent status changes well; GA is well triggered but the data are not processed correctly. Moreover, we don't see a loss of total traffic but some sporadic sessions coming back randomly in Google Analytics, so it proves that it's not Cookiebot's fault (from my point of view).

    When I contacted the Google technical team, they confirmed that Consent Mode had been implemented correctly, without admitting that there was a problem on their side. I think that as the tool is in beta it is still very unstable. Since that day and until today (April 2021) the consent mode still doesn't allow to get data correctly in Google Analytics, that is to say that only a few sessions go up even if thousands of users have accepted/refused the cookies.

    On our side we have removed the Google Consent Mode on all the sites we manage and we try from time to time to re-implement it to see if the problem has been resolved. I would like to have an opinion from a Cookiebot technician but as they only stop at their part (Cookiebot management part) and don't go as far as testing the data feedback in Google Analytics, it will be impossible for them to tell us where the problem comes from : Google vs Cookiebot

    1
    Comment actions Permalink

Please sign in to leave a comment.