Metrics Query
This Google Analytics for WordPress plugin enables you to track your site using the latest Google Analytics tracking code and allows you to view key Google Analytics stats in your WordPress install. In addition to a set of general Google Analytics stats, in-depth Page reports and in-depth Post reports allow further segmentation of your analytics data, providing performance details for each post or page from your website. The Google Analytics tracking code is fully customizable through options and hooks, allowing advanced data collection like custom dimensions and events. Credits This plugin forked from Google Analytics Dashboard for WP Created by Alin Marcu and forked by Yehuda Hassine Google Analytics Real-Time Stats Google Analytics reports, in real-time, in your dashboard screen: Real-time number of visitors Real-time acquisition channels Real-time traffic sources details Google Analytics Reports The Google Analytics reports you need, on your dashboard, in your All Posts and All Pages screens, and on site’s frontend: Sessions, organic searches, page views, bounce rate analytics stats Locations, pages, referrers, keywords, 404 errors analytics stats Traffic channels, social networks, traffic mediums, search engines analytics stats Device categories, browsers, operating systems, screen resolutions, mobile brands analytics stats In addition, you can control who can view specific Google Analytics reports by setting permissions based on user roles. Google Analytics Tracking Installs the latest Google Analytics tracking code and allows full code customization: Universal Google Analytics (analytics.js) tracking code Global Site Tag (gtag.js) tracking code Enhanced link attribution Remarketing, demographics and interests tracking Page Speed sampling rate control User sampling rate control Cross domain tracking Exclude user roles from tracking Accelerated Mobile Pages (AMP) support for Google Analytics Ecommerce support for Google Analytics User privacy oriented features: IP address anonymization option to follow Do Not Track (DNT) sent by browsers support for user tracking opt-out Google Analytics Dashboard for WP enables you to easily track events like: Downloads Emails Outbound links Affiliate links Fragment identifiers Telephone Page Scrolling Depth Custom event categories, actions and labels using annotated HTML elements With Google Analytics Dashboard for WP you can use custom dimensions to track: Authors Publication year Publication month Categories Tags User engagement Actions and filters are available for further Google Analytics tracking code customization. Google Tag Manager Tracking As an alternative to Google Analytics tracking code, you can use Google Tag Manager for tracking: Google Tag Manager code Data Layer variables: authors, publication year, publication month, categories, tags, user type Exclude user roles from tracking Accelerated Mobile Pages (AMP) support for Google Tag Manager Accelerated Mobile Pages (AMP) features Google Tag Manager basic tracking Google Analytics basic tracking Automatically removes amp/ from Google Analytics tracking page URL Scrolling depth tracking Custom dimensions tracking User sampling rate control Form submit tracking File downloads tracking Affiliate links tracking Hashmarks, outbound links, telephones and e-mails tracking Custom event categories, actions and labels using annotated HTML elements Google Analytics Dashboard for WP on Multisite This plugin is fully compatible with multisite network installs, allowing three setup modes: Mode 1: network activated using multiple Google Analytics accounts Mode 2: network activated using a single Google Analytics account Mode 3: network deactivated using multiple Google Analytics accounts Localization You can translate Metrics Query on translate.wordpress.org.
Top keywords
- analytics32×5.96%
- google31×5.77%
- google analytics26×4.84%
- tracking24×4.47%
- code9×1.68%
- user9×1.68%
- analytics tracking7×1.30%
- google analytics tracking7×1.30%
- stats7×1.30%
- tracking code7×1.30%
- analytics stats6×1.12%
- dashboard6×1.12%
Statnive – Privacy-first Analytics + Revenue Reports for WooCommerce
The privacy-first analytics plugin for WordPress, with an Ask me! tab that turns your top questions into one-click answers. See exactly who visits your site, where they come from, what they do, and on WooCommerce stores how that converts into revenue. No cookies, no third-party trackers, no visitor data sent anywhere. All analytics and revenue data live in your own WordPress database. Just ask. No reports to dig through. Most analytics dashboards make you learn the tool before you can answer a question. Statnive’s Ask me! tab flips that around. Pin your 5 favourite questions and the answers fill in the moment the page loads. Browse 10 category tabs (Traffic, Pages, Referrers, Geography, Devices, Real-time, Engagement, Revenue, Events, Campaigns) and click any question to expand the live answer with the same date range you set everywhere else. Owners typically open Statnive to ask: How much traffic this week? Where is my traffic coming from? Which pages get the most views? What countries are my visitors from? Is my traffic mobile or desktop? How many people are on my site right now? What’s my best landing page? How much organic search traffic? Did my campaign work? Is my tracking working? Every answer is computed locally from your WordPress database. No AI, no LLM, no third-party API, no question ever leaves your server. The same SQL that powers the dedicated reports answers the Ask me! cards, so the numbers always match what the reports show. Open source under GPLv2. Self-hosted in your own database — nothing ever leaves your server. Install, activate, open Statnive — your dashboard fills up within minutes. No tracking code to paste, no account to create. If WooCommerce is active, existing orders are auto-imported in the background so the Revenue Report fills in within minutes. Why Statnive? No cookies. No fingerprinting. No third-party transfers. Designed to support GDPR, CCPA, and APPI compliance. Honors GPC and DNT server-side, integrates with the WordPress Consent API. Daily-rotating salted hashes — cross-day and cross-site tracking are mathematically impossible. One plugin for analytics AND WooCommerce revenue — no separate add-on, no separate license, no clutter, no upsells. Key Features Ask me! tab — 120 owner questions across 10 categories, answered straight from your database. Pin the 5 you ask most so they sit at the top of every visit. Search by keyword, jump to the question, see the answer. No AI, no third-party API, no data leaves your server. WooCommerce Revenue Report — Net revenue, orders, AOV, conversion rate, refund rate (with period-over-period deltas) · revenue by channel (8 channels including AI Assistants) · top products · cart→checkout→purchase funnel with named drop-off rates. Built on WooCommerce 8.5+ Order Attribution; HPOS + Block Checkout compatible; read-only against WooCommerce. Zero-touch backfill for existing stores — On a WooCommerce store with existing orders, Statnive auto-imports your history in the background via Action Scheduler the first time you open the Revenue Report. No CLI required (but wp statnive wc-backfill is also available). Real-time — Active visitor count, active pages, live pageview feed. Smart channel grouping — Direct, Organic Search, Social Media, Email, Referral, Paid Search, Paid Social, and a dedicated AI Assistants channel for ChatGPT, Claude, Gemini, Perplexity, Copilot, NotebookLM, Meta AI, Le Chat, Deepseek, You, iAsk, Jasper, and Writesonic. Custom events + engagement — Link clicks (and tagged button clicks via statnive-event-* classes), form submissions, downloads, outbound links, time on page, scroll depth. Bot vs human separation — Real visitors and automated traffic in distinct buckets. Geography in tiers — Zero-config timezone country mapping; optional CDN headers; optional one-click DB-IP city download (free); optional MaxMind GeoLite2. Configurable retention — 30 / 90 / 180 / 365 days, or Forever. Daily WP-Cron purge. WordPress Privacy API — Personal-data export and erase registered automatically. WP-CLI — wp statnive cron run for sites with DISABLE_WP_CRON; wp statnive wc-backfill for manual WooCommerce imports. Source code at github.com/statnive/statnive. Learn more at statnive.com. External Services This plugin connects to two third-party services, both opt-in via explicit user action. No visitor data is ever sent to either service. MaxMind GeoLite2 (optional) Used to download the MaxMind GeoLite2-City database for high-accuracy visitor geolocation. Requires a free MaxMind account and a license key the user pastes into Settings → GeoIP. Accuracy: approximate city/region only — not for identifying individuals or households. Source: MaxMind (https://www.maxmind.com), downloaded from https://download.maxmind.com/app/geoip_download When: Weekly via WP-Cron, only after the user enables GeoIP and configures a license key Data sent: License key + standard HTTP request headers. No visitor data is transmitted. Data received: GeoLite2-City.mmdb file, stored in your wp-content/uploads/statnive/ directory Purpose: Approximate visitor geolocation (country / region / coarse city) Sign up for a MaxMind account: https://www.maxmind.com/en/geolite2/signup Get your license key: https://www.maxmind.com/en/accounts/current/license-key MaxMind Privacy Policy: https://www.maxmind.com/en/privacy-policy MaxMind Terms of Use: https://www.maxmind.com/en/terms-of-use MaxMind GeoLite2 EULA: https://www.maxmind.com/en/geolite2/eula This product includes GeoLite Data created by MaxMind, available from https://www.maxmind.com. DB-IP IP-to-City Lite (optional) Used to download the free DB-IP IP-to-City Lite database. No account, no license key, no EULA. Accuracy: approximate city/region only — not for identifying individuals or households. Source: DB-IP (https://db-ip.com), downloaded from https://download.db-ip.com/free/ When: One-shot user click “Enable city-level geography” on the Geography page, then monthly via WP-Cron for refresh Data sent: Standard HTTP request headers only (no visitor data, no account, no key) Data received: dbip-city-lite-YYYY-MM.mmdb.gz file, decompressed to your wp-content/uploads/statnive/ directory Purpose: Approximate visitor geolocation (city / region / country) DB-IP Terms: https://db-ip.com/tos.php DB-IP Privacy Policy: https://db-ip.com/privacy.php License: CC-BY 4.0 GeoIP data © DB-IP under CC-BY 4.0. No visitor data is ever sent to any external service. All analytics data remains in your WordPress database. Privacy Policy All analytics data stays in your WordPress database. Raw IPs are used only for the optional GeoIP lookup and are never persisted. Statnive registers with the WordPress Privacy API for personal-data export and erasure.