- Active installs
- 10k+
- 128 ratings
- 4.9
- Last updated
- 6 months ago
- Version
- 5.0.3
- Tested up to
- WP 7.0.9
About this plugin
CAOS can be downloaded for free without any paid subscription from the official WordPress repository.
CAOS (Complete Analytics Optimization Suite) for Google Analytics allows you to host gtag.js locally and keep it updated using WordPress’ built-in Cron-schedule. Fully automatic!
Not a big Google Analytics user and just curious about your pageviews? CAOS fully supports Minimal Analytics 4. An extremely lightweight alternative to Google Analytics’ default libraries (gtag.js). Minimal Analytics also helps you get rid of that annoying Unused JS notice in Google PageSpeed Insights!
Whenever you run an analysis of your website on Google Pagespeed Insights, Pingdom or GTMetrix, it’ll tell you to leverage browser cache when you’re using Google Analytics. Because Google has set the cache expiry time to 2 hours. This plugin will get you a higher score on Pagespeed and Pingdom and make your website load faster, because the user’s browser doesn’t have to make a roundtrip to download the file from Google’s external server.
Just install the plugin, enter your Mesurement ID and the plugin adds the necessary Tracking Code for Google Analytics 4 to the header (or footer) of your theme, downloads and saves the gtag.js-file to your website’s server and keeps it updated (automagically) using a scheduled script in wp_cron(). Or if you’d like to use the locally hosted file with another plugin, check Compatibility Mode under Advanced Settings, Either way, CAOS is a set and forget plugin.
For more information: [How to setup CAOS](For more information: How to setup CAOS.
Features
- Host gtag.js for Google Analytics 4 locally,
- Downloaded files are renamed to random strings to avoid ad blockers,
- Minimal Analytics 4 support,
- Compatibility Mode allows you to use the locally hosted file with all Google Analytics plugins, e.g.
- MonsterInsights (Pro),
- ExactMetrics
- Site Kit by Google,
- WooCommerce Google Analytics Integration,
- WooCommerce Google Analytics Pro,
- Analytify,
- And many more!
- Compatible with all Cookie Notice plugins, e.g.
- Complianz,
- CookieYes,
- WP Cookie Notice,
- Cookie Notice & Compliance,
- Cookie Notice & Consent Banner,
- And many more!
- Preconnect to google-analytics.com to reduce latency and speed up requests,
- Add tracking code to header, footer or manually,
- Save gtag.js anywhere within the WordPress content (wp-content) directory to avoid detection by WordPress security plugins (such as WordFence) or removal by caching plugins (such as WP Super Cache),
- Serve gtag.js from your CDN,
- Set Cookie Expiry Period,
- Force disabling display features functionalities,
- Track logged in Administrators,
Features in CAOS Pro
Use Google Analytics in compliance with GDPR with:
– Randomize Client ID (which grants a fresh, untraceable UUID/ClientID to each visitor),
– Stealth Mode (a unique, customized API, designed for WordPress, which anonymizes your visitor’s data before sending it to Google’s servers).
Other features:
– Cloaked Affiliate Link Tracking,
– Cloudflare Compatibility Mode.
Analytics
Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.
- #16 by installs among 52 tracked plugins tagged "Google".
- Passes every health check below.
Health checks
Everything a careful site owner looks at before installing.
- Actively maintained Last release 6 months ago
- Tested with current WordPress Tested up to 7.0.9
- Support questions answered 1 of 1 resolved in two months
- Well rated 4.9 stars from 128 ratings
- Latest week
- 424
- Typical week
- 5,302
- Peak
- 14,231 Week of Dec 1, 2025
View as table
| Week | Downloads |
|---|---|
| Week of Nov 23 | 424 |
| Week of Nov 16 | 402 |
| Week of Nov 9 | 375 |
| Week of Nov 2 | 438 |
| Week of Oct 26 | 430 |
| Week of Oct 19 | 476 |
| Week of Oct 12 | 408 |
| Week of Oct 5 | 399 |
| Week of Sep 28 | 448 |
| Week of Sep 21 | 431 |
| Week of Sep 14 | 452 |
| Week of Sep 7 | 429 |
| Week of Aug 31 | 765 |
| Week of Aug 24 | 4,773 |
| Week of Aug 17 | 6,282 |
| Week of Aug 10 | 6,132 |
| Week of Aug 3 | 6,460 |
| Week of Jul 27 | 6,463 |
| Week of Jul 20 | 6,219 |
| Week of Jul 13 | 6,225 |
| Week of Jul 6 | 6,302 |
| Week of Jun 29 | 5,822 |
| Week of Jun 22 | 5,822 |
| Week of Jun 15 | 6,100 |
| Week of Jun 8 | 6,635 |
| Week of Jun 1 | 11,383 |
| Week of May 25 | 5,971 |
| Week of May 18 | 6,521 |
| Week of May 11 | 6,172 |
| Week of May 4 | 12,356 |
| Week of Apr 27 | 5,251 |
| Week of Apr 20 | 5,309 |
| Week of Apr 13 | 5,168 |
| Week of Apr 6 | 5,201 |
| Week of Mar 30 | 5,220 |
| Week of Mar 23 | 5,146 |
| Week of Mar 16 | 5,151 |
| Week of Mar 9 | 5,703 |
| Week of Mar 2 | 5,200 |
| Week of Feb 23 | 5,255 |
| Week of Feb 16 | 5,233 |
| Week of Feb 9 | 5,294 |
| Week of Feb 2 | 5,413 |
| Week of Jan 26 | 5,265 |
| Week of Jan 19 | 5,279 |
| Week of Jan 12 | 5,395 |
| Week of Jan 5 | 5,431 |
| Week of Dec 29, 2025 | 5,453 |
| Week of Dec 22, 2025 | 5,436 |
| Week of Dec 15, 2025 | 5,804 |
| Week of Dec 8, 2025 | 6,313 |
| Week of Dec 1, 2025 | 14,231 |
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
Latest on WordPress.org
Great plugin that I use for every site that has Google Analytics. Solves the speed issues on google page speed scores when you install GA the traditional way.
There is really little to add to the title of this review other than to congratulate the Developer Mr. Daan van den Bergh. As mentioned in the title of this review, the CAOS | Host Google Analytics Locally for WordPress plugin is really well designed and…
Great product & great customer service!
This plug-in solved my nightmare in pagespeed insight. I had little issues with it at first but the support was beyond superb.
good job
