Title: How to remove Google Analytics code
Last modified: August 22, 2016

---

# How to remove Google Analytics code

 *  Resolved [ldazilma](https://wordpress.org/support/users/ldazilma/)
 * (@ldazilma)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/)
 * I’m having an issue with correct reporting of my stats and I’m trying to figure
   out why. I’ve spoken to reps at Google and they said that I have multiple codes
   in my source code area. I cannot find them and I’m really annoyed because I feel
   that it is affecting my numbers. Who can help me with this?
 * lucyspearls.com
 * Do I even need the Yoast Google Analytics Dashboard in WordPress if I have regular
   Google Analytics?
 * Lucy

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701063)
 * Ah, there’s your problem. 🙂
 * The Yoast plugin adds the Google Analytics code to your site, so you’ll need 
   to decide if you want to manually add the code and not use the plugin, or remove
   the code you manually added and use the plugin instead.
 *  Thread Starter [ldazilma](https://wordpress.org/support/users/ldazilma/)
 * (@ldazilma)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701095)
 * Ok, I manually added the code. Now how many UA-codes does it show that I have?
 * Also, where is the correct placement for the UA-code? In my header and footer
   plugin or the site itself?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701096)
 * > Ok, I manually added the code. Now how many UA-codes does it show that I have?
 * I see two, one manually added by you, and one added by the plugin, which is the
   problem as mentioned above. You need to pick one and stick with it.
 * > Also, where is the correct placement for the UA-code? In my header and footer
   > plugin or the site itself?
 * Google changed that sometime after I stopped using GA. Just make sure that you’re
   following the instructions in your Google Analytics account.
 *  Thread Starter [ldazilma](https://wordpress.org/support/users/ldazilma/)
 * (@ldazilma)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701107)
 * Gotcha. I deleted the plugin. Hopefully now my numbers will start displaying 
   correctly.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701191)
 * You’re welcome!
 * I only see one set of GA tags on your site now.

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

The topic ‘How to remove Google Analytics code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-remove-google-analytics-code/#post-5701191)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
