Title: Google Analytics Code Not Added On Enable
Last modified: September 18, 2018

---

# Google Analytics Code Not Added On Enable

 *  Resolved [adaptablewebsites](https://wordpress.org/support/users/adaptablewebsites/)
 * (@adaptablewebsites)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-analytics-code-not-added-on-enable/)
 * Hi,
 * Testing your plugin
    Latest wordpress Latest Divi Theme Plugin – autoptimze disabled
 * Take a look at the default settings …. third party cookies i.e. Google Analytics
   enabled by default. The code is in the correct place .. I’ve added to the HEAD
   section in the plugin.
 * I have yet to see any code placed in the head section. Checking page source it
   is never there.
 * Can you take a look and advise me. I’m willing to help and provide access … am
   I missing something?
 * Thanks in anticipation of your help
 * 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-added-on-enable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-analytics-code-not-added-on-enable/#post-10720566)
 * Hi there,
 * Thanks for your comments. I’ve checked the provided page and it seems the plugins
   isn’t activated in your site.
 * Our plugin loads the script with Javascript, and that’s why you can’t find it
   in the view-source page. You can use the developer console in Chrome browser (
   Inspect Element feature) and find the scripts.
 * I hope this helps.
 *  Thread Starter [adaptablewebsites](https://wordpress.org/support/users/adaptablewebsites/)
 * (@adaptablewebsites)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-analytics-code-not-added-on-enable/#post-10720774)
 * Hi,
    Yeah … sorry I had to find another solution. FYI I am a web developer. the
   problem was not a cacahe problem as I was making sure that the cacahe was cleared
   properly before making a diagnosis. View Source in Chrome … no GA code many Thanks
   Regards Mark

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

The topic ‘Google Analytics Code Not Added On Enable’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [adaptablewebsites](https://wordpress.org/support/users/adaptablewebsites/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/google-analytics-code-not-added-on-enable/#post-10720774)
 * Status: resolved