🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
CAOS | Host Google Analytics Locally icon
Mantido Testado até 7.0.9 #37 in analytics

CAOS | Host Google Analytics Locally

The fastest, lightest way to integrate Google Analytics in WordPress.

Instalações ativas10K+Nível de 10K+
Downloads · 30d1.8K• -0.3% vs prev. 30d
Classificação4.9/5128 reviews
Pontuação da saúde73/100Bom
Downloads de todos os tempos2MDesde maio de 2016
Suporte resolvido1 / 1100% nos últimos 2 meses
RequerWP 4.6PHP 7.0+
Downloads · 7d409▼ -6.6% week over week
Nosso veredicto

Escolha sólida

CAOS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 4.9/5 and was last updated 6 months ago, and scores 73/100 on our health check.

  • Comprovado em escala em sites ativos de mais de 10 mil
  • Loved by users — 4.9/5 from 128 reviews

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

285684Sep 3Oct 17Dec 1
Ontem66
Média diária (1y)662
Dia de pico4,285Jun 4, 2026
Últimos 12 meses241K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where CAOS stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
analytics #33 9,337 Best analytics plugins →
GDPR >100 4,252 Os melhores plugins GDPR →
google #79 10,000 Os melhores plugins do Google →
gtag #1 289 Best gtag plugins →
minimal #4 3,432 Best minimal plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 5.077.4%
  • 4.77.2%
  • 4.85.3%
  • Outros10.1%

Divisão de classificação

★★★★★★★★★★ 4.9 from 128 reviews

  • 5★96.9%
  • 4★0.80%
  • 3★0.00%
  • 2★0.00%
  • 1★2.3%

About CAOS | Host Google Analytics Locally

From the official readme · v5.0.3

Descrição

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.

Recursos

  • 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.

Instalação

  1. Upload the plugin files to the /wp-content/plugins/host-analyticsjs-local directory, or install the plugin through the WordPress plugins repository directly.
  2. Ative o plugin através da tela 'Plugins' em WordPress
  3. Use the Settings -> Optimize Google Analytics screen to configure the plugin

Log de Changes

5.0.3

  • Tested with WP 7.0.

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.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.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 code improvements to MA4-template.

4.8.7

  • Improved PHP 8.3 compatibility.
  • Tested with WP 6.8.

4.8.6

  • Fixed: Minimal Analytics would stop working in 4.8.5.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best CAOS alternatives

All analytics plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Kit do site Google – análise, console de pesquisa, adsense, velocidade Kit do site por Google O Site Kit é uma solução única para os usuários WordPress usarem tudo que Google tem a oferecer… por Google 5M+ ★★★★★★★★★★ 4.2 (1K) 2 dias atrás 92
2 MonsterInsights – Google Dashboard do Analytics para WordPress (Estatísticas do site facilitadas) MonsterInsights O melhor plugin gratuito Google Analytics para WordPress. Veja como os visitantes encontram e usam seu… por Chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 3 meses atrás 93
3 WP Statistics – alternativa simples e amigável à privacidade Google Alternativa de análise Estatísticas WP Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (763) 1 dia atrás 90
4 GA Google Analytics – Conecte Google Analytics a WordPress GA Google Analytics – Conecte Google Analytics a WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. Por Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) 4 dias atrás 97
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… Por Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) 3 meses atrás 80
6 Cabeça, rodapé e pós injeções Cabeça, rodapé e pós injeções O plug-in de cabeça e rodapé permite adicionar código HTML às seções de cabeça e rodapé do seu… Por Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 8 meses atrás 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (192) 1 dia atrás 94
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 6 dias atrás 81
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds Por Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) 3 meses atrás 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… por dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 semana atrás 96

FAQ

CAOS | Host Google Analytics Locally: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is CAOS free?

Yes. CAOS is free to download and use from the official WordPress.org plugin directory.

Is CAOS safe to use in 2026?

CAOS is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 4.9/5 and was last updated 6 months ago, and scores 73/100 on our health check.

How many websites use CAOS?

CAOS is active on 10K+ WordPress websites and has been downloaded 2,045,077 times since it launched in May 2016. It was downloaded 1,780 times in the last 30 days.

Does CAOS work with WordPress 7.1?

CAOS is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does CAOS need?

CAOS requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was CAOS last updated?

The latest version, 5.0.3, was released on June 4, 2026 (6 months ago).

Who makes CAOS?

CAOS is developed and maintained by Daan van den Bergh.

What are the best alternatives to CAOS?

The most popular alternatives to CAOS are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir