sandywp / plugins / wp-slimstat
SlimStat Analytics
Self-hosted, GDPR-ready Google Analytics alternative: cookieless or server-side tracking, visitor statistics, UTM campaigns, goals and funnels.
Ready in seconds.
v6.1.3 70,000+ installs WP 5.6+ PHP 7.4+

What you get inside
8 screens-
Overview — Every visit, understood at a glance: pageviews, visitors, top content, sources and countries for any date range, inside your WordPress dashboard.
-
WooCommerce revenue — Net sales, orders, average order value and purchase rate from WooCommerce, with the channels and products behind every order. Pro adds…
-
Heatmaps (Pro) — Click, scroll, dead-click and rage-click maps on your live pages, with plain-language insights about what to fix. Free lists clicks per page.
-
Channels (Pro) — Organic search, social, email, paid, referral, AI and more, grouped automatically with the sources behind each one. Free shows the top…
-
AI traffic (Pro) — Visits from ChatGPT, Perplexity, Gemini and Claude, plus GPTBot and ClaudeBot crawls, reported as their own channels.
-
UTM link builder — Build campaign links in the dashboard, then see which newsletter, ad or post actually sent visitors.
-
Goals & Funnels (Pro) — Set a goal in seconds, from a page URL to a custom event, then string goals into funnels to see where visitors drop off. Free…
-
Real-time — Visitors, pages and countries online, a live access log with server and page timings, and a world map of your audience. Pro adds the…
About this plugin
SlimStat Analytics is the real-time WordPress analytics plugin that keeps every visitor on your own server. Most analytics tools quietly hand your audience to someone else’s cloud. SlimStat doesn’t. Every pageview, click and visitor lands in your WordPress database and stays there: yours to read the moment it happens, yours to purge whenever you like, never shipped off to Google or anyone else.
SlimStat 6 turns that data into answers. A WooCommerce revenue dashboard puts net sales, orders and top products right beside your traffic. Heatmaps show which pages and buttons people actually click. Channels and UTM Campaigns tell you whether a visit came from search, social, email, paid ads or an AI assistant, and which campaign earned it. Set a goal and watch it convert, or chain steps into a funnel and see exactly where people slip away. And it is all faster: SlimStat 6 reads half as many database rows for its charts and writes far less on every pageview, so your site stays quick while you learn more.
New in SlimStat 6.1: Copy Prompt turns any report into a ready-to-paste prompt for ChatGPT, Claude or any AI assistant, unlimited in the free plugin. Click a country on the Audience Location map to follow it down to its cities. SlimStat → Videos brings video tutorials, loaded only when you ask. With SlimStat Pro, AI Analysis writes the findings for you right inside SlimStat.
Best of all, privacy isn’t a setting you have to hunt for. Anonymized IPs, Do Not Track, a consent banner and scheduled data cleanup are GDPR-ready from the first activation. Thousands of WordPress sites already trust SlimStat to keep their analytics honest, fast and entirely their own.
See SlimStat 6 in action:
Main Features
- Real-time analytics — Your site’s pulse, live. Watch each visit land the instant it happens: the page, the spot on the map, the search or link that sent them, how quickly your server replied, human or bot. No sampling, no 24-hour delay.
- WooCommerce revenue dashboard — Net sales, orders, period comparisons, top products and where your buyers came from, in one page next to your traffic. Switch it on when you’re ready; order sync runs quietly in the background and supports HPOS. WooCommerce 8.3+ required.
- Heatmaps — See which pages get clicked, how often, on which devices, and the five most clicked links and buttons on each page. SlimStat Pro paints full click and scroll heatmaps over your live pages.
- Channels and UTM campaigns — Know where every visit really came from: search, social, email, paid, AI assistants and crawlers, or a campaign you tagged. Build and copy campaign links straight from the report.
- Copy Prompt for AI — Turn any report into a ready-to-paste prompt for ChatGPT, Claude, Grok or any AI assistant: its rows, period and filters, copied to your clipboard and nowhere else. Unlimited in the free plugin; SlimStat Pro’s AI Analysis reads the report for you inside SlimStat.
- Goals & funnels — Turn raw traffic into answers. Define a goal (a WooCommerce sale, a signup, a key pageview) and see uniques, totals and conversion rate. Chain steps into a funnel to spot exactly where visitors drop off. One goal is free; up to five goals and full funnels unlock with Pro.
- Built for performance — A light tracker that writes far less per pageview, charts that read half as many database rows, and a choice of client-side tracking for cached sites or server-side to catch every request.
- Complete access log — Every visit in one searchable table. Drill into the full history and break it down by date, country, browser, OS, referrer, search term or content type to answer the questions the summary charts can’t.
- Outbound links & downloads — See which external links and files actually earn clicks, so you know what sends traffic off your site and which partnerships pull their weight.
- Know your visitors — Go past pageviews to the people behind them: returning readers, logged-in users, and a full audience breakdown by country, language, browser, OS and screen size. (Pro’s User Overview adds per-visitor journeys, time on site and Gravatars.)
- Your data, your server — No third-party cloud, no Google looking over your shoulder. Every byte lives in your WordPress database, and one-way IP hashing lets you count unique visitors without ever storing who they are.
- GDPR, sorted — Anonymize or hash IPs, honor Do Not Track, auto-purge old records on a schedule, and drop in a translatable consent banner that snaps straight into the WP Consent API (WPML and Polylang welcome). Compliance by design, not an afterthought.
- Geolocation & world map — Put a city and country to every visitor, plus their browser and operating system, powered by MaxMind and Browscap. Watch your audience light up across the globe, even from your phone, and click a country to follow it down to its top cities (map by jsVectorMap).
- Shortcodes & Shortcode Playground — Drop any report, live counter or Ecommerce KPI into a post, page or widget. Browse, preview with your own data and copy the shortcode under SlimStat → Shortcodes.
- Admin bar stats — Keep an eye on the numbers without leaving your work. Online visitors, pageviews and top pages sit one glance away in the WordPress admin bar, on every screen.
- Make every report yours — Rearrange, add or hide widgets across Real-Time, Overview, Audience, Site Analysis and Traffic Sources until each screen shows exactly what you care about.
- Filters — Decide who counts. Skip your own team, known bots, whole IP ranges, admin pages or entire countries so your stats reflect real visitors, not noise.
- Export & email — Download your reports as CSV files, or get the numbers that matter in your inbox each morning (email reports and Excel export via Pro).
- Cache-friendly — Plays nicely with W3 Total Cache, WP Super Cache, Cloudflare and most caching plugins.
Pro Pack Features
Love the free plugin? SlimStat Pro is for sites that live by their numbers. It adds the heavier tools without changing a thing about how SlimStat respects your data:
- AI Analysis — Ask for plain-language findings on any report you can view, including Ecommerce views and page heatmaps, through an AI provider connected in WordPress 7.0 or newer. Visitor identifiers, URLs and free-text labels are never sent, results stay in a private, searchable library, and provider charges may apply.
- City-level insights — The country-to-city drilldown lists every city, not just the top one.
- Heatmaps that show you what to fix — Click and scroll heatmaps on a phone, tablet or desktop preview, with plain-language insights on dead clicks, rage clicks and scroll drop-off, and an overlay painted right over your live pages.
- WooCommerce, deeper — Campaigns, landing pages, devices, guest and account buyers, coupons and product refunds added to the revenue dashboard, plus filtered CSV export.
- Email reports — Wake up to the numbers that matter. Schedule the reports you care about, including store revenue and heatmap insights, and have them land in your inbox as clean HTML tables or CSV.
- More goals & funnels — Up to five conversion goals and three full funnels, with ready-made templates for WooCommerce checkout, signups and content engagement.
- User overview — Follow individual registered users: what they viewed, how long they stayed and how fast your server answered, with Gravatars to put a face to the visit.
- Extended overview — Add your own columns to the User Overview report and export file, so it tracks exactly what your site cares about.
- Network analytics — Run reports and settings across an entire multisite network from one place.
- MaxMind integration — Connect MaxMind’s geolocation API for richer, more precise detail on where your visitors come from.
- Custom database — Store all your analytics in a separate, external database to keep your main WordPress DB lean.
- Export to Excel — Download any report as a ready-to-share Excel file.
Requirements
- WordPress 5.6+
- PHP 7.4+
- MySQL 5.6+ (or MariaDB 10.0+)
- At least 5 MB of free web space (240 MB if you plan on using the external libraries for geolocation and browser detection)
- At least 10 MB of free DB space
- At least 32 Mb of free PHP memory for the tracker (peak memory usage)
Please note
- Optional database downloads: If an administrator enables or updates browser detection or DB-IP geolocation, SlimStat downloads the Browscap database from GitHub and the DB-IP Lite database from jsDelivr. If an administrator chooses MaxMind GeoLite2 instead and enters a MaxMind license key, SlimStat downloads that database from MaxMind (https://download.maxmind.com) with the key. No analytics data is sent with these requests.
- Notifications and offers: While SlimStat notifications is on (Settings → General; on by default), your server asks https://connect.wp-slimstat.com, our service, about once an hour for release notes, feature news and offers to show administrators inside SlimStat. The request names only the plugin: no analytics data, settings or site address. Like any web request, it shows our service your server’s IP address. Turn the setting off and nothing is requested. See the wp-slimstat.com privacy policy.
- Optional Moz rankings: Only if an administrator enters Mozscape API keys (Settings → Reports), the Rankings report asks Moz (https://lsapi.seomoz.com) for your home page’s link metrics, sending your site’s address and the access ID. See the Moz privacy policy.
- Optional video tutorials: SlimStat → Videos lists tutorials published on wp-slimstat.com, our website. Nothing is requested until you choose Show videos, or turn on the new-video marker, on that screen. Your browser then downloads the list (https://wp-slimstat.com/videos/videos.json) and its thumbnails directly from wp-slimstat.com, with no referrer and no analytics or account data, and the list request without cookies; your WordPress server sends nothing. Like any web request, this shows wp-slimstat.com your IP address and browser, and the list request also names this site’s address (the browser’s standard Origin header). Show videos also turns the marker on, and it can be turned off on the same screen. With the marker on, your browser checks the list at most once a day. Your choices are kept in your browser only, and videos play on wp-slimstat.com in a new tab. See the wp-slimstat.com privacy policy.
- SlimStat Pro license check: Only when SlimStat Pro is active and a license key is saved, SlimStat asks the license server (https://my.wp-slimstat.com) through SlimStat Pro whether the license is valid for this site: about every 12 hours, and at once when an administrator saves License settings. It sends the license key and this site’s domain, never analytics data. Without SlimStat Pro, nothing is sent. See the wp-slimstat.com privacy policy.
- Your stats survive uninstalling. Deleting Slimstat Analytics keeps every visit, setting and table in your database, so reinstalling picks up exactly where you left off.
- If you want the data gone — decommissioning a site, or honouring a data-erasure request — turn on Settings → Maintenance → “Delete Data on Uninstall” before deleting the plugin, then delete it. That is the only one-step option that removes everything, archive tables included. Deleting the plugin on its own will not clear the database.
- Delete Records (Settings → Maintenance) clears your live records but not the archived ones in
wp_slim_stats_archive/wp_slim_events_archive, which still count as retained data under GDPR. If you are handling an erasure request and want to keep the plugin installed, clear the records and empty those archive tables. - Slimstat’s browser-detection cache (in
wp-content/uploads/wp-slimstat) is always removed on uninstall — it is a rebuildable cache, not your analytics. The geolocation database there is removed only if you opted into full deletion, because some hosts require it to be uploaded by hand.
Report Bugs
Found a bug, or want to suggest a feature? Please open an issue on GitHub and pick the matching form. Kindly note that GitHub is for bug reports and feature requests only — support questions belong in the WordPress.org support forum and will be closed there.
For security vulnerabilities, please report them through the Patchstack Vulnerability Disclosure Program. The Patchstack team will validate, triage, and handle any security issues.
Questions
- Where is my analytics data stored?
In your own WordPress database, full stop. Core tracking makes no external calls, so your numbers never go to Google, to us, or to any third-party cloud.
- Is SlimStat a good alternative to Google Analytics or Jetpack Stats?
Yes, if you care about ownership and timing. Your data never leaves your server, there is no sampling and no 24-hour delay, and you decide how long to keep it. You see visits the moment they happen, with the depth you’d expect from a hosted service.
- Does SlimStat work with WooCommerce?
Yes. SlimStat 6 adds a WooCommerce revenue dashboard with net sales, orders, period comparisons, top products and where your buyers came from, all next to your traffic reports. Switch it on in the Ecommerce page; order sync runs in small background jobs and supports HPOS. WooCommerce 8.3 or newer is required.
SlimStat Pro adds campaigns, landing pages, devices, coupons, refunds and CSV export.
- Can I see where visitors click?
Yes. The Heatmaps page lists every page with clicks, pageviews, clicks per pageview and device split, and shows the five most clicked links and buttons on each page.
SlimStat Pro adds full click and scroll heatmaps on phone, tablet and desktop previews, with insights on dead clicks, rage clicks and scroll drop-off.
- Does SlimStat track UTM campaigns and traffic channels?
Yes. Traffic Sources opens with Channels and UTM Campaigns side by side, and tells search, social, email, paid, AI assistants and crawlers apart. A campaign link builder sits in the report header.
Attribution starts with new pageviews after you update.
- Can SlimStat tell when ChatGPT or another AI assistant sends me visitors?
Yes. Visits referred from ChatGPT, Perplexity, Claude, Gemini, Copilot, Grok and other assistants get their own AI Assistants channel in Traffic Sources, so you can see how much traffic they send and what those visitors read. Automated requests from AI crawlers such as GPTBot and ClaudeBot are reported separately when your tracking settings collect them.
Google AI Overviews cannot be told apart from a normal Google search, so those visits stay in Organic Search.
- Will SlimStat slow down my site?
It’s built to stay light, and version 6 is lighter still: the tracker writes far fewer option updates per pageview and the admin charts read half as many database rows. Choose client-side tracking for cached sites. Server-side tracking records requests that reach WordPress; pages served entirely by a cache do not run the PHP tracker.
- Which tracking URLs should I exclude from page caches and CDNs?
Use the URLs in your site’s rendered tracker settings, including any site subdirectory. Exclude the bypass path
/request/{hash}/, the/wp-json/slimstat/tracking routes, plain-permalink requests containing?rest_route=/slimstat/, and/wp-admin/admin-ajax.phpat each applicable page, server and CDN cache. The bypass path exists only when the Ad-blocker bypass tracking method is selected. Do not cache tracking POST requests or rejection responses.Apply exclusions before purging cached tracking responses. Then check that an ordinary frontend page still gets a cache HIT and that tracking returns a pageview ID instead of HTML, including when bypass is the only available transport. Plugin no-store headers cannot fix a response already served by an earlier cache. Purge outdated tracker assets when updating; a query parameter alone may not bypass caches configured to ignore it. Compatibility depends on the cache version and configuration.
sandywp / also on the shelf
Try another plugin
Site Kit by Google – Analytics, Search Console, AdSense, Speed
4.2 · 5M+ installs
Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
-
The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow your business…
WP Statistics – Simple, privacy-friendly Google Analytics alternative
4.1 · 500K+ installs
Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on your own server.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.