Redmine plugin to insert a Google Analytics (or e.g. Piwik) tracking code into Redmine based on user roles.
Adds your Google Analytics (or e.g. Piwik) code to every pageview depending on your User roles; Anonymous user, Authenticated User, and/or Administrator.
This plugin version requires Redmine >= 2.0.0!
-
Change in the plugin directory of your redmine installation
cd /your_redmine_root/plugins/
-
Download the plugin. There are two supported ways:
-
Downloading the latest archive file from the GitHub project page:
wget https://github.com/paginagmbh/redmine-google-analytics-plugin/archive/master.zip
-
Checkout the sources from Git:
git clone git://github.com/paginagmbh/redmine-google-analytics-plugin.git plugins/google_analytics_plugin
-
-
Restart your redmine webserver
-
Login to your Redmine install as an Administrator.
-
Configure your settings in Administration > Plugins > [Google Analytics plugin] - Configure
You have to paste the complete Google Analytics or e.g. Piwik tracking code, including the HTML script tags, into the field.
This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.