Flying Analytics by WP Speed Matters


Host Google Analytics locally using any one of these:

  • Gtag.js v4 (91KB)
  • Gtag.js (66KB)
  • Analytics.js (44KB)
  • Minimal Analytics.js (1.5KB)

Optionally, disable Analytics when admin is logged in.


  • Flying Analytics Settings


  1. Visit ‘Plugins > Add New’
  2. Search for ‘Flying Analytics’
  3. Activate Flying Analytics for WordPress from your Plugins page.
  4. Visit ‘Settings -> Flying Analytics’ to configure


30 April 2020
Reduced my load speeds and inlined my analytics in less than 5 minutes setup time. Thanks Gijo!
28 April 2020
I recently discovered Gijo's facebook group wp speed matters and gave a few of his plugins a try. This one just works out of the box. I removed the analytics code from my theme, activated the plugin and voilààà... My analytics.js code is hosted locally. Thanks a lot for developing awesome tools to speedup wp sites!
7 April 2020
Hilarious because I have fought with Analytics for so long. Inline worked best for me. Was at 99 and 92 with Autoptimize and this sweet little plugin put me at 100 and 94 LOL! Thanks for this I was fixing to start drinking.
Read all 11 reviews

Contributors and Developers

“Flying Analytics by WP Speed Matters” is open source software. The following people have contributed to this plugin.


Change Log


  • Support for Google Analytics 4


  • Security updates


  • [BUGFIX] 404 error on js files


  • [BUGFIX] Warning for constant FILE



  • Initial release