Skip to content

wp-statistics

Cookieless visitor analytics plugin for WordPress sites, stored in your own database

Copyleft (OSI) · GPL-3.0 EU-based

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

129

Last commit

4 days ago

Nov 2026

Repository age

9 years

since Apr 2017

Latest version

v14.16.20

Nov 2026

Contributors

–

4 active in 90 days

Releases

21

last 12 months

Language

PHP

WP Statistics is a WordPress plugin that records visitors, traffic sources and popular pages inside your WordPress database. Reports appear in your WordPress dashboard, so no external account or third-party service is needed. It is written in PHP and licensed under the GPL.

The plugin uses cookieless tracking and does not store personally identifiable information by default. It hashes IPs with a daily random salt, supports the Do Not Track signal, includes data export and deletion for GDPR, and integrates with the WP Consent API for plugins like Complianz and Cookiebot. Reports cover geography, browsers, operating systems and devices, referrers, author performance and UTM parameters. It also offers live visitor counts, email reports, role-based access and filtering by role, IP, country or URL.

It works only on WordPress and targets sites that want a simple Google Analytics alternative. Some extras, such as link and download tracking, are in a paid add-on called Data Plus. It requires WordPress 5.0 and PHP 7.2.

Who it's for

WordPress site owners avoiding Google Analytics

Stats stay in your own database and need no cookies by default.

Skip if: Your site does not run on WordPress.

Bloggers and publishers with multiple authors

Author analytics and top-post reports show who drives traffic.

Skip if: You need funnel analysis.

Site owners with privacy obligations

Export and delete tools, IP hashing and a privacy audit tool help with GDPR work.

Skip if: You need tracking for mobile apps.

The problem it solves

Google Analytics sends visitor data to a third party and often needs cookie consent. This plugin keeps simple traffic stats in your WordPress database with no cookies by default.

Strengths

  • Cookieless tracking, with no PII stored by default
  • All data stays in your WordPress database
  • Reports built into the WordPress dashboard
  • Integrates with WP Consent API for Complianz and Cookiebot
  • Actively maintained, with 21 releases in the last year

Trade-offs

  • WordPress sites only
  • No funnel analysis
  • No mobile app tracking
  • Link and download tracking require the paid Data Plus add-on

wp-statistics replaces

Self-host wp-statistics

Self-hostable
Yes

Frequently asked questions

Does it use cookies?

No. It uses cookieless tracking, though whether you need consent depends on your country and settings.

Where is the data stored?

In your own WordPress database, on your server.

Is it free?

The plugin is open source under the GPL. Data Plus is a premium add-on.

What does it require?

WordPress 5.0 or later and PHP 7.2 or later.

Other Google Analytics alternatives

Compare all 12 Google Analytics alternatives →

Similar tools in Analytics platforms

GoAccess

Analytics platforms

Real-time web server log analyzer for admins, in the terminal or a live HTML dashboard

21k 1.2k 3 days ago Active MIT

PostHog

Analytics platforms

Self-hostable product analytics suite with replay, flags and experiments

41k 3.7k today Thriving MIT

Replaces AmplitudeAmptitudeMixpanel +1

Plausible

Analytics platforms

Cookieless, lightweight web analytics you can self-host or use as a cloud service

30k 1.9k today Active AGPL-3.0

Replaces Google Analytics

RudderStack

Analytics platforms

Source-available customer data pipeline with Segment-compatible API and warehouse sync

4.5k 84 today Thriving Elastic-2.0

Replaces Segment

GoatCounter

Analytics platforms

Privacy-friendly web analytics, hosted or self-hosted, for site owners who want simple

6.2k 288 2 months ago Slowing EUPL-1.2

Replaces Google Analytics

fathom

Analytics platforms

Self-hosted, single-binary website analytics for small sites, in maintenance mode

8k 388 8 months ago Dormant MIT