Analytics Head
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. Why use this 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. Features 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 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 External services 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. Requirements WordPress 6.3 or later (compatible with WordPress 7+) PHP 7.4 or later Examples 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 );
Top keywords
- google19×3.97%
- analytics16×3.34%
- tracking8×1.67%
- consent7×1.46%
- google analytics7×1.46%
- ids7×1.46%
- ad6×1.25%
- defaults6×1.25%
- gtag6×1.25%
- 'granted'5×1.04%
- head5×1.04%
- privacy5×1.04%
Globe Visitors Counter
Globe Visitors Counter (Lite) adds a beautiful, fast, iframe-isolated 3D visitor globe to any WordPress site. It instantly shows your audience geography — fully locally, privately, and without any third-party tracking. This Lite version is designed for clarity, speed, and instant visual feedback — especially on landing pages and campaign pages. Use Case: Instant Visual Feedback for Advertising Campaigns The situation You have a product or a service. You launch an advertising campaign: Google Ads Facebook / Instagram TikTok banner ads email campaigns any other traffic source All traffic is sent to one landing page. Usually what comes next is boring: tables, charts, numbers, dashboards, “we’ll analyze it later”. The solution You place Globe Visitors Counter Lite directly on the landing page. No server setup. No external analytics. No configuration. And you start seeing your traffic with your own eyes. How it works (very simple) You launch the ads Visitors arrive at the page Each real visitor appears as a dot on the globe — in real time, from their actual location The globe comes alive and instantly shows: – whether people are coming at all – which countries and regions react – whether the campaign works or misses completely No dots — ads don’t work. Dots appear — ads are alive. Why Lite is perfect for landing pages Lite is not deep analytics. It’s a visual “life indicator”. Perfect when you need: – fast visual feedback – immediate confirmation that traffic is real – zero setup and zero learning curve – a simple “wow effect” for clients, teams, or investors You watch, not analyze. Key Features Interactive 3D Land-Cover globe included out of the box Real-time visitor logging using a tiny local JSON file Historical dots displayed automatically Zero configuration, works with all themes & editors Shortcode-based, easy placement on any page No cookies, no remote APIs, GDPR-friendly Ultra-fast loading thanks to iframe sandboxing How It Works When a page with the shortcode is opened, the plugin loads a fully self-contained viewer from: /wp-content/uploads/visitors-lite-landcover/ Each visit is logged locally as a minimal record (timestamp + coordinates + city + country) into: visitors.json Everything stays on your server. No tracking pixels. No third-party analytics. No cookies. Why Use It Ideal for landing pages and product launches Visualizes global audience instantly Safe for cached pages and CDNs Works even on heavily optimized sites When You May Need the Full Version Lite is intentionally simple and fast. If you need: – long-term statistics – multiple pages or sites – extended visitor history – advanced visual modes and skins – more control and customization …then the Full (Pro) version may be a better fit. Lite remains perfect for single pages, launches, tests, and quick visual validation. Tester Program (optional) We are tuning defaults and performance for upcoming builds. If you want to enable advanced features during testing at no cost (extra visual modes, effects, skins), join via Support: https://wordpress.org/support/topic/looking-for-testers-free-advanced-features-for-feedback/ Usage Shortcode: [visitors_globe_lite title=”VISITORS” width=”100%” height=”600″] Attributes: – title — optional caption above the globe – width — iframe width (100% or fixed px) – height — iframe height in px Place the shortcode anywhere — Classic or Block editor.