Title: 2 codes Google Analytics
Last modified: December 17, 2016

---

# 2 codes Google Analytics

 *  [ergpcampos](https://wordpress.org/support/users/ergpcampos/)
 * (@ergpcampos)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/)
 * Hello guys,
 * First of all, sorry if I am posting at the wrong section.
 * Here’s my issue:
 * I hired a company to make my final website, and now they left me alone. The problem
   is that the site has two numbers of google analytics properties. One is mine,
   OK. The other is not mine and I’m not finding it to erase this code, and let 
   only mine code working.
 * Do you guys, have any idea where I can find it? They used the laborator plugin
   to build it, maybe is in it?

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8562990)
 * Try deactivating all of your plugins to explore whether any could be responsible.
   If none are, keep all plugins deactivated and switch to the Twenty Fifteen/ Fourteen
   theme to see whether it could an issue with your theme.
 *  [bill7473](https://wordpress.org/support/users/bill7473/)
 * (@bill7473)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8563364)
 * Go to Appearance > Editor then open Theme Header Underneath </head> at star of
   <body> you should see PHP code like this only it will have php tags rather than“
   NOTPHP tags
 * Where it says YOUR GOOGLE ANALYTICS PROPERTY it will have that reference. You
   may have this code twice. You want to keep your own and delete the on belonging
   to the site developers.
    Save a copy of the file before you edit it.
 * <?NOTPHP
    add_action(‘wp_footer’, ‘axxxxdd_googleanalytics’); function add_googlexxxxxxanalytics(){?
   > <scrxxxxxxipt> (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[
   r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.
   createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.
   insertBefore(a,m) })(window,document,’script’,’//xxx.googlexxxxxanalyticsxxxxcom/
   analytics.js’,’ga’);
 *  ga(‘create’, ‘<
    -  **YOUR GOOGLE ANALYTICS PROPERTY REFERENCE**
 * ‘, ‘auto’);
    ga(‘send’, ‘pageview’);
 * </scrxxxxipt><NOTPHP } >
 *  Thread Starter [ergpcampos](https://wordpress.org/support/users/ergpcampos/)
 * (@ergpcampos)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8612517)
 * Thank you guys, but I still not finding it. I went where [@bill7473](https://wordpress.org/support/users/bill7473/)
   told, but there’s nothing like this in the code. 🙁
 * And, I didn’t find the right place you told. I go only to the header.php options,
   that are in the right collun in Appearance > Editor.
 * Is there a place where I can see and edit all the site code?
 * Thank you
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8612698)
 * _*Reads about editing the theme file*_
 * OH GOSH. NO.
 * If you want to use Google Analytics, do not edit your theme’s files. That’s a
   horrifically bad idea as you’ll lose all your work when the theme updates.
 * Can you share a link to your site? That may help us help you find where to look.
 *  Thread Starter [ergpcampos](https://wordpress.org/support/users/ergpcampos/)
 * (@ergpcampos)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8613170)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) it’s estiling.
   com
 * Thank you!

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

The topic ‘2 codes Google Analytics’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [ergpcampos](https://wordpress.org/support/users/ergpcampos/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/2-codes-google-analytics/#post-8613170)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
