Plugin Directory

WP Slimstat Analytics

The leading web analytics plugin for WordPress

  • [Fix] Some static text ( var_ ) sneaked into the source code. Apologies for the inconvenience.


  • [Note] We are working on a new add-on, Slimstat Sentinel, which will alert you if suspicious activity is detected on your website. Stay tuned.
  • [New] Added support for "current post/page" to shortcodes. Now you won't need to write any PHP code to show, for example, the number of pageviews for a given page. Just use the following shortcode: [slimstat f='count' w='id']content_id equals current[/slimstat]. You can find more information on our knowledge base
  • [Update] Browscap library updated to version 6014, released on April 21th, 2016.
  • [Fix] When the Network Settings add-on was activated and subsequently deactivated, some of the original options would be lost.
  • [Fix] Text areas in the settings were not becoming read-only if the corresponding option was set "network wide" via the Network Settings add-on.

  • [Update] Activity log entries are now grouped both by IP and by username.
  • [Fix] A PHP Warning was being returned by the new Rankings report.

  • [Update] Browscap library updated to version 6013, released on March 15th, 2016.
  • [Fix] Values in textarea setting fields were not being saved.


  • [Note] A few users have pointed out issues upgrading from versions prior to 4.0, which introduced a new table structure (see changelog). About eight months after we released version 4.0, we removed the upgrade script to streamline our codebase and improve performance. Given all these requests for help, we now decided to restore that code, and extend it to include extra checks and warnings, if something goes wrong. Check Settings > Maintenance > Database to see if you have a notice recommending to remove table leftovers from your database.
  • [New] A warning will alert administrators if a caching plugin has been detected, so that they remember to configure Slimstat Analytics accordingly.
  • [Fix] Some users were getting a 403 Forbidden when trying to access the list of add-ons from our servers.
  • [Fix] A PHP Error was being returned by the new Rankings report.
  • [Fix] The Top Referring Domains export was missing one column.
  • [Fix] A bug in the customizer was preventing the reports from being displayed correctly, under certain circumstances.
  • [Fix] PHP warning being displayed in textareas (settings) under certain circumstances (thank you, Chris)


  • [Note] To celebrate Slimstat's 10th birthday, we decided to tweak its name, to better reflect what it does. A few users have pointed out over time that it hadn't been easy for them to find our plugin in the repository. With our limited resources, we have been working on giving our work more visibility, and we are convinced that adding the word "Analytics" to the plugin's name is a step in the right direction. In a few months, we hope to reap the benefits of our efforts.
  • [New] Please welcome our latest add-on Author Overview. Now you can see how popular your blog authors are: this add-on will install a new report that tells you the number of pageviews, unique IPs and unique visits generated by the posts authored by each user in your blog. (thank you, gh0stmichael)
  • [Update] Plugin Update Checker, the third-party library we use to distribute updates for our premium add-ons, has been updated to version 3.0. In the next few days, we will release a dummy update of our most popular add-ons to give you a chance to verify that everything works as expected. If this is not the case, feel free to contact us to troubleshoot the issue.
  • [Update] AmMap, the library used to render the world map, has been updated to version 3.19.3, released on February 23, 2016.
  • [Update] All language files are now current. Please consider contributing your localization.
  • [Update] It turns out our message regarding Keyword Swarm and other fraudulent clones of Slimstat was confusing users. We updated it to better explain what the situation is. (thank you, Multimastery)
  • [Fix] A bug in our heuristic browser detection functionality was triggering a PHP fatal error, in some cases. (thank you, mkilian)
  • [Fix] Updated Rankings API queries (Alexa, Facebook) and replaced Google API with Mozscape's. One of our users pointed out that the Google Backlink count returned by the Google API is not accurate. Please make sure to get your personal identification codes to access their API.
  • [Fix] Changed the language code for our Japanese localization files. Now Slimstat speaks Japanese! (thank you, Yasui3)


  • [Note] Our previous request for help did not fall on deaf ears. Each donation we received in the past few weeks, reminded us just how important is our work for our community, and how much you all appreciate it. To show how grateful we are, we decided to give back to our community twice as much. Yes, you read that right. In the next few days, we will be sending our donors coupons that can be used on our store to get a discount equal to double the amount they donated. If you are a donor and don't get an email from us in a few days, feel free to contact us so that we can look into it. This promotion will only apply to donations received by midnight on February 15, 2016. Again, thank you for stepping up and being such a great community of supporters. It means a lot to us.
  • [New] Option to configure the tracker to work in asynchronous mode. (see this thread for more information)
  • [Update] Browscap library updated to version 6012, released on February 4th, 2016.
  • [Fix] The tracker was erroneously returning "invalid checksum" even when other errors were occurring, or filters being applied to a pageview.
  • [Fix] The javascript tracker was not compressed.
  • [Fix] Top Pages Not Found report had been removed by mistake. (thank you, Bperun)


  • [New] Reintroduced our beloved Async Mode (Slimstat > Settings > Reports > Functionality). Activate this feature if your reports take a while to load. It breaks down the load on your server into multiple requests, thus avoiding memory issues and performance problems.
  • [New] Turkish localization added. (thank you, Seyit Mehmet Çoban)
  • [Update] To avoid confusion, we updated the option from 'Delete Records' to 'Archive Records'. Please go make sure it is set according to your needs. (thank you, Steve)
  • [Update] Our premium add-on Network View, now renamed Network Analysis, is now compatible with Slimstat 4.x. Go grab your copy today
  • [Fix] Some charts were not displaying accurate metrics under certain circumstances (filters).
  • [Fix] A PHP warning was being displayed if WP_DEBUG was set to true. (thank you, Salpetriere)
  • [Fix] A fatal error message was being displayed on the login screen if the data structure was not up-to-date or corrupted. (thank you, Chuck)


  • [New] A filter to customize the list of report screens/pages: slimstat_screens_info. Please contact us for more information.
  • [Update] After we introduced the new Customizer function, one of our most active users noted that pages would not disappear from the side navigation if no reports were associated to them. We update the functionality to include this new feature.
  • [Update] Detecting search engines and searchterms has become a real challenge in the last few years (thank you, NSA!). We updated our algorithm to detect if a referer is a search engine or not. (thank you, HubieDoobieDoo)
  • [Update] Instead of creating a copy of the MaxMind database for each site in a network, now the plugin uses a shared one stored in the main "uploads" folder.
  • [Update] How many people read this changelog? We want to conduct a little experiment to find out: use code CHANGELOG to get $25 off any new order placed after January 18, 2016 on our store. One use per account, only available to the first 20 users who will place an order.
  • [Update] Unfortunately our partner GetSocial.io has decided to terminate their partnership with us. The corresponding report has been removed from the admin.
  • [Fix] The tracker was not working as expected in Internet Explorer 7, returning the error message "Object doesn't support this property or method: trim" (thank you, Nick).
  • [Fix] Traffic Sources report was not grouping records as expected (thank you, HubieDoobieDoo)


  • [New] We rewrote the heuristic algorithm that decodes the user agent string. Also, we introduced a new option (under Settings > Tracker) to allow you to choose the detection logic to be used first: the heuristic function is much faster and requires very little memory, but it might be less accurate, and not produce the right match; browscap.ini, the third party database we use, is memory intensive and it uses a bruteforce approach to determine a visitor's browser, but it's very accurate and precise even with the most obscure user agent strings (almost all of them). You decide which one works best for you.
  • [New] You can now reset the tracker status in order to better troubleshoot issues with the plugin (thank you, Per).
  • [Update] We now include the smaller version of the Browscap database, which covers the 50,000 most common user agent strings, instead of the full version which covers about 130,000 strings. Please contact us if your project requires the high level of accuracy offered by the latter.
  • [Update] Swedish localization updated and 100% complete (thank you, Per).
  • [Update] Some web accelerators (Cloudflare and others) use the custom header HTTP_X_REAL_IP to keep track of a visitor's originating IP. Our code is now inspecting this header (thank you, Saeid).
  • [Update] Added many new flavors of Linux to the feature in charge of detecting the user's operating system.
  • [Update] Moved plugin screenshots to 'assets' folder in the repository, so that they are not downloaded with the zip file anymore.
  • [Fix] Other plugins might affect the format of the value returned by date_i18n (by introducing, for example, Persian numbers). This was preventing Slimstat from being able to calculate dates and time frames (thank you, Saeid).
  • [Fix] The new Javascript tracker was not working as expected in Internet Explorer 10 and 11 (thank you, Arne).


  • [Note] The Javascript Tracker has been partially rewritten to store each link's state as inline "data" attributes. This had already been implemented a while ago, however the tracker was not using those values to decide what to do; it was using instead Javascript variables. Now the code has been consolidated, also allowing third party tools to affect the behavior of the tracker at runtime, by modifying the values associated to the data attributes. Please feel free to contact us if you want to know more about this new feature.
  • [Note] As the tracker engine has been changed, please make sure to flush your server caches to take advantage of all the new features and optimizations.
  • [Update] The Activity Log report displays when users login and logout (this feature requires our premium add-on User Overview). You can also create filters on this event using the 'Annotations' filter in the dropdown. Contact our support team for more information.
  • [Update] Minor CSS improvements to adapt the layout to WordPress 4.4.
  • [Update] Tracker Error Codes are now called Tracker Statuses, to avoid confusion between when the plugin is not working and when it's actually doing its job.
  • [Update] Javascript tracker is now capable of tracking custom link types.
  • [Fix] Custom filters (used in some of our premium add-on) where affecting the way charts were being displayed.
  • [Fix] Resolved an encoding issue, introduced by our XSS patch in version 4.2.2 (thank you, Paper Bird)
  • [Fix] Shorcodes were not working as expected if the value passed to the filter was zero (thanky you, Sheriffonline).
  • [Fix] Shortcode for countries will now return Country names, not codes (thank you, Sheriffonline).
  • [Fix] Time ranges within the same day (i.e. visitors in the last 5 minutes) were not being calculated correctly.


  • [Note] The WordPress Translation Team contacted us to let us know that Slimstat has been imported into translate.wordpress.org. We adapted the source code and moved the localization files within our folder structure, to comply with their new guidelines. It looks like it will now be much easier for our users to contribute, and help Slimstat speak many new languages.
  • [New] You can now filter existing users in groups, using wildcards.
  • [New] Our premium add-on User Overview now extends the tracker to record login/logout events. This feature can be useful if you have a membership site and want to know when users actually log in.
  • [Update] Time on page now displays hours, if the duration is long enough (thank you, Ralf)
  • [Fix] Patched a javascript vulnerability that might be exploited via the Activity Log report (thank you, Ivan)
  • [Fix] Session tracking cookie does not differentiate between logged in and anonymous users anymore.
  • [Fix] Tracker was not working as expected on the WordPress login screen and when admin-ajax.php was being called by other scripts.
  • [Fix] Blacklist by username was incorrectly considering substrings.
  • [Fix] When running reports on date intervals, start and end of calculated timeframe were skewed by one day under certain circumstances.
  • [Fix] Link on Edit Posts/Pages counter was not working as expected (thank you, SGURYGF).
  • [Fix] Miscellaneous code optimizations and clean-up.


  • [Note] If you're upgrading from a version prior to 4.0, please upgrade to version 4.0 first. To simplify our codebase, we removed all the upgrade scripts to support versions prior to 4.0.
  • [New] Say hi to your new charts: search terms (total and unique per day or even hour), outbound links, users. If you can't see the new charts, don't forget to give the No Panic button a try.
  • [Update] We are dropping old unused columns from the main table: ip_temp, other_ip_temp, ip_num, other_ip_num. Please make sure you have a backup, in case you need those columns for other custom purposes.
  • [Fix] Some users were seeing "ghost reports" in their admin screens. A residue from Halloween, we assume.
  • [Fix] Our "loading" animated icon was not being displayed correctly on refresh.
  • [Fix] Chart legend was not being displayed as expected.

Requires: 3.8 or higher
Compatible up to: 4.5.1
Last Updated: 3 hours ago
Active Installs: 100,000+


4.8 out of 5 stars


46 of 50 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,3,3 100,1,1 100,2,2 100,3,3 100,2,2 100,2,2 100,1,1
100,1,1 75,4,3 100,2,2 100,2,2 0,1,0
100,5,5 100,2,2 100,11,11 67,3,2 100,6,6 100,2,2 50,4,2
100,1,1 100,1,1 100,1,1
100,1,1 100,4,4 92,12,11
100,6,6 50,2,1 100,1,1
100,3,3 86,7,6 83,6,5 100,1,1
91,11,10 100,5,5 100,1,1 100,1,1
100,10,10 50,2,1
100,7,7 100,5,5 93,14,13 100,7,7 60,5,3 71,7,5
100,8,8 100,8,8 100,11,11 95,21,20
93,14,13 100,1,1
75,4,3 100,2,2 100,11,11
100,26,26 96,24,23
91,11,10 100,4,4 71,7,5 100,3,3 0,1,0
100,1,1 100,4,4 100,4,4 80,5,4 100,1,1 100,2,2 100,1,1
100,2,2 100,5,5 80,5,4 88,8,7 100,5,5 100,6,6 86,7,6 100,5,5 100,1,1 100,4,4 100,3,3 0,1,0
100,2,2 67,3,2 86,7,6 0,1,0 0,1,0
22,9,2 80,5,4 100,10,10 67,3,2 100,1,1
100,1,1 100,2,2 100,1,1 100,5,5 100,2,2
100,2,2 100,1,1 100,2,2
100,1,1 100,4,4 67,3,2 100,8,8 100,2,2
33,3,1 43,7,3 100,2,2 86,7,6 100,1,1 0,1,0 100,1,1
100,1,1 100,2,2 83,6,5 100,3,3 33,3,1 80,5,4 67,3,2 100,1,1
100,2,2 100,1,1
100,3,3 75,4,3
50,2,1 100,3,3 100,3,3 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1
100,2,2 100,1,1 100,3,3 100,4,4 100,1,1 100,2,2 75,4,3 100,2,2 100,1,1 100,1,1
100,1,1 50,2,1 100,2,2 100,1,1
100,2,2 100,1,1 100,1,1 100,2,2 100,3,3 100,2,2 100,1,1 100,2,2
67,3,2 100,1,1 0,1,0
100,1,1 100,1,1
0,6,0 75,4,3 100,3,3 100,1,1 50,2,1 100,1,1 100,3,3 100,1,1 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2
100,2,2 100,1,1 100,1,1 100,1,1 100,3,3 100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,3,3 100,2,2
0,1,0 100,1,1