Title: GA undefined error
Last modified: July 8, 2020

---

# GA undefined error

 *  Resolved [dav74](https://wordpress.org/support/users/dav74/)
 * (@dav74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/)
 * Hi there,
 * Your plugin is causing a “ga is not defined” error, when I inspect the page in
   Chrome. It’s related to your plugin adn to Google Analyics of course. Do you 
   know why this is?

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

 *  Plugin Author [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13101437)
 * Hi there,
 * Thanks for reaching out, I’d be happy to help here!
 * Can you please provide me with more information about your issue, for example,
   some specific URLs which are affected by this, and if you don’t mind some screenshots
   to review your case and provide you with a solid solution?
 * Thank you,
 *  Thread Starter [dav74](https://wordpress.org/support/users/dav74/)
 * (@dav74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13101462)
 * Hi [@sharethis](https://wordpress.org/support/users/sharethis/)
 * Thanks for the reply. Here you can see the isues: [https://ibb.co/GCj5kG1](https://ibb.co/GCj5kG1)
   
   As said, it is something to do with Google Analytics and your plugin, but I cannot
   say more than that. As soon as I remove your plugin it all works without issue.
 * I have also disabled WP Rocket (JS deferring), and the problem is not linked 
   to that.
 * Best regards
 *  Thread Starter [dav74](https://wordpress.org/support/users/dav74/)
 * (@dav74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13101517)
 * I can also send you a link to the site but would prefer to keep the link private.
 *  Plugin Author [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13107214)
 * Hi there,
 * Thank you for your reply
 * Many thanks for pointing this to us!
 * Our engineering team is looking into this right now and I will get back to you
   as soon as I have an official notice from their end.
 *  Thread Starter [dav74](https://wordpress.org/support/users/dav74/)
 * (@dav74)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13107280)
 * Thank you
 *  Thread Starter [dav74](https://wordpress.org/support/users/dav74/)
 * (@dav74)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13155188)
 * Sorry I think this is actually the WooCommerce plugin I should be contatcing 
   not yours! My mistake
 *  Plugin Author [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13186613)
 * Hi there,
 * Thank you for your patience!
 * Please let us know if there’s something we can contribute with,
 * Best,

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

The topic ‘GA undefined error’ is closed to new replies.

 * ![](https://ps.w.org/googleanalytics/assets/icon-256x256.jpg?rev=2624799)
 * [ShareThis Dashboard for Google Analytics](https://wordpress.org/plugins/googleanalytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/googleanalytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/googleanalytics/)
 * [Active Topics](https://wordpress.org/support/plugin/googleanalytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/googleanalytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/googleanalytics/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [ShareThis](https://wordpress.org/support/users/sharethis/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/ga-undefined-error/#post-13186613)
 * Status: resolved