Wibstats is a WordPress plugin that gives each blog in a WordPress, WordPress MU or BuddyPress installation their own visitor statistics.
WibStats allows you to include statistics from your site in your blog posts and pages. This is done with shortcodes, simple bits of text that set some parameters for the information to display. For example:
Will give you (for example);
Search Visitors search 1 40% search 2 30% search 3 20% search 4 10%
Please note these examples here are not formatted correctly (due to WordPress readme file restrictions). The proper code looks like this:
<div class="wibstats_report [name of the report]"> <table> <thead> <tr> <th>Column 1</th> <th>Column 2</th> </tr> </thead> <tbody> <tr> <td>Row 1, column 1</td> <td>Row 1, column 2</td> </tr> <tr> <td>Row 2, column 1</td> <td>Row 2, column 2</td> </tr> </tbody> </table> </div>
Want another example? OK:
Country Time United Kingdom 9:22 pm United States 9:21 pm Portugal 9:18 pm
When showing country names WibStats will also show a small icon of the flag of that country.
There are quite a few different reports you can show (these go in the
popularcountriesThe most popular countries to visit your blog
popularcitiesThe most popular cities to visit your blog
recentcountriesThe most recent countries to visit your blog
recentcitiesThe most recent cities to visit your blog
popularbrowsersThe most popular browsers to visit your blog
popularplatformsThe most popular platforms (operating systems) to visit your blog
popularscreensizesThe most popular screen sizes to visit your blog
popularsearchesThe most popular search words which found your blog
recentsearchesThe most recent search words which found your blog
populardaysThe most popular days of the week that people visited your blog
popularhoursThe most popular hours of the day that people visited your blog
popularmonthsThe most popular months of the year that people visited your blog
popularreferrersThe most popular referring websites that sent visitors to your blog
recentreferrersThe most recent referring websites that sent visitors to your blog
sessionA breakdown of the data associated with the current visitor to your blog (their country, city, browser etc)
A couple of other options allow you to configure these reports as they display on your posts/pages.
Sets the number of items you want to show (minimum 1, maximum 100)
Sets how long you want the report to be cached for. Caching means that the report isn't recalculated every time someone visits the page, meaning the page is a little bit faster to load.
size option is set in minutes, with "0" meaning not-cached-at-all (the report is recalculated every time someone visits the page it appears on) and "-1" for cached forever (the report is generated once then remains the same forever).
So, a couple more examples:
[wibstats report="popularcities" size="25"]
This shows the top 25 most popular cities to visit your blog.
[wibstats report="recentsearches" size="5" cache="0"]
This shows the top 5 latest search words which brought visitors to your blog, and is not cached at all.
[wibstats report="popularreferrers" size="50" cache="-1"]
This shows the top 50 most popular referring websites (sites that have a link to your blog) and is cached forever. This means the report will show what the top referring sites are now and will never be updated.
Any further ideas will be gratefully received.
Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 7 years ago
Active Installs: 400+
Got something to say? Need help?