CAOS | Host Google Analytics Locally
Download CAOS | Host Google Analytics Locally 5.0.3Description
At a glance
Looking for CAOS | Host Google Analytics Locally v5.0.3? It is available here as a free GPL download for WordPress — 10K+ active installs · 4.9/5 rating from 128 reviews · updated June 4, 2026 · requires WordPress 4.6+ & PHP 7.0+.
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 Measurement 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.
Frequently asked questions
What is CAOS | Host Google Analytics Locally?
CAOS | Host Google Analytics Locally is a free WordPress plugin available under the GPL license. The current version is 5.0.3. It is active on over 10K websites.
Is CAOS | Host Google Analytics Locally free to download?
Yes — CAOS | Host Google Analytics Locally 5.0.3 is a free GPL download with no hidden fees, no account needed, and no feature locked behind a paywall in this package. Users rate it 4.9 out of 5 based on 128 reviews.
How do I install CAOS | Host Google Analytics Locally 5.0.3?
Download the ZIP file from this page, then in your WordPress dashboard go to Plugins → Add New → Upload Plugin, choose the file, click Install Now, then Activate. The plugin works immediately after activation — no license key or extra setup is required for the core features.
What are the requirements for CAOS | Host Google Analytics Locally?
CAOS | Host Google Analytics Locally 5.0.3 requires WordPress 4.6 or higher and PHP 7.0 or higher. Most modern WordPress hosts already meet these versions. Running older versions may cause features to break, so update WordPress and PHP first if your site is behind.
When was CAOS | Host Google Analytics Locally last updated?
Version 5.0.3 was last updated on June 4, 2026. This page is refreshed automatically, so the download here always matches the newest version we have verified.
Is the CAOS | Host Google Analytics Locally download safe?
The file is sourced directly from the official WordPress.org repository — the same file the developer published. It is served unmodified, so what you install here is byte-identical to the official release.
Technical details
| Version | 5.0.3 |
|---|---|
| Last updated | June 4, 2026 |
| Active installs | 10,000+ |
| Rating | ★★★★★ 4.9/5 (128 reviews) |
| Requires WordPress | 4.6 or higher |
| Requires PHP | 7.0 or higher |
| Author | Daan van den Bergh |
| Tags | analytics, gdpr, google, gtag, minimal |
Download CAOS | Host Google Analytics Locally
Download CAOS | Host Google Analytics Locally WP PluginNote: if the download does not start, disable your ad blocker and try again.