Title: WP changes Analytics code
Last modified: August 21, 2016

---

# WP changes Analytics code

 *  [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-changes-analytics-code/)
 * I’m setting up my WP site and it’s working fine. I want to add Google Analytics.
   I got my Analytic account going and have the tracking code. Then I go to Appearance
   > Theme Options and paste in the code. however, when I hit “Save,” the `<script
   ></script>` tags vanish. When I try to view the site, my tacking code is now 
   visible on the top of the site. ([http://blog.cnbeyer.com](http://blog.cnbeyer.com))
   How do I fix this?
 * Also, I installed the GA Dashboard hoping it would give me a fix. i can’t find
   anything there where I can put teh code. moreover, I can’t actually find the 
   Dashboard, only the settings for it. Where do I find the dashboard?

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

 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-changes-analytics-code/#post-4309535)
 * That’s either because of your theme or you inserted the code at the wrong place.
   As you are using a non-WPORG theme we cannot help you with the theme. However,
   you may try these:
    – delete that theme and replace it with a freshly downloaded
   unedited copy of the theme so that the code that is now appearing at the top 
   of the site will not appear again. – Use a plugin to insert the code if you do
   not know where to insert in your theme template files: [http://wordpress.org/plugins/googleanalytics/](http://wordpress.org/plugins/googleanalytics/)
 *  Thread Starter [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-changes-analytics-code/#post-4309631)
 * Since I downloaded the theme through the WP interface, I presumed it was WP legit.
   Sorry.
 * I am posting the tracking code into a field marked “tracking code,” so it seems
   the obvious place. I am not putting it directly into the code. I am using the
   WP admin interface.
 * If I delete the code from that field, it no longer displays on the site, so no
   need to reload.
 * I downloaded the plugin you suggested and input the UA number as asked. So far
   everything looks right. Thanks for pointing me to that plugin.

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

The topic ‘WP changes Analytics code’ is closed to new replies.

## Tags

 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [Setup](https://wordpress.org/support/topic-tag/setup/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/wp-changes-analytics-code/#post-4309631)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
