Title: Google Analytics doesn&#8217;t work
Last modified: April 9, 2020

---

# Google Analytics doesn’t work

 *  [kardjali](https://wordpress.org/support/users/kardjali/)
 * (@kardjali)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/)
 * Hi. I’ve setup analytics with the plugin. I know it’s there, I followed all guides
   and information I’ve found. I see the analytics script being loaded, but it doesn’t
   work. I have an error in the console saying jquery is not defined. Because of
   that the google analytics script cannot execute. I’m on Astra WordPress theme.
   Anybody experienced something similar ? I can’t find an answer to that

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

 *  Thread Starter [kardjali](https://wordpress.org/support/users/kardjali/)
 * (@kardjali)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/#post-12654189)
 * Just to update – analytics works fine when using any other plugin and again with
   gtag. It breaks only when using SeoPress
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/#post-12656002)
 * Hi,
 * jQuery is required with this feature (we planned to be no more dependent on this).
 * Can you provide a URL of your site please?
 * Note that jQuery is required by a lot of plugins including WordPress itself.
 *  Thread Starter [kardjali](https://wordpress.org/support/users/kardjali/)
 * (@kardjali)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/#post-12656350)
 * Hi, Bejamin. I know it’s required and I see jquery being loaded before that. 
   I tried with other plugins and it works as a charm, there are no issues. How 
   can I share the URL in private ?
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/#post-12659182)
 * contact[at]seopress.org

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

The topic ‘Google Analytics doesn’t work’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-work-2/#post-12659182)
 * Status: not resolved