Skip to main content

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.

Release files for django-piwik 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-piwik 0.1
File Size Uploaded
django-piwik-0.1.tar.gz 2.4 kB Details

Release files / django-piwik-0.1.tar.gz

Download URL django-piwik-0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
629eeb2e8c2c90c06feef57f8ce8f523679519cd224a2297f9a5b76936e273cc
BLAKE2b-256 checksum
How to use checksums
208e0b68af04ee35fd03a8e30177f25fefccc55fd3e1ca8108bf5e7f9a94ac85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page