WP Statistics

Description

WP Statistics: THE #1 WORDPRESS STATISTICS PLUGIN

Do you need a simple tool to know your website statistics? Do you need to represent these statistics? Are you caring about your users’ privacy while analyzing who are interested in your business or website? With WP Statistics you can know your website statistics without any need to send your users’ data anywhere. You can know how many people visit your personal or business website, where they’re coming from, what browsers and search engines they use, and which of your contents, categories, tags and users get more visits.

Checkout Demo

Data Privacy

WP Statistics stores all data, including IP addresses, safely on your server. WP Statistics respects user privacy and is GDPR, CCPA compliant, as detailed on our GDPR, CCPA and cookie law compliant page. It anonymizes IPs, uses IP hashing with random daily Salt Mechanism for extra security, and follows Do Not Track (DNT) requests from browsers. This keeps user information private while giving you insights into your website traffic.

ACT BETTER BY KNOWING WHAT YOUR USERS ARE LOOKING FOR

  • Anonymize IP to Better Privacy
  • Enhance IP Hashing with Random Daily Salt Mechanism
  • Respect for User Privacy with Do Not Track (DNT) Compliance
  • Visitor Data Records including IP, Referring Site, Browser, Search Engine, OS, Country and City
  • Stunning Graphs and Visual Statistics
  • Visitor’s Country & City Recognition
  • The number of Visitors coming from each Search Engine
  • The number of Referrals from each Referring Site
  • Top 10 common browsers; Top 10 countries with most visitors; Top 10 most-visited pages; Top 10 referring sites
  • Hits Time-Based Filtering
  • Statistics on Contents based on Categories, Tags, and Writers
  • Widget Support for showing Statistics
  • Data Export in TSV, XML, and CSV formats
  • Statistical Reporting Emails
  • Statistical of pages with query strings and UTM parameters
  • [Premium] Data Plus
    • Link Tracker: Tracks clicks on outgoing links, offering insights into visitor engagement with external content.
    • Download Tracker: Observes which files are downloaded, providing clarity on content effectiveness.
  • [Premium] More Advanced reporting
  • And much more information represented in graphs & charts along with data filtering

NOTE

Some advanced features are Premium, which means you need to buy extra add-ons to unlock those features. You can get Premium add-ons here!

REPORT BUGS

If you encounter any bug, please create an issue on GitHub where we can act upon them more efficiently. Since Github is not a support forum, just bugs are welcomed, and any other request will be closed.

Screenshots

  • Overview
  • Browsers Statistics
  • Top Countries
  • Hit Statistics
  • Top pages
  • Category Statistics
  • Search Engine Referral Statistics
  • Last Search Words
  • Dashboard widgets
  • Theme widget
  • Page Statistics Overview
  • Link Tracker: Recent Clicks
  • Link Tracker: Top Clicks
  • Download Activity Tracker: Recent Downloads
  • Download Activity Tracker: Top Downloads

Installation

  1. Upload wp-statistics to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Make sure the Date and Time are set correctly in WordPress.
  4. Go to the plugin settings page and configure as required (note this will also include downloading the GeoIP database for the first time).

FAQ

GDPR Compliant?

The greatest advantage of WP Statistics is that all the data is saved locally in WordPress.
This helps a lot while implementing the new GDPR restrictions; because it’s not necessary to create a data processing contract with an external company! Read more about WP Statistics compliance with GDPR.

Does WP Statistics support Multisite?

WP Statistics doesn’t officially support the multisite feature; however, it does have limited functionally associated with it and should function without any issue. However, no support is provided at this time.
Version 8.8 is the first release that can be installed, upgraded and removed correctly on multi-site. It also has some basic support for the network admin menu. This should not be taken as an indication that WP Statistics fully supports the multisite, but only should be considered as a very first step.

Does WP Statistics work with caching plugins?

Yes, the cache support added in v12.5.1

If you’re using a plugin cache:
* Don’t forget to clear your enabled plugin cache.
* You should enable the plugin cache option in the Settings page.
* Making sure the below endpoint registered in your WordPress.
http://yourwebsite.com/wp-json/wpstatistics/v1

To register, go to the Permalink page and update the permalink with press Save Changes.

What’s the difference between Visits and Visitors?

Visits is the number of page hits your site has received.
Visitors is the number of unique users which have visited your site.
Visits should always be greater than Visitors (though, there are a few cases when this won’t be true due to having low visits).
The average number of pages a visitor views on your site is Visits/Visitors.

Are All visitors’ locations set to ‘unknown’?

Make sure you’ve downloaded the GeoIP database and the GeoIP code is enabled.
Also, if you are running an internal test site with non-routable IP addresses (like 192.168.x.x or 172.28.x.x or 10.x.x.x), these addresses will be always shown as ‘unknown’. You can define a location IP for these IP addresses in the “Country code for private IP addresses” setting.

I’m using another statistics plugin/service and get different numbers from them, why?

Probably, each plugin/service is going to give you different statistics on visits and visitors; there are several reasons for this:

  • Web crawler detections
  • Detection methods (Javascript vs. Server Side PHP)
  • Centralized exclusions

Services that use centralized databases for spam and robot detections , such as Google Analytics, have better detection than WP Statistics.

Not all referrals are showing up in the search words list, why?

Search Engine Referrals and Words are highly dependent on the search engines providing the information to us. Unfortunately, we can’t do anything about it; we report everything we receive.

Does WP Statistics support the UTM parameters?

Yes, It does! WP Statistics logs all query strings in the URL such as UTM parameters.

PHP v8.0 Support?

WP Statistics is PHP 8.0 compliant.

IPv6 Support?

WP Statistics supports IPv6 as of version 11.0; however, PHP must be compiled with IPv6 support enabled; otherwise you may see warnings when a visitor from an IPv6 address hits your site.

You can check if IPv6 support is enabled in PHP by visiting the Optimization > Resources/Information->Version Info > PHP IPv6 Enabled section.

If IPv6 is not enabled, you may see a warning like:

Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:5d71:6114:d8bd:80c2:1090

What 3rd party services does the plugin use?

IP location services are provided by data created by MaxMind, to detect the Visitor’s location (Country & City) the plugin downloads the GeoLite2 Database created by MaxMind on your server locally and use it.

Referrer spam blacklist is provided by Matomo, available from https://github.com/matomo-org/referrer-spam-blacklist

Reviews

March 14, 2024
Before the recent update, for example, a post which got nearly 900 views, is listed as having now only 180. That is not what an update is supposed to do. With every update the views go down, but the traffic on the server is actually increasing, as I can see it from the logs. WPStatistics, therefore, is no longer giving you the real data, but is manipulating that. Dont rely on it. In fact, uninstall it.
February 15, 2024
Have been using this for a while now, maybe two years, and it has been great. I even have all of the add-ons and use most of them. Problem lately is the plugin is killing an extremely overpowered server. Not sure why. Finally had to nix the plugin, and viola! Server CPU and RAM went from 100% usage with 50 or 60 people on the site to 10%. I've reached out to the dev (v14.4.3 was my doing, nagging works) but only just. Doubt they can do anything and clearly large sites (250,000+ hits a month) aren't using this from the reviews. Site was bigger, then this issue started tanking traffic (before Google HCU in 2023) even after doubling my server size (extra $$$ I won't get back). Will update if I'm wrong about that. Just thought I'd share my experience with the plugin. For tech deets: Cloudways hosting on a 16GB Vultr server, PHP 8.2, MariaDB 10.5, varnish, Cloudflare Ent, Wordfence Pro, GeneratePress theme, WP Super Cache, and storing only last 30 days of stats (minimum allowed). Established site with little to no change year to year. This site should be sailing, and it does when this plugin is deactivated. Sadly. Loved it. Very useful and accurate enough to count on it (verified against GA4 and the money guys). Only support request got a quick answer and resolution. 5-star plugin for smaller sites, no question.
February 15, 2024 1 reply
Very complete and full of information for my site, congratulations.Is it possible to know which items have been viewed even without purchasing? Even simply clicking on them. It wouldn't be bad to have this information even without knowing who saw the various articles. I use WooCommerce for convenience. Thank you and congratulations on your plugin.
Read all 646 reviews

Contributors & Developers

“WP Statistics” is open source software. The following people have contributed to this plugin.

Contributors

“WP Statistics” has been translated into 27 locales. Thank you to the translators for their contributions.

Translate “WP Statistics” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

14.6.2 – 16.04.2024

  • Addition: Integrated Chart Zoom Library
  • Fixes: Removed self-referred URLs from statistics
  • Fixes: Corrected search chart step size issue
  • Fixes: Resolved add-on save issue with backward compatibility
  • Update: Upgraded ChartJS to v4.4.2
  • Improvement: Addressed cron event issue in admin reports
  • Improvement: Refined spam referrer exclusion logic and updated spam list URL
  • Improvement: Enhanced performance by optimizing VisitorProfile handling in exclusions
  • Improvement: General performance enhancements and code clean-up

See changelog for all versions.