Title: Can&#039;t put Google Analytics code on site
Last modified: August 20, 2016

---

# Can't put Google Analytics code on site

 *  [NeilSanderson](https://wordpress.org/support/users/neilsanderson/)
 * (@neilsanderson)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/)
 * I have 3 WP blogs. All are on WP 3.3.1 and all use the TwentyTen theme.
 * I updated one blog (neilsanderson.com) to the latest version of TwentyTen (1.3),
   and on that blog my GA Tracking Code disappeared from header.php. I replaced 
   it in the header.php file. It shows up fine in the editor but doesn’t appear 
   when viewing source on the site. And I get no results showing in GA.
 * The other sites, still running TwentyTen 1.2, are fine.
 * Also, my Custom Contact Form disappeared from the updated site (it just shows
   the code, no actual form), and I have not been able to get any other plugin form
   to work. I had the same form on all 3 sites, and the other two are still fine.
 * Thanks for any ideas.
 * Neil
    neilsanderson.com

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584243)
 * Use a manual update if manual edits have been done…
 *  Thread Starter [NeilSanderson](https://wordpress.org/support/users/neilsanderson/)
 * (@neilsanderson)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584246)
 * Sorry, don’t understand that. But after doing some cleanup in my site directory(
   while I was generating a child theme as a potential solution) my site mysteriously
   reverted to WP 3.2.1 (I think it was) then back to 3.3.1 and everything works.
   I really have no idea what happened. I’ve had this issue for months, but it seems
   to be working OK at the moment.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584247)
 * Wow…how did become so advanced in your knowledge in a few minutes?
 *  Thread Starter [NeilSanderson](https://wordpress.org/support/users/neilsanderson/)
 * (@neilsanderson)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584253)
 * Not very advanced, I can assure you. :{-)
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584262)
 * Here is my response:

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

The topic ‘Can't put Google Analytics code on site’ is closed to new replies.

## Tags

 * [twentyten theme](https://wordpress.org/support/topic-tag/twentyten-theme/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/cant-put-google-analytics-code-on-site/#post-2584262)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
