Skip to content

Google Analytics tracking code template and api client (oauth) helpers for Django.

License

Notifications You must be signed in to change notification settings

thecut/thecut-googleanalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 %}

About

Google Analytics tracking code template and api client (oauth) helpers for Django.

Resources

License

Stars

Watchers

Forks

Packages

No packages published