VSF Simple Stats

I’ve been using the JQ Quick Stats for some time now and have been thinking ever since I started that it could do with at least one major improvement! And that is to accept an ip range. So my plug-in is built on Quick Stats but has other features.

VSF Simple Stats

Records all hits to your website, but excludes hits from IPs that have been added to the filter list. IP addresses can be filtered individually or as a range from the admin page.

The stats that this plugin generates are basic. They do however allow you to see exactly who has been visiting (IP, host, browser) in real-time. This information is exceedingly useful when used in conjunction with VSF Simple Block and Bad Behavior to reduce nuisance visits. If you want full graphical stats though, use Googles Analytics. This is not designed to be a replacement for GA.


WordPress 3.0+ (but it will probably work on lower versions)
MySQL (as there is a query which will probably not port as is)

Screen shots

simple stats image 1

simple stats image 2

simple stats image 3

Version History

0.8 – 15/06/2011 Added in ability to add custom search query parameters in to the admin page. This means that if there are visitors coming from a search engine that isn’t known, like the sites own, it can be added manually.
0.7 – 09/01/2011 Add in serach terms box on the stats page for the main search engines. Might upgrade this in future to allow custom search param to be added to a separate table so as to extend this functionality for search engines that use something other than p or q to indicate search terms.

0.6 – 27/09/2010 Re-design of the interface on the admin and stats pages. Database table upgrade so the tables are used more efficiently.

0.5 – 30/07/2010 Added import and export feature of the addresses in the filter table. Since I have multiple installs and use this plugin everywhere, I need a facility for importing and exporting the list of filtered IP ranges.

0.4 – 28/07/2010 All strings are now ready for internationalisation.

0.3 – 23/07/2010 Add reset button for stats to the admin page and to the stats page. Tidy up code and change the admin layout slightly. Improve checking of the description field.

0.2.1 – 22/07/2010 Made the plugin activation better by adding an activation hook instead of checking installation everywhere. Should improve performance (slightly) and improve first activation / installation.

0.2 Slight modification to plug-in name.

0.1 Initial version.

Please consider donating!

If you’ve found this plug-in helpful, please consider donating! Buy me something from my wish list: Amazon.co.uk wish list. That way I’ll feel more inclined to add new features and fix bugs!


Current version – MD5 Hash 1e8ac22f89c0af0c9c0ed391d583c8c4 (I think)

The plug-in is also available from wordpress.org and can be found here!

  • fogkeebler

    I guess maybe I’m not doing something right. I installed your plug in to try it out, but all I see in my admin area is options (Settings>VSF Simple Stats). I dont see anywhere that I can view the stats as shown in the screen shots. What am I missing? Thanks,

  • Victoria

    Hi FogKeebler,

    Hopefully under “Posts” there should be “Show Stats”. (Posts -> Show Stats)
    If show stats isn’t there – it probably hasn’t installed correctly 🙁

    They are basic stats, but I find them useful for watching exactly who visits my site.


  • fogkeebler


    I just wasn’t looking in the right place. Basic is what I was looking for! Plug in is perfect.

  • fanta00

    Is it possible to check old stats? where can I see them?

  • Victoria

    Hi Fanta00,

    The stats can be found under Posts –> Show Stats. The plug-in only collects rolling stats up to the maximum defined in the Logging box on the admin page (Settings –> VSF Simple Stats). Once you reach the maximum rows (default 500) the last row in the table is deleted in order to keep the table size small. If you were to change the maximum records to a very high number, you could store more days worth of data, but that would make your database table bigger and perhaps in tern cost you more on hosting(?).

    This plug-in is not supposed to replace something like Google Analytics (which does record stats permanently and can be used for historical purposes), rather complement it as the stats on this plug-in are right up to date. I personally use it to monitor trends in robots, browser summaries and other irregularities.

    Thank you

  • Eric Yip

    I understand that the vsf-simple-stats has not been updated for a long time.
    But I really think that yours is the best one I’ve ever used. It’s sad that WordPress has been updated to the point that vsf-simple-stats doesn’t function anymore. It would be great if you could make it reborn some day!

  • Victoria

    Hi Eric,

    Thank you for you comment and you’ve just made me realise that my wordpress theme change was hiding comments with white text on a white background!

    With regards to the plugin not working in the newer versions of wordpress – I wasn’t aware. I know I get the nag emails before the major releases suggesting that I re-verify the plugin works with the upcoming release and that I haven’t in a very long time… but I still have the plugin running in my three websites 🙂

    I’ve not written enough php in the last 5 years or so to make siginificant changes in a timely fashion to the plugin without taking a few weeks getting back up to speed… but I’m more than happy for someone to fork the codebase and contine/re-write it (looking back on it… there’s not much I’d keep! but that’s what any developer tends to think of their code after a couple of months).