Today I added some google analytics tracking to my redmine at dev.webdevberlin.com.

This was pretty easy, open:

1
app/views/layouts/base.rhtml

Search for the </body>-tag and add the given code (from analytics page) before the tag.

You don't even need to restart your redmine.

Should work pretty much the same for all other tracking services!