thecut/thecut-googleanalytics
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
======================
thecut.googleanalytics
======================
Google Analytics tracking code template and api client (oauth) helpers for
Django.
Add the ``thecut.googleanalytics`` to the project's ``INSTALLED_APPS``
setting::
INSTALLED_APPS = (
...
'thecut.googleanalytics',
)
Add the analytics template tag to the ``<head>`` section of your base
template::
{% block analytics %}
{% load analytics %}
{% analytics_tracking_code %}
{% endblock %}