• Resolved Eduardo Sans

    (@mouskeen)


    Hi there,

    Ok so I’ve been following your documentation, specifically the method 2 here:
    https://www.cookieyes.com/documentation/implementing-google-consent-mode-using-cookieyes/#Method_2_I_6

    I’m using a generatepress child theme, and currently I have a hook for the head() where I display various codes (analytics, tag manager, etc.). What I did is place the code you provided above it all (so yes, above the tag manager code) and that’s it.

    The part that I don’t understand is when you say that we have to place both codes above the CookieYes script. Where is this code? I’ve been trying to ensure everything is right but I just lost 2 hours working on this. Could you please verify my website -the one I linked to- has the consent v2 code properly placed?

    Thanks!

    PD: You should really offer this feature built-in in your plugin (some of your competitors already do).

    • This topic was modified 2 years, 2 months ago by Eduardo Sans.

    The page I need help with: [log in to see the link]

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

    (@cookieyesteam)

    Hi @mouskeen,

    Greetings from CookieYes!

    You are on the legacy version of our plugin which doesn’t support this feature. So, we recommend you migrate to our revamped UI by referring to this thread. After migration, please connect to CookieYes and then follow this thread to implement Google Consent Mode v2.

    Thread Starter Eduardo Sans

    (@mouskeen)

    Hi there, thanks for answering. I already followed the steps (updating the plugin and connecting to the webapp), the only problem is that I don’t know whether the code is properly placed (I made sure it is above the google tag code, but I don’t know if the cookie yes code is below it because I’m using hooks). Could you please double check that the code is properly place and therefore the consent mode v2 properly functioning? Thanks!

    Also, another question, is it necessary to connect to your webapp in order to make the Google COnsent Mode v2 active? I did for my website but I’m taking care of my client’s sites as well and I have to repeat the process there as well (and it would save me time if I didn’t have to connect their sites to the webapp)

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @mouskeen,

    It seems like you have added the custom script twice to your site. You can view this in your page source at line 6 and line 115. So, please remove the duplicate code added at line 115.

    Now, the GTM script also should be placed above the wp_head(). But if you have difficulty changing it’s position, instead, you can enable the option “Allow Google tags to fire before consent” from CookieYes dashboard > Advanced Settings > Google consent mode (GCM).

    It is necessary to connect to CookieYes to integrate Google Consent Mode v2.

    Thread Starter Eduardo Sans

    (@mouskeen)

    Done. Could you check again and confirm everything is right please? Thanks!

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @mouskeen,

    You have removed the custom script added at line 6 instead of the one added at line 115. Please keep the one at line 6 and remove the one at line 115. Then only it will work as expected.

    Thread Starter Eduardo Sans

    (@mouskeen)

    Got it! could you check again please? Thanks

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @mouskeen,

    Please add it above the wp_head() function in your theme’s header.php file.

    Thread Starter Eduardo Sans

    (@mouskeen)

    Now it should be solved, could you check please?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @mouskeen,

    Now, GCM is implemented correctly on your site. Please let us know if you have any further queries.

    Thread Starter Eduardo Sans

    (@mouskeen)

    All good, tahnks

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Problems with Consent mode v2’ is closed to new replies.