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

    (@cookieyesteam)

    Hi @catwingz,

    Greetings from CookieYes!

    You are on the legacy UI of our plugin, which doesn’t support GCM. So, we recommend you migrate it to the revamped UI by referring to?this thread. After migration, please connect to CookieYes. Then, you can follow this?documentation?to integrate Google Consent Mode v2.

    Thread Starter catwingz

    (@catwingz)

    Thank you, I am working on getting this all set up.

    Thread Starter catwingz

    (@catwingz)

    I am a little confused by Step 4 in this documentation: https://www.cookieyes.com/documentation/google-consent-mode-v2-integration-with-cookieyes-wordpress-plugin/

    In it the third item is the CookieYes script, with the added note: Do not add CookieYes script again from the CookieYes Webapp. The wp_head() function already executes this action.

    Unless I missed something I haven’t installed this script at all, making doing it again highly unlikely. At this point this is what the <head></head> section of the header.php looks like:

    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    	<link rel="profile" >
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<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: "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);
    </script>
        <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-5F2H8XX2');</script>
    <!-- End Google Tag Manager -->
        <?php wp_head(); ?>
    </head>

    Am I missing anything?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @catwingz,

    The order of the scripts is correct on your site, as everything is added above wp_head().

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @catwingz,

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Missing “Support GCM” toggle setting’ is closed to new replies.