Trac plugin to enable your trac environment to be logged by Google Analytics
Project description
Previously known as Google Analytics Plugin, this plugin will enable your trac environment to be logged by Google Analytics.
It ads the necessary javascript code to log your environment, plus, it also logs the downloads of regular filenames which end with a specific extension; these extensions are defined by you; and also external links.
Plugin has been renamed and package hierarchy has changed to join other trac plugins that addressed Google services.
Download and Install
The easiest way to install is using EasyInstall:
sudo easy_install TracGoogleAnalytics
Then, to enable the plugin add to the [components] section in your trac.ini:
[components] tracext.google.analytics.* = enabled
Configuration
- The necessary configuration is:
UID: Google Analytics’ UID. The UID is needed for Google Analytics to log your website stats. Your UID can be found by looking in the JavaScript Google Analytics gives you to put on your page. Look for your UID in between the javascript:
var pageTracker = _gat._getTracker("UA-111111-11");
In this example you would put UA-11111-1 in the UID box.
- There are other, more advanced configuration options:
admin_logging: Disabling this option will prevent all logged in TRAC_ADMIN’s from showing up on your Google Analytics reports.
authenticated_logging: Disabling this option will prevent all authenticated users from showing up on your Google Analytics reports.
outbound_link_tracking: Disabling this option will turn off the tracking of outbound links. It’s recommended not to disable this option unless you’re a privacy advocate (now why would you be using Google Analytics in the first place?) or it’s causing some kind of weird issue.
google_external_path: This will be the path shown on Google Analytics regarding external links. Consider the following link:
<a href="http://trac.edgewall.org/">Trac</a>
The above link will be shown as:
/external/trac.edgewall.org/
This way you will be able to track outgoing links. Outbound link tracking must be enabled for external links to be tracked.
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.
tracking_domain_name: If you’re tracking multiple subdomains with the same Google Analytics profile, like what’s talked about here, enter your main domain here. For more info, please visit the previous link.
Bugs and/or New Features
Please submit bugs of new features to:
http://google.ufsoft.org/
Source Code
If you wish to be on the bleeding edge and get the latest available code:
hg clone http://google.ufsoft.org/hg/analytics/ TracGoogleAnalytics
Note: For up-to-date documentation please visit TracGoogleAnalytics’s site.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file TracGoogleAnalytics-0.2.4.zip
.
File metadata
- Download URL: TracGoogleAnalytics-0.2.4.zip
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ef7e3d3a741a37b46a640b08de741e8af3a8c82334e3b656ab3f6568e1ee04 |
|
MD5 | 66729919fb87e0acab1409f42dd7d920 |
|
BLAKE2b-256 | cc75fedd253479f9ded8b85b2e1bd1f7e7150b7bec2fc3b10dd24cd290702ca7 |
File details
Details for the file TracGoogleAnalytics-0.2.4.tar.gz
.
File metadata
- Download URL: TracGoogleAnalytics-0.2.4.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ee119aa187ef9d6aff4df599f91641dbc04ab816a432c5fb292e78113cc790 |
|
MD5 | c50cafdb0461d69e16f11fc9a62d5bda |
|
BLAKE2b-256 | 72c3cf5d71a0644bfbd5ea81c31c4e78d40523d0cc9720d615e36ca9caa873d4 |
File details
Details for the file TracGoogleAnalytics-0.2.4.tar.bz2
.
File metadata
- Download URL: TracGoogleAnalytics-0.2.4.tar.bz2
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea2defa004c303c8b5eafb180de1a448fc48aa68936fde179d3e251cc99fc57a |
|
MD5 | 04619690c39995c771bdf5cbdd2d36c3 |
|
BLAKE2b-256 | f1550760f34abe339f4256b4f7064ea2359daf86754603ca7b9ca8e833b6dabc |
File details
Details for the file TracGoogleAnalytics-0.2.4-py2.6.egg
.
File metadata
- Download URL: TracGoogleAnalytics-0.2.4-py2.6.egg
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 398f98f544eeff909de984ca3f3780c9ff8086082b018803ddbbfa1341ea5d08 |
|
MD5 | 89d14b7cbd92b3dff38d9818fff1cd89 |
|
BLAKE2b-256 | e34a8dcd1bee298a4e8c85d66bf0518f76e480a8d0df5922f2a874e93c1ccc9d |