How to Host Google Analytics Locally on Your Child Site

If you are looking at ways to improve the site performance of a site that is using Google Analytics for site analytics, then one option is to host Google Analytics locally on your child site.

There is a new plugin called Flying Analytics, which makes it very easy to be able to host Google Analytics locally on your child site. After you have installed and activated the plugin it will add a new admin menu too;

Settings > Flying Analytics

There will be two analytics JS options, which will show the recommended option is to go with the analytics.js file which is 44 KB in size the Minimal Analytics options are only 1.5 KB in size. You can find more about the difference between these two analytic JS options from this link

You will need to find your Google Analytics tracking ID UA code, which you can find from the property settings section in your Google Analytics account for your site. Then once you have entered the UA code you will need to click on the save settings button on the plugin settings page.

The option names that the Flying Analytics plugin creates are as follows;

Manage all your WordPress sites with the MainWP Dashboard

WordPress Management for Professionals

Are you ready to go Pro?

All MainWP Pro Extensions are available through one of our convenient bundled packages.


Using the Flying Analytics plugin will help improve your site load time by allowing you to easily locally host Google Analytics on your child site.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Looking for something?

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.