Skip to main content

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

Project description

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


  • Django


Using PyPI you can simply type into a terminal:

pip install django-piwik


easy_install django-piwik


Add piwik to the list of INSTALLED_APPS in your file.

Also PIWIK_SITE_ID (e.g. 1) and PIWIK_URL (e.g. '', 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!


Copyright 2013 Raphael Jasjukaitis <>

Released under the BSD license.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-piwik-0.1.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page