🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Analytics Head icon
Mantido Testado até 7.0.9

Analytics Head

A lightweight Google Analytics plugin for WordPress. Paste your Measurement ID, choose head or footer — done.

Instalações ativas600+100+ nível
Downloads · 30d364▲ +42.7% vs prev. 30d
Classificação5/51 comentários
Pontuação da saúde62/100Bom
Downloads de todos os tempos27KSince Jun 2011
Suporte resolvido—Sem tópicos recentes
RequerWP 6.3Php 7.4+
Downloads · 7d119▲ +33.7% week over week
Nosso veredicto

Escolha sólida

Analytics Head is a solid plugin choice in 2026, with a few things worth checking first. It runs on 600+ sites, is rated 5/5 and was last updated 4 months ago, and scores 62/100 on our health check.

  • Base de usuários pequenas (600+ instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

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

Downloads diários

51117Aug 31Oct 14Nov 28
Ontem11
Média diária (1y)6
Dia de pico23Jul 28, 2026
Últimos 12 meses2.3K

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

Rankings

Where Analytics Head stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
analytics #41 9,235 Best analytics plugins →
GA4 #41 674 Os melhores plugins GA4 →
gtag #4 286 Best gtag plugins →
lightweight #68 9,428 Best lightweight plugins →
tracking >100 10,000 Best tracking plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.651.2%
  • 1.741.9%
  • Outros7.0%

Divisão de classificação

★★★★★ ★★★★★ 5 de 1 comentários

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Analytics Head

From the official readme · v1.7.0

Descrição

Analytics Head is a deliberately simple WordPress plugin for Google Analytics. No dashboards, no Google account connection, no feature creep — just the tracking code, placed exactly where you want it.

Por que usar este plugin?

  • Lightweight — a handful of options, minimal overhead, no external dependencies
  • Easy — paste your GA4 Measurement ID (G-XXXXXXXXXX) and you are done
  • Head placement by default — required for Google Search Console verification via Analytics
  • Flexible — footer placement, role-based hiding, Consent Mode v2, optional Google Ads IDs
  • Developer-friendly — filters and actions to customize output without forking the plugin

Unlike heavyweight analytics suites, this plugin does one job well: inject the standard gtag.js snippet into your site.

Recursos

  • Google tag / GA4 Measurement ID support (GT-…, G-XXXXXXXXXX)
  • Additional tracking IDs for separate destinations (e.g. Google Ads AW-)
  • Legacy UA- ID acceptance (with admin notice to migrate)
  • Code in <head> by default (optional footer placement)
  • Tracking never injected in wp-admin
  • Hide tracking for administrators on the front end
  • Hide tracking per user role
  • Google Consent Mode v2 defaults (for GDPR / cookie plugins)
  • Keep settings on uninstall (optional)
  • Developer hooks and filters

Serviços externos

This plugin connects to Google Analytics (via Google Tag Manager / gtag.js) to provide website analytics.

  • When: on public front-end page views only (never in the WordPress admin area), unless tracking is hidden for the current visitor by plugin settings
  • What is sent: standard Google Analytics measurement data (for example page URL, referrer, browser/device information, and IP-derived location), processed by Google
  • Who receives it: Google LLC / Google Analytics
  • Terms of Service: https://marketingplatform.google.com/about/analytics/terms/us/
  • Privacy Policy: https://policies.google.com/privacy

You are responsible for informing visitors (for example in your privacy policy) and, where required, obtaining consent. Suggested privacy policy text is also offered under Settings → Privacy when the plugin is active.

Requisitos

  • WordPress 6.3 or later (compatible with WordPress 7+)
  • PHP 7.4 or later

Exemplos

Filter tracking IDs

add_filter( 'pp_google_analytics_head_tracking_ids', function( $ids ) {
    // Add a separate destination only — not a second ID for the same Google tag.
    $ids[] = 'AW-123456789';
    return $ids;
} );

Change Consent Mode defaults (PHP)

add_filter( 'pp_google_analytics_head_consent_defaults', function( $defaults ) {
    $defaults['wait_for_update'] = 2000;
    $defaults['region'] = [ 'PL', 'DE', 'US-CA' ];
    return $defaults;
} );

Grant consent after the user accepts cookies (JavaScript)

Call this from your consent plugin callback or custom banner “Accept” handler. Update all four types that this plugin sets to denied by default:

gtag('consent', 'update', {
    analytics_storage: 'granted',
    ad_storage: 'granted',
    ad_user_data: 'granted',
    ad_personalization: 'granted'
});

If you only want basic analytics (not ads), grant analytics and keep ads denied:

gtag('consent', 'update', {
    analytics_storage: 'granted',
    ad_storage: 'denied',
    ad_user_data: 'denied',
    ad_personalization: 'denied'
});

Modify the inline gtag config

add_filter( 'pp_google_analytics_head_inline_script', function( $script, $ids ) {
    $script .= "gtag('event','page_view');";
    return $script;
}, 10, 2 );

Instalação

  1. Upload the analytics-head directory to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Settings → Analytics Head
  4. Enter your GA4 Measurement ID (G-XXXXXXXXXX)
  5. Save — tracking starts immediately

Log de Changes

Major update: GA4 support, Consent Mode, role-based hiding, lighter codebase. WordPress 6.3+ and PHP 7.4+ required. The legacy pp_google_analytics_head_output filter was removed — use the new filters. Replace UA- IDs with GA4 G- IDs.

1.7.0

  • Release date: 2026-07-28
  • Renamed display name to Analytics Head (WordPress.org naming guidelines)
  • Google tag / GA4 ID support (GT-, G-) and Google Ads IDs (AW-)
  • WordPress 6.3+ and PHP 7.4+ requirement; async script strategy; tested with WordPress 7+
  • Translations via WordPress Polyglots (removed bundled language files)
  • Output via wp_enqueue_script with real async strategy (inline gtag queued as before)
  • Tracking IDs resolved once during wp_enqueue_scripts (late filters / conditional tags work)
  • Consent Mode v2 defaults for GDPR / cookie plugin integration (including optional region)
  • No wp-admin tracking; role-based front-end visibility via wp_roles()
  • Optional keep settings on uninstall (batched multisite cleanup)
  • External service documentation and privacy policy helper text
  • Invalid IDs no longer wipe previously saved values; filter validation hardened

1.6.7

  • Release date: 2018-11-21
  • Set compatibility tag

Registro de change completo em WordPress.org →

Capturas de tela

Settings page — paste your Measurement ID and choose placement.
Settings page — paste your Measurement ID and choose placement.

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 Analytics Head 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 semanas 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) 2 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) 2 dias 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) 22 hours ago 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) 2 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 (191) 3 semanas 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) 3 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) 2 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) 5 dias atrás 96

FAQ

Analytics Head: quick answers

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

Fonte: WordPress.org

Is Analytics Head free?

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

Is Analytics Head safe to use in 2026?

Analytics Head is a solid plugin choice in 2026, with a few things worth checking first. It runs on 600+ sites, is rated 5/5 and was last updated 4 months ago, and scores 62/100 on our health check.

How many websites use Analytics Head?

Analytics Head is active on 600+ WordPress websites and has been downloaded 27,003 times since it launched in June 2011. It was downloaded 364 times in the last 30 days.

Does Analytics Head work with WordPress 7.1?

Analytics Head 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 Analytics Head need?

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

When was Analytics Head last updated?

The latest version, 1.7.0, was released on July 28, 2026 (4 months ago).

Who makes Analytics Head?

Analytics Head is developed and maintained by Łukasz Nowicki.

What are the best alternatives to Analytics Head?

The most popular alternatives to Analytics Head 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