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, without cookies, and without annoying cookie consent banners.
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), ensuring full compliance with GDPR, CCPA, and PECR out of the box. Learn more about how cookieless tracking works and our GDPR-compliant Data Processing Agreement (DPA).
puremetrix_ignore) — never written automatically for measurement. Run analytics without a cookie banner./px/js and /px/event) with our built-in Same-Origin Reverse Proxy to prevent ad-blockers from dropping legitimate stats.PureMetrix → Dashboard (powered by direct private key API query — no slow or clunky iframes).Purchase event) with total revenue, item count, coupon codes, and attribution. Read our guides on WooCommerce sales analytics and reducing WooCommerce cart abandonment.Check out our Full Feature Comparison & Interactive Demo to see the difference yourself.
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
Many browser extensions and DNS blockers block third-party analytics domains (google-analytics.com, etc.) by default. PureMetrix includes an integrated reverse proxy:
https://yourdomain.com/px/jshttps://yourdomain.com/px/eventBecause 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.
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.
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.
https://collect.puremetrix.org/js/script.js, or same-origin via your site at /px/js when the Same-Origin Proxy is enabled.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. During setup, an optional admin-triggered test pageview posts once to the same collect endpoint to verify keys before charts appear.Purchase events 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.https://app.puremetrix.org/wordpress/connect and https://app.puremetrix.org/api/plugin/connect to exchange tracking keys and optionally configure a Shared Link for the live dashboard.https://app.puremetrix.org/wordpress/shared-link so you can create or refresh a Shared Link and return it to WordPress. You can also paste a Shared Link URL manually.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.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.https://app.puremetrix.org/api/plugin/telemetry. Payload is limited to a pseudonymous site hash, event name, plugin/WordPress/PHP versions, and step metadata — never visitor analytics or page content. Nothing is sent while consent is unset or declined.https://app.puremetrix.org/api/plugin/feedback. Transmitted data includes:
bug, feature, general, or deactivate)positive, neutral, negative)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