跳到内容

VisitStats

v1.1.6

james333 · 2026年5月26日 上架

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

正在使用
100+
评分
暂无
累计下载
792
最近更新
2026年5月27日
需要 WordPress 6.2+已测试到 7.0.9PHP 7.4+

贡献者

截图

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.

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums