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

---

# Google Analytics Code Not showing up in the source code

 *  [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-2/)
 * I just deactivated all my plugins one at a time and discovered the W3 Cache was
   causing Google Analytics code to disappear from the site. Just thought you would
   want to know. I am not the developer, but let me know if you would like to discuss
   further with my developer and I can connect you.
 * 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-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-code-not-showing-up-in-the-source-code-2/#post-10499937)
 * Did you enable `inline JS` option in Performance => Minify? Then it might not
   be removed, but it’s in one of the minified scripts.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-code-not-showing-up-in-the-source-code-2/#post-10499937)
 * Status: not resolved