django-visitor allows you to track visitors across your site using a cookie. It is very simple and basic, and it can be used as a base for other apps.
For an example on how to use this see django-pulse.
django python visitor visitortracker
There are no reported vulnerabilities