skip to navigation
skip to content

Not Logged In

django-piwik 0.1

A simple app to add the Piwik JS tracking code to your template.

A simple app to add the Piwik JS tracking code to your template.

Requirements

  • Django

Installation

Using PyPI you can simply type into a terminal:

pip install django-piwik

or

easy_install django-piwik

Configuration

Add piwik to the list of INSTALLED_APPS in your settings.py file.

Also PIWIK_SITE_ID (e.g. 1) and PIWIK_URL (e.g. 'http://piwik.example.com/', please don't forget the trailing slash!) are required.

In the template, put {% load piwik_tags %} to the top and add {% tracking_code %} before the </body> tag.

That's it. Happy tracking!

Author

Copyright 2013 Raphael Jasjukaitis <webmaster@raphaa.de>

Released under the BSD license.

 
File Type Py Version Uploaded on Size
django-piwik-0.1.tar.gz (md5) Source 2013-02-18 2KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 40 downloads in the last week
  • 334 downloads in the last month