πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
MilkStats icon
Actively maintained Tested with WP 7.1

MilkStats

Privacy-friendly, cookieless visitor statistics β€” no cookie banner needed, no external services.

Active installs<10New
Downloads Β· 30d131β–Ό -23.8% vs prev. 30d
Ratingβ€”0 reviews
Health score60/100Fair
All-time downloads509Since Sep 2026
Support resolvedβ€”No recent threads
RequiresWP 5.8PHP 7.4+
Downloads Β· 7d24β–Ό -29.4% week over week
Our verdict

Use with caution

MilkStats works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

102030Sep 10Oct 22Dec 4
Yesterday2
Daily average (1y)6
Peak day41Sep 10, 2026
Last 12 months512

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

Rankings

Where MilkStats stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
analytics >100 9,381 Best analytics plugins β†’
cookieless #91 234 Best cookieless plugins β†’
GDPR >100 4,292 Best GDPR plugins β†’
privacy >100 10,000 Best privacy plugins β†’
statistics >100 4,020 Best statistics plugins β†’

About MilkStats

From the official readme Β· v1.8.1

Description

MilkStats keeps visitor statistics without collecting personal data.
All data stays local in your own WordPress database β€” nothing is shared with
external analytics services (no Google Analytics, no external scripts or
fonts).
A product by 5Names.

What is measured?

  • Page views β€” counted and aggregated per page, per day
  • Sessions β€” how many unique visitor sessions there were
  • Time on page β€” how long someone stayed on a page
  • Navigation paths β€” which page most often leads to which next page
  • Sources β€” did the visitor arrive via a search engine, social media, a
    referring site, an AI assistant, or directly? Plus UTM campaign tags
    (utm_source, utm_medium, utm_campaign) if you use them in your own
    marketing links.
  • Events β€” clicks on outbound links and download links are detected
    automatically, plus optional custom events via the data-milkstats-event
    attribute. See “Custom events” below.
  • AI crawler visibility β€” how often known AI crawlers (GPTBot, ClaudeBot,
    PerplexityBot, and others) visit your site, separate from human traffic.

What is NEVER stored?

  • No IP addresses
  • No tracking cookies β€” the session ID lives only in the browser’s
    sessionStorage and disappears as soon as the tab is closed. The only
    cookie this plugin can ever set is the optional opt-out cookie described
    below, and only if you or a visitor chooses to set it.
  • No browser fingerprinting
  • No full referrer URLs β€” only the domain (e.g. “google.com”), never the
    path or a search query that might be contained in it
  • No data sent to external parties

How does it work technically?

On every page view, a small, first-party JavaScript file (assets/tracker.js)
sends an AJAX request to your own admin-ajax.php. That request contains the
page URL, page title, a random session ID, and β€” only on the first page view
of a session β€” the hostname of the referring site and any UTM parameters.
When the page is left, the time on page is sent afterwards via
navigator.sendBeacon.

This data ends up in the following tables in your WordPress database:

  1. wp_milkstats_pageviews β€” daily totals per page. Kept indefinitely: just
    counts, no session information.
  2. wp_milkstats_session_events β€” individual page views per session, with
    time on page. Automatically deleted after the configured retention
    period.
  3. wp_milkstats_sessions β€” one row per session with the traffic source
    (first-touch attribution). Also cleaned up after the retention period.
  4. wp_milkstats_events β€” custom events (outbound link clicks, downloads,
    manual events). Cleaned up after the retention period, same as session
    data.
  5. wp_milkstats_device_stats β€” daily aggregated device/browser/OS counts.
    Kept indefinitely, like page totals β€” never traceable to an individual.
  6. wp_milkstats_ai_crawler_hits β€” daily aggregated hits from known AI
    crawlers. Kept indefinitely, like page totals.

A daily WP-Cron job cleans up session data older than the configured
retention period. Page totals are never deleted. Bots are recognized and
ignored based on the User-Agent.

Custom events

Besides page views, MilkStats also measures events, without any
configuration needed:

  • Outbound links β€” a click on a link to another domain is automatically
    recorded, with the domain as the label.
  • Downloads β€” a click on a link to a file with a known download
    extension (pdf, zip, docx, xlsx, and more) is automatically recorded, with
    the file name as the label.
  • Manual events β€” add the data-milkstats-event="label" attribute to a
    link, button or <form> to track that click or submission as a custom
    event, for example:
    Request a quote
    or <form data-milkstats-event="Contact form submitted">…</form>.

Events count if the visitor is not excluded (see Settings) and are shown on
the statistics page under “Events”, with the top labels per type.

Excluding yourself (opt-out)

Besides the role exclusion (only works while logged in), you can also
exclude yourself β€” or an external tester β€” without logging in:

  • Via the admin bar β€” administrators see a MilkStats item at the top
    (“tracking on”/”tracking off”) to flip this with one click.
  • Via a link β€” visit ?milkstats_optout=1 to exclude yourself, or
    ?milkstats_optout=0 to be counted again. Also works while logged out,
    handy to share with external testers.
  • Via the settings page β€” a button (“Exclude my visits in this browser”)
    showing the current status.

This sets a first-party cookie (milkstats_optout) in that one browser. The
cookie itself has no tracking purpose β€” purely a toggle β€” and works alongside
the role exclusion, not instead of it.

Settings

Under Site Analytics β†’ Settings you can configure:

  • Excluded roles β€” which user roles are never counted (default:
    administrator, editor, author, contributor)
  • Exclude yourself β€” a button to exclude your own visits in the current
    browser, even while logged out (see “Excluding yourself” above)
  • Member segment β€” optional: which role(s) should be counted separately
    as a “logged-in segment” (e.g. members, clients, subscribers), with a
    custom name for that segment in the statistics. Up to three additional
    named segments can be configured, each pickable from a dropdown on the
    statistics page.
  • Retention period β€” after how many days session data (time on page,
    navigation paths, sources) is automatically deleted

Where do I see the statistics?

  • A compact overview on the WordPress dashboard (widget)
  • A full statistics page under Site Analytics in the main menu, with a
    rolling period filter (7/30/90/365 days) plus a calendar period picker
    (today/yesterday, this/last week, this/last month, this/last quarter,
    this/last year), bar chart, top pages, navigation paths, source breakdown,
    device/browser/OS breakdown, and AI crawler visibility

Credits

The admin screens use the Inter typeface by Rasmus
Andersson, bundled with the plugin under the SIL Open Font License 1.1
(assets/fonts/OFL.txt). It is served from your own site β€” never from an
external font CDN.

Installation

  1. Upload the milkstats folder to /wp-content/plugins/.
  2. Activate the plugin via Plugins in WordPress.
  3. Go to Site Analytics β†’ Settings to set roles, segment and retention
    period as needed β€” the default settings also work fine without changes.
  4. View your statistics under Site Analytics in the main menu.

Changelog

1.8.1

  • Fixed the MilkStats icon missing from the hero banner on the Site Analytics
    and Settings pages on sites installed from WordPress.org. The 1.8.0
    package didn’t include assets/icon-128x128.png β€” it was mistakenly
    treated as a directory-listing-only asset even though the plugin’s own
    admin screens use it. No settings or data are affected; updating to 1.8.1
    is enough to restore the icon.

1.8.0

  • Existing installs of the older “Pion Analytics” plugin (and its interim
    “AVG Proof Site Analytics” release) are now upgraded to MilkStats
    automatically on activation, without losing any historical data. The
    existing page-view and session tables are renamed into place (never
    copied, so nothing is duplicated or left orphaned), the old Dutch
    visitor/member labels are converted to the format MilkStats uses, and the
    previous plugin’s scheduled cleanup task is removed. To switch over:
    deactivate the old plugin, install MilkStats, and activate it.
  • The admin menu item is now labelled “MilkStats” (was “Site Analytics”) and
    uses the MilkStats icon instead of a generic chart-bar icon.
  • Every dashboard tile now has a small β“˜ icon in its top-right corner β€”
    click it for a short explanation of exactly what that tile shows. The same
    icons and explanations are included in the “Export dashboard (.html)”
    file, for the tiles that appear there.
  • New “Help” menu item, right after “Settings”: a full explanation of the
    dashboard plus a dedicated section on how MilkStats protects visitor
    privacy (what is and isn’t stored, retention periods, excluded roles, and
    the opt-out cookie).

1.7.0

  • Excel export has been removed entirely (the “Export Excel” button and the
    vendored PhpSpreadsheet library are both gone). A formula-driven Excel
    workbook turned out to be the wrong format for a shareable, interactive
    dashboard export β€” the new .html export below replaces it.
  • New “Export dashboard (.html)” button next to Export CSV: generates a
    single, self-contained .html file with the full Site Analytics dashboard
    (KPIs, the views-per-day chart, visitor sources, device/browser/OS
    breakdowns, top pages, and the AI crawler report) for all 14 period
    options at once. It needs no WordPress access or internet connection to
    view β€” just open the file in any browser β€” and switching between periods
    recalculates everything instantly with plain JavaScript, no page reload
    and no spreadsheet formulas involved.

1.6.0

  • New calendar period picker on the statistics page, next to the existing
    rolling filter (7/30/90/365 days): today/yesterday, this/last week,
    this/last month, this/last quarter, and this/last year. Unlike the rolling
    filter, these are calendar-aligned (e.g. “last month” is always the full
    previous calendar month, not the last 30 days).
  • Period-over-period comparison now also works for calendar periods. For a
    “this …” period still in progress (e.g. this month, part-way through),
    the comparison is capped to the same number of elapsed days in the
    previous period, so the percentage stays a fair, apples-to-apples
    comparison rather than always favoring the completed period.
  • CSV export now reflects whichever period control is active (rolling or
    calendar), including the file name.

1.5.0

  • New AI-crawler visibility report: see how often known AI crawlers (GPTBot,
    ClaudeBot, PerplexityBot, Google-Extended, CCBot, and others) visit your
    site, separate from human traffic β€” with a top-pages breakdown per crawler.
    Detected server-side, since crawlers don’t run the JavaScript tracker.
  • Known limitation: full-page caching can hide crawler visits from this
    report (documented on the statistics page and in the FAQ above).
  • New “Export CSV” button on the statistics page: a lightweight export of
    the top pages table.
  • The statistics page can now switch between multiple configured segments
    via a dropdown next to the period selector, without a trip to Settings.
    Up to three additional named segments can be configured under Settings,
    alongside the existing one.

1.4.0

  • Self opt-out: exclude your own visits via an admin bar toggle, a settings
    page button, or a manual ?milkstats_optout=1 URL parameter β€” works even
    while logged out, alongside the existing role exclusion.
  • Privacy policy text and the WP Privacy Policy Guide integration updated to
    mention the new opt-out cookie (functional only, no tracking purpose).

Full changelog on WordPress.org β†’

Screenshots

The compact "Visitor Statistics" dashboard widget β€” today, the last 7
days and the last 30 days at a glance, with a 14-day trend line and the
top visited pages, right on the WordPress dashboard.
The compact "Visitor Statistics" dashboard widget β€” today, the last 7 days and the last…
The Site Analytics page: rolling and calendar period filters, the privacy
badges, the stat cards with period-over-period comparison, the "Views per
day" chart and the "Visitor sources" breakdown (search engines, referring
sites, social media, AI assistants and direct visits).
The Site Analytics page: rolling and calendar period filters, the privacy badges, the…
Device, browser and operating-system breakdown β€” classified server-side,
the raw User-Agent is never stored β€” next to the most visited pages with
average time on page.
Device, browser and operating-system breakdown β€” classified server-side, the raw…
The most common navigation paths: which page most often leads to which
next page.
The most common navigation paths: which page most often leads to which next page.
The AI-crawler visibility report: how often GPTBot, ClaudeBot,
PerplexityBot, Google-Extended and other AI crawlers hit the site,
separate from human traffic, with a per-crawler and per-page breakdown.
The AI-crawler visibility report: how often GPTBot, ClaudeBot, PerplexityBot…
The Settings page: excluded roles, the logged-in member segment with a
custom label, self-exclusion, and the session-data retention period.
The Settings page: excluded roles, the logged-in member segment with a custom label…

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 MilkStats 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) 4 days 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) 3 months ago 89
3 WP Statistics – Simple, privacy-friendly Google Analytics alternative WP Statistics Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.1 (763) 4 days ago 90
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 (159) 6 days ago 97
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 200K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 2.5 (1.5K) 3 months ago 80
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) 8 months ago 53
7 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 (194) 4 days ago 95
8 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 week ago 81
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 (311) 3 months 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 96

FAQ

MilkStats: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is MilkStats free?

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

Is MilkStats safe to use in 2026?

MilkStats works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.

How many websites use MilkStats?

MilkStats is active on <10 WordPress websites and has been downloaded 509 times since it launched in September 2026. It was downloaded 131 times in the last 30 days.

Does MilkStats work with WordPress 7.1?

Yes. The developer has tested MilkStats up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does MilkStats need?

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

When was MilkStats last updated?

The latest version, 1.8.1, was released on September 11, 2026 (3 months ago).

Who makes MilkStats?

MilkStats is developed and maintained by javdgraaf.

What are the best alternatives to MilkStats?

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

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open