I’m happy to announce that I’m Open Sourcing a new Redmine plugin, the Google Analytics plugin. I created this plugin because I didn’t want to hard code my Google Analytics code into my Redmine. It’s a simple plugin, and a very basic example of how to use the new Redmine plugin hook API that will be included in Redmine 0.8.
Features
Adds your Google Analytics code to every pageview depending on your User roles; Anonymous user, Authenticated User, and Administrator.
Installation and Setup
-
Download the plugin. There are three supported ways:
- Downloading the latest archive file from Little Stream Software projects
-
Checkout the source from Git
git clone git://github.com/edavis10/redmine-google-analytics-plugin.git vendor/plugins/google_analytics_plugin
-
Install it using Rail’s plugin installer
script/plugin install git://github.com/edavis10/redmine-google-analytics-plugin.git
-
Login to your Redmine install as an Administrator.
- Configure your settings in Administration > Information > Configure
License
This plugin is licensed under the GNU GPL v2.
Help
If you need help you can create an issue directly into the bug tracker. If you would like to contribute any changes, you are welcome to fork my code on GitHub
If you are currently working on a Redmine plugin and need help or have an idea for a plugin you would like developed, please contact me. My company, Little Stream Software, specializes in the development of custom Redmine features and Redmine plugins.
Eric
Hi Eric,
Does it work on latest Redmine, too?
It should work on the latest Redmine and ChiliProject. It uses a basic API call to add the analytics tracking to each page.