www.SmarteGuru.com
  Home | Blogs | Recipe | Find a Friend | Discussion Board | Resources | Developers Area | Articles | Health |  Login | Register Now 

Posts Tagged ‘google_analytics_code’

Integrate Google Analytics Plugin in your application

Monday, October 13th, 2008

This 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…)

Home - About Us - Help - Terms and Conditions - Site Map - Link to Us - Resources - Contact Us
Google Rank Calculator | Suggest developer resource | Suggest Article
All rights reserved © 2007 SmarteGuru.com.