Statistic Management

GAvsStatpressNewStatPress

NewStatPress is a new version of StatPress (that was the first real-time plugin dedicated to the management of statistics about blog visits).

A real-time plugin dedicated to the management of statistics about blog visits. It collects information about visitors, spiders, search keywords, feeds, browsers etc.

This project borned for improving the Daniele Lippi’s StarPress plugin adding a new history features and make it less db consuming.

Once the plugin NewStatPress has been activated it immediately starts to collect statistics information. Using NewStatPress you could spy your visitors while they are surfing your blog or check which are the preferred pages, posts and categories. In the Dashboard menu you will find the NewStatPress page where you could look up the statistics (overview or detailed). NewStatPress also includes a widget one can possibly add to a sidebar (or easy PHP code if you can’t use widgets!).

Note: you must disable the original StatPress plugin when activating this, as it use the same table of StatPress for storing data in DB (copy the data to another table will be very space consuming for your site, so it was better to use the same table)

Support

Check at http://newstatpress.altervista.org

What’s new?

Simple adding index to database and changes some data fields for better database storing (from here http://www.poundbangwhack.com/2010/07/03/improve-the-performance-of-the-wordpress-plugin-statpress-and-your-blog/ where some modification comes from)

Ban IP

You could ban IP list from stats editing def/banips.dat file.

DB Table maintenance

NewStatPress can automatically delete older records to allow the insertion of newer records when limited space is present. This features is left as original StatPress but it will be replaced by the history data instead.

NewStatPress Widget / NewStatPress_Print function

Widget is customizable. These are the available variables:

  • %thistotalvisits% – this page, total visits
  • %alltotalvisits% – all page, total visits
  • %totalpageviews% – total pages view
  • %todaytotalpageviews% – total pages view today
  • %since% – Date of the first hit
  • %visits% – Today visits
  • %totalvisits% – Total visits
  • %os% – Operative system
  • %browser% – Browser
  • %ip% – IP address
  • %visitorsonline% – Counts all online visitors
  • %usersonline% – Counts logged online visitors
  • %toppost% – The most viewed Post
  • %topbrowser% – The most used Browser
  • %topos% – The most used O.S.
  • %topsearch% – The most used search terms
  • %installed% – Give the number of installed plugin (experimental)

The number of installed plugins is obtained by counting the encripted MD5 site domain where the plugin is installed and his version inside a table into newstatpress.altervista.org database. As MD5 is used, this means that the site is registered anonymous and so site privacy is mantained. Actually the registration is send when you are in admin area, so it not affects a user that visit your site. If you put %installed% into one your page, take present that it goes to read a value to newstatpress.altervista.org database (it is one value, so performance should be fast). The used registration scripts are added inside include directory.

Now you could add these values everywhere! NewStatPress offers a new PHP function NewStatPress_Print(). * i.e. NewStatPress_Print(“%totalvisits% total visits.”);

New sperimental functions: place this command [NewStatPress: xxx] every were in your WordPress blog pages and you will have the graph about the xxx function.

Available functions are: * [NewStatPress: Overview] * [NewStatPress: Top days] * [NewStatPress: O.S.] * [NewStatPress: Browser] * [NewStatPress: Feeds] * [NewStatPress: Search Engine] * [NewStatPress: Search terms] * [NewStatPress: Top referrer] * [NewStatPress: Languages] * [NewStatPress: Spider] * [NewStatPress: Top Pages] * [NewStatPress: Top Days – Unique visitors] * [NewStatPress: Top Days – Pageviews] * [NewStatPress: Top IPs – Pageviews]