Statnive – Privacy-first Analytics + Revenue Reports for WooCommerce
The privacy-first analytics plugin for WordPress — now with a full WooCommerce Revenue Report.
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.
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
- 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-backfillis 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 runfor sites withDISABLE_WP_CRON;wp statnive wc-backfillfor 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.
