WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Wibstats

Wibstats is a WordPress plugin that gives each blog in a WordPress, WordPress MU or BuddyPress installation their own visitor statistics.

Why did you write this plugin?

I looked around for a suitable statistics plugin for one of my websites (wibsite.com) but was disappointed in the options available. In fact I tried one of the most popular ones but it was very badly written and I had to remove it as it was killing my server. So, I decided to write one myself.

The stats aren't working? What's gone wrong?

There are two reasons visitor stats might not be working:

1) The wp_footer() action is not being fired in your template. Please ensure that the wp_footer() action is in your footer.php file.

2) The statistics tables could not be created. If your WordPress database user does not have CREATE TABLE provileges you will need to run these two SQL scripts (replacing [prefix] with your WordPress database prefix, for example "wp_"). For WordPress MU the [prefix] needs to be replaced with the base database prefix AND the blog id (for example "wp_123"):

CREATE TABLE [prefix]wibstats_sessions ( 
id mediumint( 9 ) NOT NULL AUTO_INCREMENT,
timestamp bigint( 11 ),
ipaddress VARCHAR( 24 ),
sessionid VARCHAR( 50 ),
colordepth VARCHAR( 3 ),
screensize VARCHAR( 12 ),
browser VARCHAR( 50 ),
version VARCHAR( 12 ),
platform VARCHAR( 50 ),
page VARCHAR( 255 ),
title varchar( 255 ),
referrer VARCHAR( 255 ),
referrer_domain VARCHAR( 255 ),
terms VARCHAR( 255 ),
city VARCHAR( 50 ),
country VARCHAR( 50 ),
countrycode VARCHAR( 3 ),
latitude FLOAT( 10,6 ),
longitude FLOAT( 10,6 ),
PRIMARY KEY  ( id ),
KEY timestamp ( timestamp ),
KEY ipaddress ( ipaddress ),
KEY sessionid ( sessionid ),
KEY colordepth ( colordepth ),
KEY screensize ( screensize ),
KEY browser ( browser ),
KEY version ( version ),
KEY platform ( platform ),
KEY page ( page ),
KEY title ( title ),
KEY referrer ( referrer ),
KEY referrer_domain ( referrer_domain ),
KEY terms ( terms ),
KEY city ( city ),
KEY country ( country ),
KEY countrycode ( countrycode ),
KEY latitude ( latitude ),
KEY longitude ( longitude )
);
CREATE TABLE [prefix]wibstats_pages ( 
id mediumint( 9 ) NOT NULL AUTO_INCREMENT,
timestamp bigint( 11 ),
page VARCHAR( 255 ),
title varchar( 255 ),
sessionid VARCHAR( 50 ),
referrer VARCHAR( 255 ),
referrer_domain VARCHAR( 255 ),
terms VARCHAR( 255 ),
PRIMARY KEY  ( id ),
KEY timestamp ( timestamp ),
KEY page ( page ),
KEY title ( title ),
KEY sessionid ( sessionid ),
KEY referrer ( referrer ),
KEY referrer_domain ( referrer_domain ),
KEY terms ( terms )
);

For more information and support leave a comment here: http://www.stillbreathing.co.uk/projects/mu-wibstats/

Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 2010-5-14
Downloads: 10,235

Ratings

3 stars
3.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
0,1,0
0,1,0 33,3,1 100,1,1
33,3,1
25,4,1
100,1,1