Title: Missing analytics.js script
Last modified: February 12, 2018

---

# Missing analytics.js script

 *  Resolved [jezzaz](https://wordpress.org/support/users/jezzaz/)
 * (@jezzaz)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/missing-analytics-js-script/)
 * when using google tag manager i am getting this error message, Missing analytics.
   js script : /wp-content/plugins/host-analyticsjs-local/cache/local-ga.js’,’ga’);
   ga(‘create’, ‘UA-17684423-1’, ‘auto’);ga(‘send’, ‘pageview’); i can see in google
   analytics realtime that visits are being tracked but wondered if there is anyway
   to make this error not display

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/missing-analytics-js-script/#post-10009902)
 * Yes, Google Tag Manager actively searches for a script called ‘analytics.js’.
   Logically this plugin uses a different filename for the script so you can see
   whether my plugin is loaded or not 🙂

Viewing 1 replies (of 1 total)

The topic ‘Missing analytics.js script’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/missing-analytics-js-script/#post-10009902)
 * Status: resolved