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%
VisitStats
VisitStats is a lightweight, privacy-first analytics plugin for WordPress. All your data stays in your own WordPress database — we never see it, no third party sees it. Why VisitStats? No cookies, no consent banner needed. Tracking is GDPR-friendly by default. Self-hosted. All data lives in your WordPress database. No external service, no Automattic, no Google. Lightweight. Frontend tracker is under 2KB. Loads asynchronously. Won’t slow your site. Zero setup. Install, activate, done. No theme edits, no tag manager, no JS snippets. Built for WordPress. Reports appear inside your WordPress dashboard — no separate app to log into. Recommended for sites with up to ~10,000 daily pageviews (around 95% of WordPress sites). For very high-traffic sites, consider dedicated analytics services. What you get (all free, all the time): Real-time visitor count — see who’s on your site right now Pageviews, unique visitors, sessions Top pages Top traffic sources (direct, search, social, AI, referral) Top referrers — actual URLs sending you traffic Device breakdown (desktop, mobile, tablet) Browser & operating system detection Configurable data retention from 1 day up to 1 year Date range views: today, 7 days, 30 days, 90 days, 1 year Engagement signals (scroll depth, time on page) Cookieless visitor identification using daily-rotating salt + SHA-256 hashing Bot filtering with built-in bot signature detection Optional administrator / logged-in user exclusion Honors Do Not Track browser signal Automatic data pruning to keep your database lean Rate-limited tracking endpoint protects against abuse IP anonymization before hashing — actual IPs never stored Privacy by design VisitStats never: Sets cookies Stores IP addresses Sends data to third parties Fingerprints visitors Tracks across days Visitor identification uses a daily-rotating salt hashed with the (anonymized) IP and User Agent to count unique visits within a 24-hour window. The salt regenerates every 24 hours, making cross-day tracking impossible. This is the same approach used by Plausible Analytics and Fathom Analytics. For developers Clean REST API at /wp-json/visitstats/v1/ Filter hooks for customizing behavior (rate limiting, bot detection, etc.) PSR-style class organization No external dependencies — pure WordPress core
Top keywords
- wordpress7×2.07%
- data5×1.48%
- analytics4×1.18%