Title: Using google analytics
Last modified: October 14, 2021

---

# Using google analytics

 *  Resolved [johnfotios](https://wordpress.org/support/users/johnfotios/)
 * (@johnfotios)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-google-analytics-3/)
 * I have added a new cookie to the cookie list which is called _ga, I have filled
   in the cookie ID as _ga. I have set it to be in the Analytics category (disabled
   by default)
 * I have added my google analytics script to the <head> section.
 * I can see _ga is firing anyway. How do I stop it?

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-google-analytics-3/#post-14979297)
 * Hi [@johnfotios](https://wordpress.org/support/users/johnfotios/),
 * Greetings from Webtoffee.
 * Make sure that the same script is not added via some other plugin or via your
   theme directly. Please clear the site cache once and check.
 * If the issue persists, please share the site URL.
 *  Thread Starter [johnfotios](https://wordpress.org/support/users/johnfotios/)
 * (@johnfotios)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-google-analytics-3/#post-15046486)
 * Hi [@webtoffee](https://wordpress.org/support/users/webtoffee/)
 * I added the google analytics script to header.php in the theme directory
 * Where would I put it to work with this plugin?
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/using-google-analytics-3/#post-15047031)
 * Hi [@johnfotios](https://wordpress.org/support/users/johnfotios/),
 * Please remove it from header.php and add it under GDPR Cookie Consent > Cookie
   Category, then click edit on any one category and copy the script to head/body
   script field.

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

The topic ‘Using google analytics’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/using-google-analytics-3/#post-15047031)
 * Status: resolved