Integrate Google Analytics Plugin in your application
Monday, October 13th, 2008This plugin will automatically add Google Analytics code to all of your pages, instead of manually having to add it to app/views/application.rhtml. You put your tracker id in config/environment.rb and it Just Works. It will, by default, only work in production mode, and you can switch it off for particular controllers and actions.
To install it, add plugin repository to your rails plugin sources:
script/plugin source http://svn.rubaidh.com/plugins/trunk
and to install the Google Analytics plugin:
(more…)
