BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
VisitStats icon
Maintained Tested up to 7.0.7

VisitStats

Privacy-first site analytics for self-hosted sites. No cookies, no Google, no data leaves your server. Stats live in your own database.

Active installs90+10+ tier
Downloads · 30d136▲ +6.3% vs prev. 30d
Rating—0 reviews
Health score42/100Fair
All-time downloads523Since May 2026
Support resolved0 / 10% in last 2 months
RequiresWP 6.2PHP 7.4+
Downloads · 7d37▼ -5.1% week over week
Our verdict

Use with caution

VisitStats works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites and was last updated 5 months ago, and scores 42/100 on our health check.

  • Small user base (90+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

258Jul 19Sep 1Oct 16
Yesterday6
Daily average (1y)4
Peak day18May 26, 2026
Last 12 months529

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where VisitStats stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
analytics >100 8,036 Best analytics plugins →
cookieless #24 158 Best cookieless plugins →
GDPR >100 3,846 Best GDPR plugins →
privacy >100 10,000 Best privacy plugins →
statistics >100 3,365 Best statistics plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About VisitStats

From the official readme · v1.1.6

Description

VisitStats is a lightweight, privacy-first analytics plugin for WordPress. All your data stays in your own WordPress database — we never see it, no third party sees it.

Why VisitStats?

  • No cookies, no consent banner needed. Tracking is GDPR-friendly by default.
  • Self-hosted. All data lives in your WordPress database. No external service, no Automattic, no Google.
  • Lightweight. Frontend tracker is under 2KB. Loads asynchronously. Won’t slow your site.
  • Zero setup. Install, activate, done. No theme edits, no tag manager, no JS snippets.
  • Built for WordPress. Reports appear inside your WordPress dashboard — no separate app to log into.

Recommended for sites with up to ~10,000 daily pageviews (around 95% of WordPress sites). For very high-traffic sites, consider dedicated analytics services.

What you get (all free, all the time):

  • Real-time visitor count — see who’s on your site right now
  • Pageviews, unique visitors, sessions
  • Top pages
  • Top traffic sources (direct, search, social, AI, referral)
  • Top referrers — actual URLs sending you traffic
  • Device breakdown (desktop, mobile, tablet)
  • Browser & operating system detection
  • Configurable data retention from 1 day up to 1 year
  • Date range views: today, 7 days, 30 days, 90 days, 1 year
  • Engagement signals (scroll depth, time on page)
  • Cookieless visitor identification using daily-rotating salt + SHA-256 hashing
  • Bot filtering with built-in bot signature detection
  • Optional administrator / logged-in user exclusion
  • Honors Do Not Track browser signal
  • Automatic data pruning to keep your database lean
  • Rate-limited tracking endpoint protects against abuse
  • IP anonymization before hashing — actual IPs never stored

Privacy by design

VisitStats never:

  • Sets cookies
  • Stores IP addresses
  • Sends data to third parties
  • Fingerprints visitors
  • Tracks across days

Visitor identification uses a daily-rotating salt hashed with the (anonymized) IP and User Agent to count unique visits within a 24-hour window. The salt regenerates every 24 hours, making cross-day tracking impossible. This is the same approach used by Plausible Analytics and Fathom Analytics.

For developers

  • Clean REST API at /wp-json/visitstats/v1/
  • Filter hooks for customizing behavior (rate limiting, bot detection, etc.)
  • PSR-style class organization
  • No external dependencies — pure WordPress core

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install via the WordPress plugin directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Visit the new “VisitStats” item in your admin sidebar to see your dashboard.
  4. Tracking starts automatically — no further configuration required.

Frequently asked questions

Is this really GDPR-friendly?

VisitStats is designed to minimize GDPR exposure: no cookies, no IP storage, no fingerprinting, and data stays on your own server. We don’t claim “compliance” as a legal certainty (that depends on your processing context), but we provide the technical foundations that make compliance achievable without a cookie banner.

Will this slow down my site?

For sites up to ~10,000 daily pageviews, no measurable impact. The tracker is under 2KB and uses navigator.sendBeacon() so requests never block page interactions. For sites consistently above 10K daily pageviews, we recommend dedicated analytics services.

Where is my data stored?

In your own WordPress database. We never see it. There is no cloud component, no SaaS layer, no external service.

Will my database get huge?

No. The plugin includes automatic pruning. Raw events are pruned at your configured retention window (default 30 days). Daily aggregates are kept separately and are tiny — one row per day per metric.

Does it work with caching plugins?

Yes. The tracker uses a standard WordPress script and a REST endpoint. Caching plugins won’t break it.

Can I run this alongside Google Analytics?

Yes. They don’t conflict. Many users run both during migration.

Does it work with Cloudflare or a reverse proxy?

In its current form, the plugin reads REMOTE_ADDR for visitor identification. Sites behind Cloudflare or a custom reverse proxy will see all visitors hashed identically, which affects unique-visitor counts. Support for proxy headers is on the roadmap — submit feedback from the plugin’s “Feedback” page to prioritize it.

How can I request features?

There’s a “Feedback” page inside the plugin with a feature voting form. The most-requested items get worked on first.

Changelog

Minor polish — softened description copy. No functional changes.

1.1.6

  • Properly fixed the PHP 8.1+ ltrim() deprecation: the JavaScript tracker was sending referrer: null for direct visits, and WordPress’s REST sanitize callbacks ran esc_url_raw(null) before our PHP code could intercept. Now the tracker sends empty string, and we use custom null-safe sanitize callbacks server-side as defense in depth.

1.1.5

  • Fixed PHP 8.1+ deprecation warnings when null was passed to esc_url_raw() and ltrim() for direct visits (visitors arriving with no referrer). All URL/path/referrer values are now coerced to strings before being passed to WordPress escaping helpers.
  • Added explicit defaults to REST API parameter definitions so null never reaches the sanitize callback.
  • Hardened sanitize_path() against null and non-string input.

1.1.4

  • Renamed an internal rate-limit transient key to use the plugin’s visitstats_ prefix (was ip_rl_). No user-visible changes.

1.1.3

  • Improved phpcs annotation placement so static analysis tools (Plugin Check, WPCS) correctly recognize the documented exceptions for schema operations in uninstaller and dbDelta in activator. No functional changes.

1.1.2

  • Updated “Tested up to” to WordPress 7.0.

1.1.1

  • Polish pass before WordPress.org submission.
  • Softened description copy to reduce potential trademark concerns.
  • No functional changes.

Full changelog on WordPress.org →

Screenshots

The main dashboard with real-time visitors, summary cards, and pageviews chart.
The main dashboard with real-time visitors, summary cards, and pageviews chart.
Top pages, sources, devices, and browsers reports.
Top pages, sources, devices, and browsers reports.
Top referrers showing the actual external URLs sending traffic.
Top referrers showing the actual external URLs sending traffic.
Settings page with tracking, exclusions, and retention controls.
Settings page with tracking, exclusions, and retention controls.
Feedback page for feature requests and bug reports.
Feedback page for feature requests and bug reports.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best VisitStats alternatives

All analytics plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Site Kit by Google – Analytics, Search Console, AdSense, Speed Site Kit by Google Site Kit is a one-stop solution for WordPress users to use everything Google has to offer… by Google 5M+ ★★★★★★★★★★ 4.2 (1K) 2 weeks ago 92
2 MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) MonsterInsights The best free Google Analytics plugin for WordPress. See how visitors find and use your… by chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 1 month ago 93
3 WP Statistics – Simple, privacy-friendly Google Analytics alternative WP Statistics Cookieless, privacy-friendly WordPress analytics. GDPR/CCPA compliant visitor data and… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (759) 3 days ago 91
4 GA Google Analytics – Connect Google Analytics to WordPress GA Google Analytics – Connect Google Analytics to WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. by Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (158) 2 months ago 89
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… by Syed Balkhi 300K+ ★★★★★★★★★★ 2.5 (1.5K) 1 month ago 81
6 Head, Footer and Post Injections Head, Footer and Post Injections Head and Footer plugin lets you to add HTML code to the head and footer sections of your… by Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 7 months ago 53
7 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 1 month ago 81
8 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (186) 3 weeks ago 96
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds by Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (308) 1 month ago 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… by dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 week ago 81

FAQ

VisitStats: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 17, 2026

Is VisitStats free?

Yes. VisitStats is free to download and use from the official WordPress.org plugin directory.

Is VisitStats safe to use in 2026?

VisitStats works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites and was last updated 5 months ago, and scores 42/100 on our health check.

How many websites use VisitStats?

VisitStats is active on 90+ WordPress websites and has been downloaded 523 times since it launched in May 2026. It was downloaded 136 times in the last 30 days.

Does VisitStats work with WordPress 7.1?

VisitStats is officially tested up to WordPress 7.0.7, while the latest release is 7.1.3. It may still work, but try it on a staging site first.

What PHP version does VisitStats need?

VisitStats requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was VisitStats last updated?

The latest version, 1.1.6, was released on May 26, 2026 (5 months ago).

Who makes VisitStats?

VisitStats is developed and maintained by james333.

What are the best alternatives to VisitStats?

The most popular alternatives to VisitStats are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.