Included in hadrian.contrib is hadrian.contrib.google a google analytics template tag library.
Add hadrian.contrib.google to installed apps.
Load the google tag library in your template:
{% load analytics %}
Call analytics by doing so:
{% analytics "UA-xxxxxx" %}