Title: How to delete google analytics code?
Last modified: August 21, 2016

---

# How to delete google analytics code?

 *  Resolved [logancat](https://wordpress.org/support/users/logancat/)
 * (@logancat)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/)
 * I can’t delete my old google analytics code. I deleted my old google analytics
   account, deleted the old plug in from wordpress, deleted the old plugin from 
   the database. I set up a new analytics account and installed a new plugin. Now
   both accounts are being referenced in the source code. Getting the message from
   Goggle that tracking is not installed.
 * Is there somewhere else in the database that the old account number is being 
   stored?
 * [http://www.body-rhythm.com](http://www.body-rhythm.com)
    Thank you!

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679175)
 * have you checked header.php and footer.php of your theme?
 *  Thread Starter [logancat](https://wordpress.org/support/users/logancat/)
 * (@logancat)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679184)
 * Hi. I just checked and I see no reference to anything Google in the header or
   footer of my theme.
 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679206)
 * It is in both the header and footer.. I would also check if you have theme options.
 *  Thread Starter [logancat](https://wordpress.org/support/users/logancat/)
 * (@logancat)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679217)
 * When you say it is in both the header and footer, what should I be looking for?
 * I have deactivated the second plugin and put the code in via theme options, but
   my original analytics account still shows in the head.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679231)
 * You can ask [your theme’s vendors](http://www.elegantthemes.com) which file it’ll
   likely be in.
 *  Thread Starter [logancat](https://wordpress.org/support/users/logancat/)
 * (@logancat)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679232)
 * All set! Thank you!

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

The topic ‘How to delete google analytics code?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [logancat](https://wordpress.org/support/users/logancat/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code-1/#post-3679232)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
