Title: Google Analytics Code Not showing up in the source code
Last modified: July 17, 2018

---

# Google Analytics Code Not showing up in the source code

 *  Resolved [Colleen Wright](https://wordpress.org/support/users/responseim/)
 * (@responseim)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-code-not-showing-up-in-the-source-code/)
 * On June 29th, Google Analytics quit working on _[ redundant link removed ]_. 
   I have been trying to figure out why ever since. My developer can’t figure it
   out, the Google Analytics Team blames it on WordPress, but this is the only website
   with which this issue has arisen.
 * We have tried placing it in the header.php and the footer.php files:
 * 1. Directly from Appearance>Editor
    2. Using the Divi theme code injection: a.
   Divi>Theme Options>Integrations>Add code to the < head > of your blog b. Divi
   >Theme Options>Integrations>Add code to the < body > (good for tracking codes
   such as google analytics) 3. We also tried adding the plugin “Insert Headers 
   and Footers” and Monster Insights.
 * Nothing works. Can somebody help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-analytics-code-not-showing-up-in-the-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-code-not-showing-up-in-the-source-code/#post-10499248)
 * Hi!
 * Unfortunately, because you are using a commercial theme you will have to ask 
   in their forums: [https://www.elegantthemes.com/forum/](https://www.elegantthemes.com/forum/)
 * This is outlined in the [forum guidelines](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).

Viewing 1 replies (of 1 total)

The topic ‘Google Analytics Code Not showing up in the source code’ is closed to
new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-code-not-showing-up-in-the-source-code/#post-10499248)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
