Title: Google Analytics for WooCommerce
Last modified: September 15, 2025

---

# Google Analytics for WooCommerce

 *  Resolved [sandroquantic](https://wordpress.org/support/users/sandroquantic/)
 * (@sandroquantic)
 * [9 months ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/)
 * Hello,
   I installed and configured the plugin according to the user guide.The 
   site uses the Google Analytics for WooCommerce plugin, and its blocking is active
   in the Integrations -> Extents section.But when I check the devtools application
   console, the GA (Google Analytics) cookies always appear.In the Assistant -> 
   Consent -> Statistics section, I use the GTM option, which prevents GTM scripts
   on the site through the Header Footer Code Manager plugin. So, there are no GTM
   cookies in the devtools console.How do I block GA cookies from the Google Analytics
   for WooCommerce plugin?Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-analytics-for-woocommerce%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [9 months ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18643352)
 * Hello [@sandroquantic](https://wordpress.org/support/users/sandroquantic/) ,
 * Thank you for reaching out and for the clear explanation.
 * Complianz can only block one method of implementing statistics at a time via 
   the Wizard. Since you’re using an integration for GA, the best approach is to
   block Google Analytics directly in **Wizard → Consent → Statistics configuration**.
 * Because you’re adding GTM manually via the HFCM you can also block it by using
   script tags as described in this guide: [https://complianz.io/how-to-set-google-tag-manager-after-consent-and-is-it-needed](https://complianz.io/how-to-set-google-tag-manager-after-consent-and-is-it-needed).
   This way, both Google Analytics and GTM will be blocked until statistics consent
   is given.
 * I tested this exact setup locally and can confirm it works. Just make sure to
   save your options in the Wizard after making these changes.
 * Best regards,
   Antonio
 *  Thread Starter [sandroquantic](https://wordpress.org/support/users/sandroquantic/)
 * (@sandroquantic)
 * [9 months ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18645634)
 * Hello
 * I’m using the free version of the Compliance plugin. In the Consent -> Statistics
   section, I couldn’t find the option to manage script tags. Is this only available
   in the premium version?
 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [9 months ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18648196)
 * Hello [@sandroquantic](https://wordpress.org/support/users/sandroquantic/),
 * It’s available in both versions. Since you have the Google Analytics for WooCommerce
   integration active in Complianz, the Statistics configuration section that manages
   the tags is partially hidden, this is intentional to prevent a double implementation.
 * All you need to do is select **“Yes, with Google Analytics”** under _Wizard >
   Consent > Statistics > Do you compile statistics of this website?_. Once that’s
   done, you’re all set regarding GA. For GTM, please follow the steps I mentioned
   in my earlier suggestion.
 * I hope this clarifies things.
 * Best regards,
   Antonio
 *  Thread Starter [sandroquantic](https://wordpress.org/support/users/sandroquantic/)
 * (@sandroquantic)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18651714)
 * Hi Antonio
 * Complianz doesn’t show me the option:
   Do you want Complianz to add Google Tar
   Manager to your website ?
 * ![](https://i0.wp.com/complianz.io/wp-content/uploads/2022/05/Screenshot-2022-
   05-23-at-21.50.01.png?ssl=1)
 * How do I show this option?
 * Thanks
 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18652735)
 * Hello [@sandroquantic](https://wordpress.org/support/users/sandroquantic/) ,
   
   In this case, since you’re embedding Google Analytics for WooCommerce with Complianz,
   you can skip that step and move directly to the second one. That will cover your
   setup and ensure everything is blocked prior to consent.
 *  Thread Starter [sandroquantic](https://wordpress.org/support/users/sandroquantic/)
 * (@sandroquantic)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18653197)
 * Hello Antonio
 * I tested the option and I always see GA cookies in the browser console, can you
   send me a screenshot of the configuration you tested so I can see if I did everything
   correctly?
 * Thanks
 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18656371)
 * Hello [@sandroquantic](https://wordpress.org/support/users/sandroquantic/) ,
 * No problem at all, I actually made a quick [video](https://www.loom.com/share/26bf991f8d7440f7947cc71ebced2be1)
   instead. In it, you can first see the setup with GA for WooCommerce (in Complian
   as well), and then GTM added through a plugin that allows inserting snippets.
 * As you’ll notice, before consent the cookies are not present, but right after
   consent they appear correctly.
 * Best regards,
   Antonio

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

The topic ‘Google Analytics for WooCommerce’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/google-analytics-for-woocommerce/#post-18656371)
 * Status: resolved