Title: Throws JavaScript error
Last modified: April 19, 2021

---

# Throws JavaScript error

 *  [staedeli](https://wordpress.org/support/users/staedeli/)
 * (@staedeli)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/throws-javascript-error/)
 * simply by activating the plugin, you get a java script error from Google Tag 
   in the (Chrome) browser. Gives you a terrible SEO score.

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

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/throws-javascript-error/#post-14340598)
 * [@staedeli](https://wordpress.org/support/users/staedeli/) Sorry to hear you’re
   unhappy with the plugin however I didn’t see a support topic from whereby we 
   can assist. If you’re encountering a particular dashboard error and you wish 
   to share it please do so and I’d be happy to investigate. My first though is 
   you may be experiencing the same as users encountered in [this GitHub issue](https://github.com/google/site-kit-wp/issues/3144).
   This is as a result of a third party plugins usage of the Google charts library.
 * > Gives you a terrible SEO score.
 * The plugin is a backend operated plugin and doesn’t impact your sites Search 
   Performance. Was there a particular concern you has on based on your SEO findings?
 *  Thread Starter [staedeli](https://wordpress.org/support/users/staedeli/)
 * (@staedeli)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/throws-javascript-error/#post-14342468)
 * Hi James,
 * As soon as I connect Google Tag Manager inside Site Kit, I get a Java script 
   error on the front end. Not sure why this could be any other plugin’s fault? 
   I’m not using Tag Manager with any other plugin…?
 * I had to uninstall site kit completely and reconnect only Analytics and Search
   console, then it works ok.
 * [https://licenciasdirectas.es/](https://licenciasdirectas.es/)
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/throws-javascript-error/#post-14342762)
 * Thanks for the update. A JavaScript error on the front end is particularly unusual.
   From looking at your site and inspecting the optimizations performed I suspect
   this may be a particular configuration with your optimization plugin.
 * If you’re willing to give the below a try I’d to know does the error reappear:
    1. Please temporary disable the [admin toolbar](https://i.imgur.com/uZiLTYY.jpg)
       and check does the issue appear when reconnecting the Tag Manager module (_I
       suspect here may be where the conflict lies, with the dashboard notice if so
       appearing for logged in user_s).
    2. Please temporary disable WP Rocket or check your configuration settings (in 
       particular any combining of assets feature), before connecting Tag Manager via
       Site Kit once more
 * Let me know if you have any questions on the above. If the dashboard error appears
   once more after refreshing your page in either check above please share what 
   the error states.
    -  This reply was modified 4 years, 11 months ago by [James Osborne](https://wordpress.org/support/users/jamesosborne/).
      Reason: Adding reference to the admin toolbar

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

The topic ‘Throws JavaScript error’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/throws-javascript-error/#post-14342762)