up one level
---


Mzzstat Site Stats Plugin for a WordPress Site

Introducing the Mzzstat plugin that records statistics for a WordPress site.

Link to project home:
https://github.com/mjassen/mzz-stat

Link to current revision as of this blog post:
https://github.com/mjassen/mzz-stat...5bae1b

Instructions:
1. install, activate, and configure the plugin (in this very early version that means hardcoding the database and table names…)(TO-DO: remove db hard-coding. “release early and often”, right?)
2. browse to some pages on the wordpress site to log some hits.
3. put the [mzz-stat] shortcode in a page

That’s it! Now the page hits are being recorded and the page with the shortcode will output an incrementing number of total site vists like:

> Total page hits: 34


[2019 edit: Moved to: https://i̶n̶v̶e̶s̶t̶o̶r̶w̶o̶r̶k̶e̶r̶.̶c̶o̶m̶/2015/... .html.]