Add google analytics snippet to your django templates.
Google + Analytics = Googlytics
Application to use the google analytics tracking snippet in a Django project.
There are a couple of other apps like this one, but I wasn’t fully satisfied so I’ve implemented googlytics on top of the ideas expressed in this StackOverflow Q&A.
- Ability to turn off googlytics in development.
- Ability to turn off googlytics for (logged-in) admin users.