CAOS | Host Google Analytics Locally
View on WordPress.orgScores higher than 79% of indexed plugins
About
The fastest, lightest way to integrate Google Analytics in WordPress.
Security History
What It Does
CAOS downloads the Google Analytics tracking script (analytics.js or gtag.js) and serves it from your own WordPress server instead of pulling it from Google's CDN. It also lets you anonymize IP addresses, set up cookie consent strings, and adjust script loading priority for better PageSpeed scores. In practice, it removes a third-party request from your site, which trims load time and keeps some ad blockers and privacy tools from tripping.
Who It's For
This plugin is built for site owners who care about Core Web Vitals, want to avoid being flagged by ad blockers or cookie consent banners as much as possible, and run analytics without giving Google a direct front-end request on every page. It fits performance-focused blogs, European small businesses under GDPR pressure, and publishers who want lightweight tracking without the overhead of a full Google dashboard integration.
Who Should Skip It
If you want Google's own dashboard, Search Console data, AdSense stats, and tag management in one place, Site Kit by Google does all of that and is a better fit. Anyone running a heavy marketing stack with Google Tag Manager for multiple vendors should also skip this and use GTM directly, since CAOS focuses on a single Analytics script.
The Bottom Line
CAOS earns an 80.11 overall score and is a focused, well-maintained utility that does one thing, hosting Analytics locally, very well. It will not replace Site Kit for users who want Google's full dashboard, and the small install base is the only real concern for long-term support risk. For performance-conscious site owners who already know their tracking ID, it is one of the leanest options available.
Related Plugins
Pick Site Kit instead if you want Search Console, AdSense, and Tag Manager data inside wp-admin, not just faster Analytics loading.
This is a different use case entirely (review widgets), so only relevant if your real need is Google Business reviews, not analytics.
Choose Burst if you want cookieless, GDPR-friendly analytics that stay entirely on your own server and skip Google entirely.
Pair this with CAOS rather than picking it instead, since it handles the consent banner layer that CAOS assumes you already have.
Like GDPR Cookie Compliance, Complianz is a consent management plugin; combine it with CAOS for a full privacy stack rather than treating them as direct swaps.