Title: Google analytics code not loading on pages
Last modified: August 19, 2022

---

# Google analytics code not loading on pages

 *  Resolved [fonejackerni](https://wordpress.org/support/users/fonejackerni/)
 * (@fonejackerni)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/)
 * Hi Ben,
 * Thanks for the update 5.9.0.1 which solved the cookie consent issue, we have 
   noticed another strange issue, analytics code is only loading and tracking if
   you are logged in as admin.
 * Any user who visits the site can now accept the cookie consent but the analytics
   code does not load on the page or pages when refreshed and does not show in source
   code of the page.
 * Google analytics console reflects no hits or users when logged out.
 * I’ve tried looking for errors but none are showing in any logs, any advice would
   be great.
 * SEOPress 5.9.0.1 installed
    SEOPress Pro 5.9 installed
 * Kind Regards
    Ryan

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

 *  [Nu Ad Agency](https://wordpress.org/support/users/nuadagency/)
 * (@nuadagency)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15938741)
 * I can confirm, that after updating to latest versions the script for Google Analytics
   does not load. Sending a report right now.
 *  [marocweb](https://wordpress.org/support/users/marocweb/)
 * (@marocweb)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15941110)
 * Hi,
 * The same. All codes are not loaded: GA, AW, GTM
 * Thanks.
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15941962)
 * Hi,
 * please update version Free to 5.9.0.3 to fix this regression.
 * Thx
 *  Thread Starter [fonejackerni](https://wordpress.org/support/users/fonejackerni/)
 * (@fonejackerni)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15942064)
 * Hi Benjamin,
 * Just testing over now and it all seems back to normal with the new 5.9.0.3 update.
 * Script’s are loading logged in and logged out. That seems to of fixed the issue
   for me.
 * Will test fully.
 * Thank you!
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15942111)
 * Perfect!

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

The topic ‘Google analytics code not loading on pages’ is closed to new replies.

 * ![](https://ps.w.org/wp-seopress/assets/icon-128x128.gif?rev=3158903)
 * [SEOPress - AI SEO Plugin & On-site SEO](https://wordpress.org/plugins/wp-seopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seopress/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seopress/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/google-analytics-code-not-loading-on-pages/#post-15942111)
 * Status: resolved