Title: GA Script not working
Last modified: August 21, 2017

---

# GA Script not working

 *  Resolved [bizpod](https://wordpress.org/support/users/bizpod/)
 * (@bizpod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ga-script-not-working/)
 * Trying to use the “offload GA to local” feature. But when active, GA is not reporting(
   real time at least). The script appears to be getting inserted correctly into
   pages, but GA is not reporting visits (‘track logged in’ selected and also tested
   as logged out). When I inspect the page and open the > local.ga.js resource the
   file is empty, ie. no code displayed (vs. other .js scripts which show the js
   code).
 * WP: 4.8.1
    WP Disable: 1.4.3
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fga-script-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [bizpod](https://wordpress.org/support/users/bizpod/)
 * (@bizpod)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9435045)
 * To fix this issue (local-ga.js script not being downloaded), I just needed to
   deactivate/reactivate the plugin. GA script was downloaded on reactivation and
   GA now reporting traffic.
    -  This reply was modified 8 years, 9 months ago by [bizpod](https://wordpress.org/support/users/bizpod/).
 *  Plugin Author [jody nesbitt](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9435053)
 * awesome thanks for the update, saves us looking for a bug.
 *  Plugin Author [jody nesbitt](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9440086)
 * pushing an update now to stop this happening, so it will not check on first activation,
   but will now create when saving the GA details
 *  [adriennberta](https://wordpress.org/support/users/adriennberta/)
 * (@adriennberta)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9648347)
 * Dear Support,
 * I tried to use this deactivate and after reactivate the plugin, but the GA settings
   options has deasppeared from right.
    What happened? Help me please! Thank you
   so much! Adrienn
 *  [adriennberta](https://wordpress.org/support/users/adriennberta/)
 * (@adriennberta)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9648430)
 * Now I tried again deactivate/reactivate and now I see the GA option, I saved 
   again after reactivating, but in my system the local.ga.js file is still empty.
   
   What is the problem? Thank you so much! Adrienn
 *  [adriennberta](https://wordpress.org/support/users/adriennberta/)
 * (@adriennberta)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9648643)
 * so, I tried deactivate and after delete the plugin.
    The plugin could not been
   deleted – I don’t understand why???, but after reactivating again the local.ga.
   js file is not empty yet. But! Now the Google Insight Speed writes the next: 
   Enable compression here:…wp-disable/cache/local-ga.js
 * How could I do it?
    Thank you so much! Adrienn
 *  Plugin Author [jody nesbitt](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9648667)
 * Hello, some sites/servers just do not work with the offload GA, there is no fix
   as of now, the only advice i can give you is not to use GA offload function) 
   for the other issue, please email us (support tab in the plugin) with access 
   to the site so we can check
 * thank you
 * Jody
 *  [adriennberta](https://wordpress.org/support/users/adriennberta/)
 * (@adriennberta)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9650113)
 * Dear Jody, thank you so much for your quick answer.
 * It is ok, I understand, but why can not it deleted from any website the WP desable
   plugin. I wanted use it for 2 webpage with other server hosting, with same theme,
   but all of them has problem: it can not been deleted. Sytem writes error.
    what
   conditions must be met the server, to work well this plugin?
 * Thank you so much,
    Adrienn

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

The topic ‘GA Script not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-disable/assets/icon-256x256.png?rev=3564483)
 * [Featherweight — formerly WP Disable](https://wordpress.org/plugins/wp-disable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-disable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-disable/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-disable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-disable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-disable/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [adriennberta](https://wordpress.org/support/users/adriennberta/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/ga-script-not-working/#post-9650113)
 * Status: resolved