Recommendation to move from manual to automatic, how do you do it with Google Tag Manager (|GTM)

Comments

3 comments

  • Hi Dan,

    In case that you have already implemented Google Tag Manager on your Wix website, all you need to do is to configure Cookiebot to work with GTM. If not please follow this guide, how to add GTM to Wix:
    https://support.wix.com/en/article/adding-your-google-tag-manager-account-id-to-your-wix-site

    In order to implement automatic cookie blocking mode with GTM, you should make sure that the Cookiebot script is not executed by Google Tag Manager. So either remove the Cookie Consent tag or it's trigger. 
    Then follow this steps:

    1. Add GTM as the very first script to load on your website's head tag.
    2. Mark the GTM script tag with: data-cookieconsent="ignore" (this will ensure that Google Tag manager will always be allowed load)
    3. Insert the Cookiebot script with automatic cookie blocking immediately after Google Tag Manager script.

    Then in your Google Tag Manager, to control your tags, implement a trigger for each of the three categories. You could do that by selecting Triggers from the menu, then click New and choose Custom Event, under event name for each of the categories, enter the corresponding value:
    preferences - cookies_consent_preferences
    statistics - cookies_consent_statistics
    marketing - cookies_consent_marketing

    At the end make sure that all custom events are checked under This trigger fires on 
    You could find more information following this link: https://support.cookiebot.com/hc/en-us/articles/360009192739-Google-Tag-Manager-and-Automatic-cookie-blocking

    Regards,
    Spas

    0
    Comment actions Permalink
  • Avatar
    Dan Lambourne

    As far as I can tell Wix doesn't let you change the order of loading of its integrations, nor be able to add the data-cookieconsent="ignore" tag.  Everything appears to be added automatically.

    0
    Comment actions Permalink
  • Avatar
    sanjana

    A Relay Tester is someone who tests or modifies developmental and operational electrical machinery. This high-demand professional also handles electrical control equipment and circuitry in industrial or commercial settings. They generally work under the direction of engineers or technologists.

    -1
    Comment actions Permalink

Please sign in to leave a comment.