• Resolved bjpbkk

    (@bjpbkk)


    Bonjour

    With the plugin already install, do we have also to put in header this 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: "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>
    
    Note
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bjpbkk,

    Greetings from CookieYes!

    If you want to integrate the CookieYes plugin with Google consent mode, then you have to paste the above code in your header and follow the instructions in this?documentation.

    Thread Starter bjpbkk

    (@bjpbkk)

    Thank you but i do not understand why the plug in do not put this code directly ?
    please, can you check. Merci
    https://www.mybts.fr/

    • This reply was modified 8 months, 2 weeks ago by bjpbkk.
    Thread Starter bjpbkk

    (@bjpbkk)

    Yesterdfay I scan with cookie yes my web site and it’s very strange because he find no cookie pour ads as you can see, so in fact you cannot refuse tu see ads from GG.

    I have a premium account.

    • This reply was modified 8 months, 2 weeks ago by bjpbkk.
    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bjpbkk,

    The plugin won’t add the consent mode script by default as it is only needed for users who want to implement Google consent mode.
    Regarding the issue with your scan, we use Ireland IPs for scanning your website. However, it seems like AdSense cookies are not set while accessing your site in Ireland. Hence those cookies are not detected in the scan. You can either add those cookies manually to your Cookie list or change your settings in Adsense to set those cookies in Ireland and then perform a scan to detect the same.

    Thread Starter bjpbkk

    (@bjpbkk)

    Noway, I change for a better solution. By

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bjpbkk,

    Since you have moved on to another solution, we are going to mark this thread 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 6 replies - 1 through 6 (of 6 total)
  • The topic ‘plugin + script ?’ is closed to new replies.