Description
Privacy-First Web Analytics Without Cookies or Banners
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).
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 — Generous free tier and predictable monthly plans based on pageviews and site limits per plan. No surprise bills.
- Create Free Account — 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 deferred 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, helping you achieve analytics without a cookie banner and true GDPR web analytics compliance.
- 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. During setup, an optional admin-triggered test pageview posts once to the same collect endpoint to verify keys 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/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. - 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
Screenshots



/px/js, /px/event) with Proxy Active toggle.


Installation
From WordPress Admin
- Go to Plugins Add New Upload Plugin.
- Select
puremetrix-analytics-0.1.17.zipand click Install Now. - Click Activate Plugin.
- Navigate to PureMetrix Settings in your WordPress sidebar.
- Click Connect with PureMetrix (1-Click) or paste your Connect Token. Your domain, public key, private key, and dashboard are configured automatically in seconds!
- (Optional) Enable Same-Origin Proxy to bypass browser ad-blockers and configure role exclusions.
- Click Save Changes.
Via WP-CLI
`bash
wp plugin install /path/to/puremetrix-analytics-0.1.17.zip –activate wp option patch update puremetrix_analytics_settings domain “yourdomain.com” wp option patch update puremetrix_analytics_settings public_key “pk_live_your_key” wp option patch update puremetrix_analytics_settings proxy_enabled 1 `
FAQ
-
PureMetrix sets no analytics cookies and does not write tracking identifiers for measurement. The only optional first-party localStorage key is
puremetrix_ignore, which you may set yourself to opt a browser out of sending events (documented under Excluding); it is never written automatically. Visitor hashes are generated in memory on the ingest server using a daily rotating cryptographic salt and the visitor’s IP and User Agent, then discarded. Raw IP addresses are never stored — for WooCommerce/EDD purchases the order customer IP is used only to compute the same daily hash (Bearer server events), then discarded. We do not claim a blanket “no cookie banner required” — that depends on jurisdiction and your other tools (ads, chat, CMPs).More detail: analytics without a cookie banner and why PureMetrix is privacy-friendly.
-
How much does PureMetrix cost?
-
PureMetrix offers a generous free tier as well as simple, transparent pricing plans based on your monthly pageviews. Plans include site limits, custom events, ad-blocker resistance via same-origin proxy, and data export options by tier.
-
Can I test PureMetrix before signing up?
-
Yes! You can explore our Live Interactive Demo without creating an account or installing anything.
-
Is PureMetrix open source?
-
The WordPress plugin itself is distributed as free software under the GNU General Public License (GPLv2 or later), adhering to WordPress.org repository standards. The PureMetrix cloud infrastructure, ingestion backend, and dashboard platform (puremetrix.org / app.puremetrix.org) is a proprietary, hosted software-as-a-service (SaaS).
-
Feedback is 100% voluntary and only sent when you explicitly click “Submit Feedback” or complete the optional deactivation survey. It transmits your rating, message, versions (plugin, WP, PHP), domain, and a pseudonymous site hash to help us improve the product. It never collects passwords, database content, or visitor information.
-
Can I use PureMetrix with a self-hosted instance?
-
Yes. In Settings Advanced / Manual Configuration, you can enter any custom API Ingest Host and manual keys.
-
Is the in-admin dashboard required?
-
No. Connect + tracking snippet (+ optional Same-Origin Proxy) is the core. The live dashboard in WordPress admin is completely optional: it provides a fast, native in-WP dashboard preview queried directly via your secure Private Site Key API (no slow or clunky iframes). You can turn the in-admin dashboard preview off under Settings and still collect stats; open the full Cloud Explorer on PureMetrix Cloud anytime.
Shared Link URLs can also optionally be configured to allow team members or clients to view stats without logging into your primary cloud account. Learn more about sharing dashboards with clients.
-
Does the plugin slow down my website?
-
Not at all. The PureMetrix script is < 3 KB gzip (compared to Google Analytics’ ~135 KB bundle) and loads with the
deferattribute. It executes asynchronously off the critical rendering path, ensuring zero impact on your Core Web Vitals (LCP, INP, and CLS). Read our deep-dive on analytics script size and Core Web Vitals. -
How does the Same-Origin Proxy work?
-
When enabled, WordPress rewrite rules route
/px/jsto fetch and cache the script, and/px/eventto securely forward the event payload to the PureMetrix ingest service over a server-to-server HTTP request. Client IP extraction safely parsesCF-Connecting-IPandX-Forwarded-Forheaders. Read our full guide on same-origin reverse proxy analytics and the step-by-step install walkthrough. -
Can I exclude my own visits from the analytics?
-
Yes. In Settings PureMetrix, the Privacy & Role Exclusions section allows you to select any WordPress user roles (such as Administrator, Editor, Author). When a user with any selected role is logged in, the tracking snippet is completely suppressed. Read our guide on how to exclude admin traffic.
-
How do I track custom events?
-
You can trigger custom events anywhere in your theme or custom plugin JavaScript:
javascript
puremetrix('Newsletter Signup', { form_id: 'footer_signup' });
PureMetrix also automatically tracks outbound link clicks, file downloads, 404 errors, and internal site searches.Helpful guides:
* Set up your first conversion goal
* Track contact form conversions (WPForms, CF7, Gravity, Fluent)
* Track 404 error pages & dead links
* Track file & PDF downloads
* Track outbound links -
Does PureMetrix support WooCommerce purchases?
-
Yes. With WooCommerce active and a Private Ingest Key configured, the plugin sends a server-side
Purchaseevent on thank-you (revenue, item count, coupon, plus customer IP/UA for hashing only). No customer names, emails, or billing addresses are included. Guides: WooCommerce sales analytics, server-side purchase tracking, and reducing WooCommerce cart abandonment. -
Does PureMetrix support WordPress Multisite?
-
Yes. PureMetrix works seamlessly across multisite networks. You can activate the plugin network-wide or on individual subsites, each configuring their own distinct domain and keys. Read our guides on WordPress multisite analytics and WordPress analytics for agencies.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“PureMetrix – Cookieless Web Analytics” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “PureMetrix – Cookieless Web Analytics” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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 (Welcome + telemetry opt-in Connect Verify Done).
- Opt-in product telemetry with Settings privacy toggle; no remote calls without consent.
- Admin-ajax test pageview to verify collect before opening the Dashboard.
- 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.
