Title: Where is this google analytics code coming from?
Last modified: August 31, 2016

---

# Where is this google analytics code coming from?

 *  [richfern17](https://wordpress.org/support/users/richfern17/)
 * (@richfern17)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/)
 * The code is showing on line 94 of the website. It is not in the header.php file.
 * Here’s the website:
 * [http://www.monarchshores.com](http://www.monarchshores.com)
 * Here’s the code:
 * <script>
    (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’,’//www.google-analytics.com/analytics.js’,’ga’);
 *  ga(‘create’, ‘UA-59569414-1 Monarch Shores Recovery Sites’, ‘auto’);
    ga(‘send’,‘
   pageview’);
 * </script>

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

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146639)
 * It looks like you’re using this plugin – [https://wordpress.org/plugins/google-analyticator/](https://wordpress.org/plugins/google-analyticator/)–
   could it be coming from there?
 *  Thread Starter [richfern17](https://wordpress.org/support/users/richfern17/)
 * (@richfern17)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146645)
 * Unfortunately no. The problem is with this code is that it has a missing web 
   property id, “Monarch Shores Recovery sites” which is not present on our Google
   Analytics account. Also, the code still shows up when I deactivate the plugin.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146648)
 * Does the Salient theme feature a customization option which allows Google Analytics
   code to be entered directly from somewhere in the themes options page in your
   dashboard?
 *  Thread Starter [richfern17](https://wordpress.org/support/users/richfern17/)
 * (@richfern17)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146653)
 * It does but it is currently empty.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146655)
 * I also just noticed you are using W3 Total Cache. I’m not sure how that will 
   affect what you see in your source code immediately after making a change, or
   if the cache needs to be purged in order to see any changes right away.
 *  Thread Starter [richfern17](https://wordpress.org/support/users/richfern17/)
 * (@richfern17)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146658)
 * I have emptied the cache, no change 🙁
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146664)
 * Now it’s become a mystery. There’s also a way that it can be added in the themes
   functions.php file, but that seems a stretch if the option already exists in 
   the theme features in the dashboard.
 * Some things I can think of that I might try, if it was me;
 * – Temporarily disable ALL of your plugins and see if the symptom changes. If 
   yes, reactivate one at a time until you find the culprit
    if no,
 * – Temporarily switch to the default WordPress theme and see if the symptom changes
 * if yes,
 * – Download a backup copy of your Salient theme files to your local pc and do 
   a search for the code in the theme files.

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

The topic ‘Where is this google analytics code coming from?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/where-is-this-google-analytics-code-coming-from/#post-7146664)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
