WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP Statistics

Complete statistics for your WordPress site.

Where's the Admin Manual?

The admin manual is installed as part of the plugin, simply go to Statistics->Manual to view it. At the top of the page will also be two icons that will allow you to download it in either ODT or HTML formats.

If the plug does not work?

Disable / Enable the plugin.

All visitors are being set to unknown for their location?

Make sure you've downloaded the GeoIP database and the GeoIP code is enabled.

Also, if your 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 come up as unknown always.

I was using V3.2 and now that I've upgraded my visitors and visits have gone way down?

The webcrawler detection code has been fixed and will now exclude them from your stats, don't worry, it now reflects a more accurate view of actual visitors to your site.

GeoIP is enabled but no hits are being counted?

The GeoIP code requires several things to function, PHP 5.3 or above, the bcmath extension, the cURL extension and PHP cannot be running in safe mode. All of these conditions are checked for but there may be additional items required. Check your PHP log files and see if there are any fatal errors listed.

How much memory does PHP Statistics require?

This depends on how many hits your site gets. The data collection code is very light weight, however the reporting and statistics code can take a lot of memory to process. The longer you collect data for the more memory you will need to process it. At a bare minimum, a basic WordPress site with WP Statitics should have at least 32g of RAM. Sites with lots of plugins and high traffic should look at significantly increasing that.

I've enabled IP subnet exclusions and now no visitors are recorded?

Be very careful to set the subnet mask correctly on the subnet list, it is very easy to catch too much traffic. Likewise if you are excluding a single IP address make sure to include a subnet mask of 32 or 255.255.255.255 otherwise the default subnet of 0 will be used, catching all ip addresses.

I'm not receiving e-mail reports?

Make sure you have WordPress configured correctly for SMTP and also check your WP Cron is working correctly. You can use Cron View to examine your WP Cron table and see if there are any issues.

Does WP Statistics support multi-site?

WP Statistics hasn't been tested with multi-site and there have been some issues reported with getting it enabled correctly on all sites in a network.

Does WP Statistics report on post hits?

Yes, version 6.0 has introduced page hit tracking!

Does WP Statistics track the time of the hits?

No.

The GeoIP database isn't downloading and when I force a download through the settings page I get the following error: "Error downloading GeoIP database from: http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz - Forbidden"

This means that MaxMind has block the IP address of your webserver, this is often the case if it has been blacklisted in the past due to abuse.

You have two options: - Contact MaxMind and have them umblock your IP addres - Manually download the database

To manually download the database and install it take the following steps:

  • On another system (any PC will do) download the maxmind database from http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
  • Decompress the database
  • Connect to your web host and create a "wp-statistics" directory in your wordpress uploads folder (usually it is located in wp-content, so you would create a directory "wp-content/uploads/wp-statistics").
  • Upload the GeoLite-Country.mmdb file to the folder you just created.

You can also ask MaxMind to unblock your host. Note that automatic updates will not function until you can successfully download the database from your web server.

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-8-14
Downloads: 641,039

Ratings

4 stars
4.5 out of 5 stars

Support

58 of 58 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1 0,1,0 100,1,1 100,2,2
100,1,1 100,2,2
0,2,0 100,5,5 100,8,8 80,5,4 100,1,1
60,5,3 75,4,3
100,1,1 0,1,0
25,4,1 100,2,2 100,6,6 100,1,1
67,3,2 100,2,2 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 80,5,4 100,3,3 100,4,4 50,2,1 83,6,5
50,4,2 100,1,1
0,1,0 100,4,4
67,3,2
100,3,3
67,3,2 100,1,1 0,1,0 0,1,0 100,1,1
100,1,1 100,3,3 100,1,1 83,6,5 100,2,2 100,1,1
25,4,1
67,3,2 0,2,0 100,1,1 100,3,3
100,1,1