PureMetrix – Cookieless Web Analytics
Lightweight (< 3 KB gzip), 100% cookieless web analytics for WordPress.
Install in
Privacy-First Web Analytics Without Cookies
PureMetrix is a hosted, privacy-friendly cloud analytics service (SaaS) and lightweight alternative to Google Analytics. This official WordPress plugin is the GPL-licensed connector that integrates PureMetrix with your WordPress site, providing essential visitor and website metrics without tracking personal data and without cookies. Because PureMetrix stores nothing on the visitor’s device, many sites can run it without an analytics consent prompt; whether your site needs a cookie banner still depends on the other tools you use.
Most analytics platforms harvest invasive personal information, cross-site behavioral profiles, and persistent identifiers. PureMetrix measures site traffic accurately using cryptographic daily rotating visitor hashes (salted SHA-256), designed to help you meet GDPR, CCPA and PECR requirements (this is not legal advice). Learn more about how cookieless tracking works and our GDPR-compliant Data Processing Agreement (DPA).
Experience PureMetrix Live
- Interactive Live Demo — Test drive the lightning-fast stats explorer live with real-time visitor graphs, country breakdowns, entry/exit pages, and custom event tracking.
- Transparent Pricing — 14-day free trial without a credit card, then predictable monthly plans based on pageviews and site limits per plan. No surprise bills.
- Start Your 14-Day Trial — Get started in under 60 seconds. Connect your WordPress site with 1 click and watch visitor insights appear instantly.
Key Features
- Instant 1-Click Connect & Token Setup — Connect this WordPress site to PureMetrix Cloud in one click or with a single setup token. Automatic key exchange and live dashboard setup in seconds.
- 100% Cookieless by Design — PureMetrix never sets analytics cookies or fingerprinting identifiers. Optional first-party localStorage is used only for an explicit browser opt-out (
puremetrix_ignore) — never written automatically for measurement. Run analytics without a cookie banner. - Ultra-Lightweight (< 3 KB gzip) — Far smaller than Google Analytics (~135 KB). Loads asynchronously so it stays off the critical path, keeping your Core Web Vitals & PageSpeed scores lightning-fast. The tracker respects Do Not Track (DNT) and Global Privacy Control (GPC).
- Ad-Blocker Defense (Same-Origin Reverse Proxy) — Route the analytics script and event beacon through your own WordPress domain (
/px/jsand/px/event) with our built-in Same-Origin Reverse Proxy to prevent ad-blockers from dropping legitimate stats. - Native In-WP Live Dashboard — View real-time visitor graphs, top sources, and key metrics directly inside your WordPress administration under
PureMetrix → Dashboard(powered by direct private key API query — no slow or clunky iframes). - WooCommerce E-Commerce Integration — Automatic server-to-server tracking for completed orders (
Purchaseevent) with total revenue, item count, coupon codes, and attribution. Read our guides on WooCommerce sales analytics and reducing WooCommerce cart abandonment. - Automatic Enhanced Measurements — Capture 404 error pages, file and document downloads, outbound external link clicks, and internal site searches with zero configuration.
- Form Conversion Tracking — Seamlessly measure leads and inquiries across WPForms, Contact Form 7, Gravity Forms, and Fluent Forms. Learn more in our contact form tracking guide.
- Internal Traffic Exclusion — Prevent logged-in Administrators, Editors, and team members from skewing your metrics with 1-click user role exclusion. See how to exclude admin traffic.
- Real-Time Visitor Dashboard — Follow active visitors, top pages, referrers, UTM campaign parameters, entry & exit points, countries, devices, browsers, and operating systems live.
- Multi-Filter & Period Comparison — Chain multiple filter dimensions (e.g. Country = Germany AND Source = Google) and compare against previous periods directly in your dashboard.
- WordPress Multisite & Agency Ready — Configure independent keys per subsite or centralize across your entire network. Built for WordPress multisite networks and client reporting for agencies.
- WCAG 2.2 AA Accessible Admin — Clean, modern, accessible administration interface matching the PureMetrix design system.
- Direct In-Plugin Feedback & Deactivation Survey — Send feedback, feature suggestions, or survey responses directly to the development team without leaving WordPress.
Why PureMetrix Instead of Google Analytics?
- Cookieless by Design: Google Analytics typically requires intrusive consent dialogs under European ePrivacy and GDPR. PureMetrix sets no analytics cookies, which in many setups allows analytics without a cookie banner and supports GDPR-friendly web analytics.
- Speed & Performance: PureMetrix script payload is < 3 KB gzip compared to Google Analytics (~135 KB). Protect your Core Web Vitals and PageSpeed scores by keeping your JavaScript bundle ultra-lean. Explore our script size and performance analysis.
- Data Ownership & European Hosting: Your visitor data is never sold, never shared with ad networks, and never used for behavioral profiling. Hosted on privacy-compliant EU cloud infrastructure with an available Data Processing Agreement (DPA). See EU-hosted analytics.
- Accurate Metrics & Ad-Blocker Resistance: Standard Google Analytics tags lose up to 25–40% of visitor traffic to ad blockers and browser shields. PureMetrix’s Same-Origin Reverse Proxy routes events through your own domain, restoring true visibility. Compare GA4 accuracy vs cookieless analytics.
- Simplicity Over Complexity: Get clear, actionable business answers in seconds without GA4’s convoluted exploratory reports. See our guide to Google Analytics alternatives for WordPress and Google Site Kit vs privacy analytics.
Check out our Full Feature Comparison & Interactive Demo to see the difference yourself.
Learn more
Comprehensive guides, performance analyses, and tutorials on puremetrix.org/blog:
Getting Started & Comparisons:
* Install PureMetrix on WordPress (Step-by-Step)
* Best WordPress Analytics Plugins Compared
* Google Analytics Alternatives for WordPress
* Migrate from GA4 to Privacy-First Analytics
* Google Site Kit vs Privacy Analytics
Privacy, GDPR & Legal Compliance:
* Why PureMetrix is Privacy-Friendly
* Analytics Without a Cookie Banner Explained
* GDPR Web Analytics Without Cookies
* TTDSG Analytics Guide (Germany)
* EU-Hosted Analytics Infrastructure
* Data Processing Agreement (DPA)
Tracking Features & Conversions:
* Same-Origin Reverse Proxy Analytics
* Analytics & Ad-Blockers: Solving Data Loss
* Analytics Script Size & Core Web Vitals (LCP, INP)
* WooCommerce Sales & Revenue Attribution
* Reduce WooCommerce Cart Abandonment
* Server-Side WooCommerce Purchase Tracking
* Track Contact Form Conversions (WPForms, CF7, Gravity, Fluent)
* Track 404 Errors & Broken Links
* Track File Downloads & Document Clicks
* Track Outbound External Links
* WordPress Site Search Analytics
* Track UTM Marketing Campaigns & Links
* How to Exclude Internal & Admin Traffic
Multisite & Agency Solutions:
* WordPress Multisite Analytics Setup
* WordPress Analytics for Agencies
* Share Analytics Dashboards with Clients
Ad-Blocker Resistance: How the Same-Origin Proxy Works
Many browser extensions and DNS blockers block third-party analytics domains (google-analytics.com, etc.) by default. PureMetrix includes an integrated reverse proxy:
- Tracking script:
https://yourdomain.com/px/js - Event collector:
https://yourdomain.com/px/event
Because the requests originate from and terminate at your own domain, legitimate analytics data is captured accurately without triggering third-party blocking heuristics, while preserving strict privacy standards. Learn more in our ad-blocker analytics guide and same-origin reverse proxy overview.
Automated WooCommerce Tracking
When WooCommerce is installed, PureMetrix automatically listens to the woocommerce_thankyou hook. If a Private Ingest Key is configured, the plugin securely dispatches a server-side Purchase event containing:
* Revenue amount and currency
* Quantity of items purchased
* Coupon code used (if applicable)
Customer names, email addresses, billing addresses, and raw order IDs are strictly omitted from the payload to ensure zero privacy leaks. Read our in-depth guides on WooCommerce sales analytics and server-side purchase tracking.
External Services
This plugin talks to PureMetrix hosts only for analytics ingest, optional cloud setup, optional in-WP dashboard stats (private key API), or when you explicitly submit in-plugin feedback. Tracking works once Domain + Public Key are set (1-Click Connect, Connect Token, or manual/self-hosted keys). The native in-WP dashboard is optional and is not required for collecting stats.
PureMetrix Ingest Service (collect.puremetrix.org)
- Tracking script: The public script is loaded from
https://collect.puremetrix.org/js/script.js, or same-origin via your site at/px/jswhen the Same-Origin Proxy is enabled. - Analytics Beacon: Anonymous pageview and interaction events go to
https://collect.puremetrix.org/api/event(or proxied via your own domain at/px/event). PureMetrix stores no cookies and generates non-reversible, daily-salted visitor hashes in memory. After Connect, real site traffic (or a private-window visit) confirms tracking before charts appear. - WooCommerce Purchase Events (optional): If WooCommerce is active and a Private Ingest Key is configured, server-side
Purchaseevents are sent with order total, item count, coupon codes, and the order’s customer IP address + user-agent. Ingest hashes these into the daily visitor id and discards the raw values — they are never stored. Customer names, emails, billing details, and other personal data are strictly excluded.
PureMetrix Cloud (app.puremetrix.org)
- 1-Click Connect Handshake (optional): When you click “Connect with PureMetrix” or enter a Connect Token, WordPress connects to
https://app.puremetrix.org/wordpress/connectandhttps://app.puremetrix.org/api/plugin/connectto exchange tracking keys and optionally configure a Shared Link for the live dashboard. - Shared Link Setup (optional): The “Set up live dashboard” / Shared Link action opens
https://app.puremetrix.org/wordpress/shared-linkso you can create or refresh a Shared Link and return it to WordPress. You can also paste a Shared Link URL manually. - Shared Link status check (optional): When a Shared Link is stored, WordPress may probe
https://app.puremetrix.org/api/shared-links/status(or fall back to a short GET of the share URL) so a revoked/expired link can be cleared. Results are cached briefly; network failures do not clear a working link. - In-Plugin Dashboard (optional): If the embedded dashboard option is enabled and a Private Site Key is configured, WordPress admin loads a native preview via
POST https://app.puremetrix.org/api/plugin/dashboard(Bearer private key) — no admin iframe. Open Cloud Dashboard for the full Cloud UI. Disable the in-WP dashboard anytime under Settings; tracking continues via the snippet/proxy. - Product telemetry (opt-in only): If you allow anonymous product usage during setup (or later under Settings Privacy), WordPress may POST setup/connect funnel events to
https://app.puremetrix.org/api/plugin/telemetryand register a pseudonymous install at…/api/plugin/telemetry/register(install id, site hash, versions, locale, light environment snapshot). If you opted in, a one-time anonymous uninstall signal may be sent to…/api/plugin/telemetry/uninstallwhen the plugin is deleted. Payload never includes visitor analytics or page content. Nothing is sent while consent is unset or declined. - In-Plugin Feedback & Deactivation Survey (explicit submit only): When you submit the optional “Give Feedback” dialog or deactivation survey, feedback is sent over HTTPS to
https://app.puremetrix.org/api/plugin/feedback. Transmitted data includes:- Feedback category (
bug,feature,general, ordeactivate) - Sentiment rating (
positive,neutral,negative) - Optional free-text message and deactivation reason
- Domain and pseudonymous site hash (derived from your public site key or hashed URL)
- Plugin version, WordPress version, and PHP version
- Optional contact email (only if you voluntarily enter it for replies)
No sensitive credentials, database content, or visitor personal data are ever included.
- Feedback category (
Privacy Policy: https://puremetrix.org/privacy
Terms of Service: https://puremetrix.org/terms
Live Demo: https://puremetrix.org/demo/
Pricing: https://puremetrix.org/pricing
Data Processing Agreement (DPA): https://puremetrix.org/dpa
Written by Joobi from the project's own listing. See the source page
0.1.26
- Compatibility: Tested with WordPress 7.2 (including 7.2 RC).
0.1.25
- Updated plugin description.
0.1.24
- On phones, the PureMetrix pages now have the same space on the right as on the left, and nothing sticks out past the edge of the screen.
- Checkboxes on the settings pages are all the same size again on phones, line up neatly, and their labels start in one straight line.
0.1.23
- Fixes a crash in 0.1.22 caused by a missing file.
0.1.22
- Proxy: The proxy passes the visitor’s address on to PureMetrix once so country detection works, also behind Cloudflare (recognized automatically, nothing to set up); it is never stored.
- Fix: Search and WooCommerce funnel events were lost because the script tag was rebuilt; the tag WordPress generates is now kept (inline scripts, CSP nonce, id and attributes from consent/optimization plugins survive).
- Tracker loads with
asyncinstead ofdefer, so a slow or unreachable analytics server can no longer delayDOMContentLoaded. window.puremetrix()is always defined: a queue stub is printed before the tracker, excluded roles get a no-op, and the tracker defines a no-op when it does not track (Do Not Track, bots, localhost) — no more “puremetrix is not a function”.- Same-origin proxy: 3-second upstream timeout, last good copy served when the PureMetrix server is down, short negative cache, never-cached error responses.
- Proxy URLs are root-relative (fixes mixed content behind SSL-terminating proxies and stale hosts after migrations); filter
puremetrix_relative_proxy_urls. - Optimization plugins: tracker and stub are excluded from delay/defer/combine/minify in WP Rocket, LiteSpeed Cache, Autoptimize, SiteGround Speed Optimizer, Perfmatters, Hummingbird, W3 Total Cache, Jetpack Boost and Cloudflare Rocket Loader (
data-cfasync="false"); filterpuremetrix_optimizer_exclusions. - Multisite: network activation resets every subsite’s rewrite rules; missing
/px/*rules heal themselves, with the?puremetrix_proxy=fallback in the meantime. - Admin notice when the stored domain does not match the site address (e.g. after a migration).
- WooCommerce: pages with queued add/remove-to-cart events are marked uncacheable, and each event fires at most once per tab.
- Readme: custom-event example uses
{ props: { … } }; corrected the proxy IP handling description (X-Forwarded-Foris not trusted).
0.1.21
- Refresh WordPress.org directory screenshots (4 marketing shots: dashboard, connected, proxy, WooCommerce).
0.1.20
- Bugfixes.
0.1.19
- UI optimization.
0.1.18
- Performance updates and small reliability improvements.
0.1.17
- Native in-WP dashboard preview (no iframe) with Cloud CTA banner
- Fix visitors timeseries chart rendering in WP admin (solid SVG paints, day-gap fill)
- Interactive chart hover/tooltip; KPI tiles switch series (no More metrics dropdown)
- Toolbar / period pill polish matching Settings width; filemtime asset cache-bust
0.1.16
- Fix remaining embed bottom clip: remove CSS/PHP fixed 100vh iframe height; trust parentOrigin for postMessage when WP host differs from site domain; iframe grows with content and the admin page scrolls.
0.1.15
- Dashboard embed iframe grows to full cloud dashboard scrollHeight via postMessage (viewport is a floor only; no bottom clip).
0.1.14
- Fix connect handoff: always register Settings page slug
puremetrix-settingswhen embed is on (including disconnected), so cloud return URLs no longer hit “Sorry, you are not allowed to access this page.” Dashboard menu remains gated until connected.
0.1.13
- Hide Dashboard menu until connected; Settings/Setup only when disconnected.
- Dashboard iframe fills available admin content height (viewport calc + ResizeObserver).
- Buttons: replace purple browser focus ring with design-matched focus-visible outline.
- Plugin Name / readme title: drop “Google Analytics” trademark from the display name (Plugin Check).
0.1.12
- WooCommerce Purchase: only when order is paid; hooks payment complete and processing/completed (idempotent
_pm_tracked). - Integrations autosave: undetected toggles omit hidden
0; sanitize preserves missing integration keys. - Same-origin proxy: plain-permalink fallback via
?puremetrix_proxy=js|event. - Tracker: SPA
replaceStatecompares pathname + search (query-only navigations). - Connect/token: do not overwrite stored private key when API returns empty.
0.1.11
- Tracker hash extension: hashchange sends a single pageview (no duplicate engagement flush).
- Readme: custom events via
puremetrix('name', {props}); documentpuremetrix_shared_link_hostsand www-normalized embed hosts. - Script enqueue: WP 6.3+ defer strategy array; WP 6.0–6.2 footer +
wp_script_add_data(defer still applied via script tag filter). - API host save: fail closed when DNS lookups fail or return no public A/AAAA; suppress
dns_get_recordwarnings.
0.1.10
- Harden shared_link / api_host: sanitize on every write path; fail closed when DNS yields no A/AAAA.
- Runtime sanitize for wizard test pageview and WooCommerce Purchase posts.
- Telemetry soft-default no longer auto-grants consent; DNT/GPC documented.
- Dashboard/widget iframes: parentOrigin + referrerpolicy for embed height; uninstall LIKE esc_like.
0.1.9
- PHP 7.4: replace str_contains in Settings logo helper.
- Honor WooCommerce / forms / search integration toggles; avoid client+server form double-count.
- Harden api_host (block private IPs) and shared_link embed host allowlist + iframe sandbox.
- Uninstall cleans transients and flushes rewrite rules (including Multisite).
0.1.8
- Harden Search tracking: queue-stub inline (same defer race class as 404).
- Tracker script: currentScript fallback, Blob beacon, scroll depth reset on SPA pageview.
0.1.7
- Fix 404 tracking: emit data-404 on the script tag so missing-page events survive deferred/optimized script loading.
0.1.6
- WooCommerce/EDD Purchase events send customer IP and user agent for same-day source attribution (hashed only; never stored raw).
0.1.5
- Brand: favicon + admin mark from current wordmark.
0.1.4
- Connect provisions Live Charts (Shared Link) in one step — no separate Enable Live Charts happy path.
- Settings auto-save (no Save button); Advanced / manual keys moved to the bottom.
- Slimmer connected status hero; Repair Live Charts only when the embed is missing.
0.1.3
- Post-activation setup wizard (Connect + telemetry opt-in Dashboard).
- Opt-in product telemetry with Settings privacy toggle; no remote calls without consent.
- Dashboard redirects unfinished setup to the wizard; resume banner on other PureMetrix screens.
0.1.2
- Release packaging and trunk path fixes for Free plugin distribution.
0.1.0
- Initial release of the PureMetrix Analytics WordPress adapter.
- Instant 1-Click Connect and Token Handshake for instantaneous site setup.
- Cookieless tracking snippet integration with async/defer loading.
- Built-in Same-Origin Reverse Proxy (
/px/jsand/px/event). - In-WP live visitor analytics dashboard (
PureMetrix → Dashboard). - In-plugin feedback dialog and deactivation survey with diagnostic reporting.
- Automated server-side WooCommerce
Purchaseevent tracking with revenue and item count. - Internal traffic filter for excluding logged-in user roles (Administrator, Editor, etc.).
- State-of-the-art WCAG 2.2 AA compliant administration interface matching puremetrix.org design tokens.
Follow this listing's changes (Atom feed)