Piwik

Piwik is a PHP MySQL application that lets you access traffic analytic information in real time. After installing it, simply put the JavaScript it provides on each page of the website you want to track.