CAOS | Host Google Analytics Locally
by Daan van den Bergh · Analytics
Also makes 2 other plugins · 311K+ installs across the portfolio →
The fastest, lightest way to integrate Google Analytics in WordPress.
91 health vs 64 average across 1,029 Analytics plugins
Directory ranking optimization
How it's scored →How well this listing is tuned to rank in WordPress.org search, on the factors an owner controls. Not popularity, optimization.
Excellent listing optimization
Well tuned across the board
Daily downloads
Since 2022-10-05 · 1,425 days · wp.org + Plugin Pulse archive
30-day downloads
Rolling 30-day volume · peaks are release surges
26.5K
now · peak 44.3K
Directory rank vs rivals
wp.org popularity rank over time · higher is better · when a rival's line climbs above yours, they've overtaken you
Rating trend
Star average over time · dips mark rough releases
Update activity
How busy the existing users are, measured as downloads in the last 30 days for every 1,000 active sites. A spike means a new release everyone's pulling; a long, slow decline means an aging user base that updates less.
Release cadence
Occasionally updatedHow often this plugin actually ships. A steady rhythm is the maintenance signal a single "last updated" date can't show.
3
releases in the last 12 months
3mo ago
latest release · v5.0.3
127
tagged releases on record
Recent releases
What its installed base runs
via wordpress.orgShare of active installs on each version of this plugin · 75% run the current release. Green is the current release; a big slice on older versions is a user base that has stopped updating.
Estimated active installs
The public count shows “10K+”. Our estimate pins where the real number sits.
Refined from the date this plugin crossed into its current band.
Install history · since 2016-12-23 · 1,474 observations
Estimated value
What this plugin might earn a year, and what it might sell for. Modeled from public signals; we don't see anyone's books.
Est. annual revenue
Est. acquisition value
No paid tier is visible, so we don't put a figure on revenue or sale value: that would be guessing. The install base is a real asset to an acquirer, just not one public data lets us price.
Details
Recent reviews
All reviews on wp.org ↗- ★★★★★ katmacau9mo ago
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.
Read on wp.org ↗ - ★★★★★ Fabio Perri2.5y ago
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 coded, it also turns out to be very streamlined, lightweight and packed with lots of features and most importantly it works perfectly (mind you, do not confuse the errors that can be caused by an incompatibility with obsolete versions of PHP, because using the updated versions of PHP and supported by this plugin, although I have been using this plugin for a long time, I have not yet encountered any errors in this plugin).Basically with CAOS | Host Google Analytics Locally, this simple but very powerful WordPress plugin allows you to host gtag.js locally and keep it up-to-date very easily using the built-in WordPress cron schedule and everything is fully automatic.Is compatible with all Google Analytics plugins such as: MonsterInsights (Pro), ExactMetrics, Google Site Kit, Google Analytics for WooCommerce, WooCommerce Google Analytics Pro, Analytify and many more.Is also compatible with all Cookie Notice type plugins such as: Complianz, CookieYes, WP Cookie Notice, Cookie Notice & Compliance, Cookie Notice & Consent Banner and many more.Also you can preconnect to google-analytics.com to reduce latency and speed up requests, add tracking code in the footer header or do it manually and much, much more! Oh I forgot… it is virtually completely free but there is also a paid Professional version available (optionally) that adds, for those who need it, support for:– 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. To finish I still give my compliments to the Developer Mr. Daan van den Bergh and I can only recommend you to try it because it is really an Excellent plugin for WordPress and I am very proud to have completely translated it into Italian! Greetings and have a nice day. This topic was modified 2 years, 4 months ago by Steven Stern (sterndata). This topic was modified 2 years, 4 months ago by Fabio Perri.
Read on wp.org ↗ - ★★★★★ shredengineer2.9y ago
Great product & great customer service!
Read on wp.org ↗ - ★★★★★ Theophilus Opoku Bannor3.2y ago
This plug-in solved my nightmare in pagespeed insight. I had little issues with it at first but the support was beyond superb.
Read on wp.org ↗ - ★★★★★ CarlosPiresAdv3.3y ago
good job
Read on wp.org ↗ - ★★★★★ russ193.9y ago
Thank you so much. I have been unable to have any analytics tracking without scoring bad in page speed until now. It was one or the other. Anything made by google i avoid now as it seems that the LCP score is unachievable if you use monster, or site kit etc. Thanks again.
Read on wp.org ↗ - ★★★★★ fedor774.2y ago
Используюсь плагином более трех лет, проблем не возникало.
Read on wp.org ↗ - ★★★★★ Anonymous4.2y ago
I have been looking for a solution that would (a) offload my Google Analytics and enable me to run both UA3 and GA4 in parallel. CAOS solved that problem for me. I had one question, and Daan answered it promptly. I will be upgrading to Pro to support his awesome development efforts!
Read on wp.org ↗
Latest updates
via wp.org changelogRecent releases and news for this plugin
- — Version 5.0.3 Tested with WP 7.0. 5.0.3
- — Version 5.0.2 Fixed: Preconnect attribute shouldn’t be added when Allow Tracking is set. Added: custom wrapper for Gtag that makes sure custom gtag() events keep working. 5.0.2
- — Version 5.0.1 Tested with WP 6.9. Fixed: syntax error in the Update Available message would break JS execution on the Plugins overview page. Fixed: on some instances an Uncaught TypeError would appear on every page in the admin screen 5.0.1
- — Version 5.0.0 Improved: new settings screen fully aligned with Daan.dev’s new look! Improved: possible XSS vulnerability. Improved: CAOS’ settings can now be found under Settings > CAOS (instead of Optimize Google Analytics) Minor cod 5.0.0
- — Version 4.8.7 Improved PHP 8.3 compatibility. Tested with WP 6.8. 4.8.7
- — Version 4.8.6 Fixed: Minimal Analytics would stop working in 4.8.5. 4.8.6
Known vulnerabilities
via Wordfence Intelligence2 disclosed vulnerabilities on record for this plugin, all fixed in the current version. Sites on older versions stay exposed until they update.
- 2021-12-01 CVE-2021-25020 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Affects <= 4.1.8 Patched in 4.1.9
Vulnerability records provided by Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. License and terms.
CVE records: Copyright 1999-2026 The MITRE Corporation. CVE terms of use.
Behavioral tests
via WP HiveAutomated install-time checks, tested on PHP 8.1.12 · WP 7.0
Languages
via translate.wordpress.orgTranslated into 5 languages, 1 at 90% or more
Growth timeline
Install-tier crossings we have observed, and how long each tier took to outgrow
- 2024-06-29 20K+ → 10K+ down
Competes with
The plugins that solve the same job, ranked by shared tags then reach, closest match first. The letter on the right is each plugin's health grade (A best, F worst).
-
Site Kit by Google – Analytics, Search Console, AdSense, Speed 5M+ installs · 4.2★ · 2 shared tags A -
GA Google Analytics – Connect Google Analytics to WordPress 400K+ installs · 4.8★ · 2 shared tags A -
OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. 300K+ installs · 4.6★ · 2 shared tags A -
Local Google Fonts 100K+ installs · 4.5★ · 2 shared tags C -
Matomo Analytics – Powerful, Privacy-First Insights for WordPress 100K+ installs · 4.5★ · 2 shared tags A -
AI Powered Marketing 50K+ installs · 3.0★ · 2 shared tags B
Embed this report card
Drop a live Pulse card for CAOS | Host Google Analytics Locally into a readme, a review or a deck. It updates itself.
<iframe src="https://plugins.wpmayor.com/embed/host-analyticsjs-local" width="480" height="300" style="border:0" loading="lazy" title="CAOS | Host Google Analytics Locally — Plugin Pulse"></iframe> CAOS | Host Google Analytics Locally: 10K+ active installs, 4.9★ (128 reviews). Plugin Pulse (WP Mayor), as of 2026-08-29. https://plugins.wpmayor.com/plugin/host-analyticsjs-local