Skip to main content

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.

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.

Source Distributions

TracPiwik-0.1.1.zip (16.6 kB view hashes)

Uploaded Source

TracPiwik-0.1.1.tar.gz (9.4 kB view hashes)

Uploaded Source

TracPiwik-0.1.1.tar.bz2 (9.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page