Title: So confusing. Help please
Last modified: March 8, 2024

---

# So confusing. Help please

 *  Resolved [borishar](https://wordpress.org/support/users/borishar/)
 * (@borishar)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/so-confusing-help-please/)
 * So I installed the plugin and went through the google tag setup (already had 
   google tag manager). When I preview it using tag manager, it shows that it’s 
   giving default state as enabled before users even accept. Also the consent fires
   several times. Do we need to setup google tag manager part if we’re using the
   plugin? I tried so many different ways all the same. Default state shows enabled,
   then another consent shows denied … mess

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

 *  Plugin Support [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * (@cookieyesteam)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/so-confusing-help-please/#post-17492142)
 * Hi [@borishar](https://wordpress.org/support/users/borishar/),
 * Greetings from CookieYes!
 * Please make sure that you have followed the steps in this [documentation](https://www.cookieyes.com/documentation/google-consent-mode-v2-integration-with-cookieyes-wordpress-plugin/)
   correctly.
 * Also, please share your site URL so that we can debug this issue closely and 
   provide you with a working solution.
 *  [bjpbkk](https://wordpress.org/support/users/bjpbkk/)
 * (@bjpbkk)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/so-confusing-help-please/#post-17492336)
 * I do not understand. With the plugin, do we have also to ad this script un header?
 *     ```wp-block-code
       <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>
       ```
   
 *  Plugin Support [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * (@cookieyesteam)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/so-confusing-help-please/#post-17492511)
 * Hi [@bjpbkk](https://wordpress.org/support/users/bjpbkk/),
 * 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](https://www.cookieyes.com/documentation/google-consent-mode-v2-integration-with-cookieyes-wordpress-plugin/).
 *  Plugin Support [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * (@cookieyesteam)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/so-confusing-help-please/#post-17507450)
 * Hi [@borishar](https://wordpress.org/support/users/borishar/),
 * 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 4 replies - 1 through 4 (of 4 total)

The topic ‘So confusing. Help please’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [CookieYes Team](https://wordpress.org/support/users/cookieyesteam/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/so-confusing-help-please/#post-17507450)
 * Status: resolved