This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
Thank you MathGurl for having inspired me so much.