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/)
 * 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 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 1 replies (of 1 total)

 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code/#post-3679195)
 * your google analytics code is being generated from some sort of packaged SEO 
   pack (it’s a plugin you are using)
 *     ```
       <!-- /all in one seo pack -->
       		<script type="text/javascript">
   
       		  var _gaq = _gaq || [];
       		  _gaq.push(['_setAccount', 'UA-39914369-1']);
       		  _gaq.push(['_setDomainName', 'http://www.body-rhythm.com']);
       		  _gaq.push(['_trackPageview']);
   
       		  (function() {
       		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       		  })();
   
       		</script>
       ```
   
 * _[Unnecessary comment moderated]_

Viewing 1 replies (of 1 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/)
 * 1 reply
 * 2 participants
 * Last reply from: [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code/#post-3679195)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
