Title: offline analytics
Last modified: July 20, 2017

---

# offline analytics

 *  Resolved [aviity](https://wordpress.org/support/users/aviity/)
 * (@aviity)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/)
 * I have implemented google analytics by hosting the analytics.js file locally.
   Will your plugin work with this local hosted file?

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

 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9335786)
 * Hi,
 * With locally, do you mean XAMPP or something similar?
 *  Thread Starter [aviity](https://wordpress.org/support/users/aviity/)
 * (@aviity)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9339106)
 * No I have hosted the analytics.js file on my web server only. So now my website
   does not have to hit the google server and this decreased my website loading 
   time a lot.
 * I implemented the suggestion at [https://community.keycdn.com/t/hosting-google-analytics-locally/437](https://community.keycdn.com/t/hosting-google-analytics-locally/437)
   
   which allows you to host the google analytics files locally on your server.
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9339274)
 * This is what Google says about it. It’s possible, but not recommended.
 * [https://support.google.com/analytics/answer/1032389?hl=en](https://support.google.com/analytics/answer/1032389?hl=en)
 *  Thread Starter [aviity](https://wordpress.org/support/users/aviity/)
 * (@aviity)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9340514)
 * yeah I am implementing this and I am updating the analytics.js daily. I want 
   to ask you if your plugin supports this type of file and can help me in reducing
   the bounce rate.
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9341841)
 * Yes, it supports it if you point to it in the plugin. The plugin will reduce 
   your bounce rate statistics in Analytics. Your website is not going to rank higher
   because of my plugin.
 *  Thread Starter [aviity](https://wordpress.org/support/users/aviity/)
 * (@aviity)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9356010)
 * And how can I point to it in the plugin? there is no option to select the offline
   analytics.js file.
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9356033)
 * No there is no option, but I will think about it if it’s an idea to add the option
   to the plugin. Bit chance that I won’t, but I don’t think there are many advantages.
 * So you’ll have to update the link with every plugin update… There are not many
   updates, so it won’t be much work.
 * When you open reduce-bounce-rate.php and look at line 414, you can put your url
   there. I would still recommend to use the wp_enqueue_script method. There is 
   enough to read about it online.
 * Good luck!
 *  Thread Starter [aviity](https://wordpress.org/support/users/aviity/)
 * (@aviity)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9356402)
 * thanks I did that and I hope that it will work.
 *     ```
       wp_enqueue_script('rbr_scripts', 'https://www.example.com/analyticsjs.js', array(
                       'jquery'
                   ), '', ($rbrplace == 'footer'));
       ```
   

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

The topic ‘offline analytics’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reduce-bounce-rate_53adc5.svg)
 * [Reduce Bounce Rate](https://wordpress.org/plugins/reduce-bounce-rate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reduce-bounce-rate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reduce-bounce-rate/)
 * [Active Topics](https://wordpress.org/support/plugin/reduce-bounce-rate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reduce-bounce-rate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reduce-bounce-rate/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [aviity](https://wordpress.org/support/users/aviity/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/offline-analytics/#post-9356402)
 * Status: resolved