Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(2.4 kB) Copy SHA256 Hash SHA256
Source Feb 18, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting