This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
If you follow @mathsppblog on Twitter you will never miss an update!