Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Trac plugin to enable your trac environment to be logged by Piwik

Project description

This plugin will enable your trac environment to be logged by Piwik. It is mostly based on the excellent TracGoogleAnalytics.

Note

You need at least Piwik 0.4 and Trac 0.11

Download and Install

The easiest way to install is using EasyInstall:

sudo easy_install TracPiwik

To enable the plugin add this to the [components] section in your trac.ini:

[components]
tracext.piwik.* = enabled

Configuration

Mandatory Configuration

  • Site ID: Piwik’s Site ID. You can find the Site ID either on the Site tab in Piwik’s settings module or in the JavaScript code:

    var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
    

    In this example, the Site ID is 1.

  • Base URL: The base URL of your Piwik installation. If the URL of your Piwik installation would be http://www.example.com/piwik/, you’d enter www.example.com/piwik (without http:// and the trailing slash).

Advanced Configuration

  • admin_logging: Disabling this option will prevent all logged in TRAC_ADMIN’s from showing up on your Piwik reports.
  • authenticated_logging: Disabling this option will prevent all authenticated users from showing up on your Piwik reports.
  • extensions: Enter any extensions of files you would like to be tracked as a download. For example to track all MP3s and PDFs enter mp3|pdf. Outbound link tracking must be enabled for downloads to be tracked.

Source Code

If you wish to be on the bleeding edge and get the latest available code:

hg clone http://bitbucket.org/piquadrat/tracpiwik/

Bugs and/or New Features

Please submit bugs or feature requests to:

http://bitbucket.org/piquadrat/tracpiwik/issues/

Project details


Download files

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

Files for TracPiwik, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size TracPiwik-0.1.1.tar.bz2 (9.7 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size TracPiwik-0.1.1.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size TracPiwik-0.1.1.zip (16.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page