• Resolved clickcloud

    (@clickcloud)


    Hello,
    I read in one thread that for the free version you suggest using version 2 of the GCM implementation with your plugin, i.e. pasting this code in the head.

    window.dataLayer = window.dataLayer || [];
    function gtag() {
    dataLayer.push(arguments);
    }
    gtag(“consent”, “default”, {
    ad_storage: “denied”,
    ad_user_data: “denied”,
    ad_personalization: “denied”,
    analytics_storage: “denied”,
    functionality_storage: “denied”,
    personalization_storage: “denied”,
    security_storage: “granted”,
    wait_for_update: 2000,
    });
    gtag(“set”, “ads_data_redaction”, true);
    gtag(“set”, “url_passthrough”, true);

    Does this mean that I permanently set no consent for most options for GCM with this? Because if I paste it before the plugin code, I understand that the above is sent to GTM and further user choices in the consent popup have no influence on it? Does user choices in the free plugin consent popup with this implementation trigger particular variables such as “functionality_storage”, “functionality_storage”, depending on what was set by the user?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @clickcloud,

    Greetings from CookieYes!

    Please make sure that you are connected to CookieYes. And by implementing GCM using method 2, the above custom script will ensure that the default consent is denied for all those categories. And this will get updated once the user interacts with the banner.

    Ricci

    (@rmintellek)

    Google’s consent mode only relates to Ads measurement and Ads personalization. So those need to be denied by default. You can alter the other variables to “granted”.

    This is how I have it implemented @clickcloud:

    <!– CookieYes GA Consent Mode Script –>

    <script>

    window.dataLayer = window.dataLayer || [];

    function gtag() {

    dataLayer.push(arguments);

    }

    gtag(“consent”, “default”, {
    ad_storage: “denied”,
    ad_user_data: “denied”,
    ad_personalization: “denied”,
    analytics_storage: “granted”,
    functionality_storage: “granted”,
    personalization_storage: “denied”,
    security_storage: “granted”,
    wait_for_update: 2000,
    });

    gtag(“set”, “ads_data_redaction”, true);
    gtag(“set”, “url_passthrough”, true);

    </script>

    <!– End CookieYes GA Consent Mode Script –>

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @clickcloud,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Consent mode on free version’ is closed to new replies.