Title: Duplicate Google Analytics code
Last modified: February 19, 2021

---

# Duplicate Google Analytics code

 *  Resolved [g3tu](https://wordpress.org/support/users/g3tu/)
 * (@g3tu)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/)
 * Thank you very much for this plugin that you have developed.
 * I am writing to inform you that I have used your plugin on other websites and
   had not encountered the following problem: the analytics code appears duplicated.
   
   I attached you an image: [https://ibb.co/KFnFZB5](https://ibb.co/KFnFZB5)
 * The website where I have the problem is: [https://idim.es](https://idim.es)
 * Thanks for your time.
 * Pau C.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicate-google-analytics-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/#post-14076884)
 * Hi [@g3tu](https://wordpress.org/support/users/g3tu/),
 * Please explain how you have added the google analytics scripts in the site.
 *  Thread Starter [g3tu](https://wordpress.org/support/users/g3tu/)
 * (@g3tu)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/#post-14083226)
 * Morning!
 * I did the same steps as on other websites where I use this plugin.
 * Non-necessary section > This script will be added to the `HEAD` section of the
   page if the above settings are enabled and the user has given their consent.
 * I attached you an image: [https://ibb.co/jLh8JXL](https://ibb.co/jLh8JXL)
 * Thanks for your time.
 * Pau C.
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/#post-14095315)
 * Hi [@g3tu](https://wordpress.org/support/users/g3tu/),
 * Kindly ensure that you have removed the code from elsewhere in the site. ie, 
   in the theme or via some other plugin.
 *  Thread Starter [g3tu](https://wordpress.org/support/users/g3tu/)
 * (@g3tu)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/#post-14095568)
 * Hi!
 * I already checked before contacting support.
    Here I show you the proof:
 * [https://ibb.co/28S5XNK](https://ibb.co/28S5XNK) – I show you the box without
   filling in
    [https://ibb.co/LQpTmQ4](https://ibb.co/LQpTmQ4) – The result with
   the box without the code [https://ibb.co/TkPf32q](https://ibb.co/TkPf32q) – The
   result with the box with the code again
 * Thanks!

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

The topic ‘Duplicate Google Analytics code’ 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
 * 2 participants
 * Last reply from: [g3tu](https://wordpress.org/support/users/g3tu/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/duplicate-google-analytics-code/#post-14095568)
 * Status: resolved