Sha256: 76b5b402c4e9960ee455f0c99888d3382c29839b1dc79b196efb12065b303a5d
Contents?: true
Size: 882 Bytes
Versions: 2
Compression:
Stored size: 882 Bytes
Contents
GoogleAnalytics =============== This is a quick 'n' dirty module to easily enable Google Analytics support in your application. By default it'll output the analytics code for every single page automatically, if it's configured correctly. This is done by adding: Rubaidh::GoogleAnalytics.tracker_id = 'UA-12345-67' to your `config/environment.rb`, inserting your own tracker id. This can be discovered by looking at the value assigned to +_uacct+ in the Javascript code. If you want to disable the code insertion for particular pages, add the following to controllers that don't want it: skip_after_filter :add_google_analytics_code If you are running rails 2.1 or above add install this by adding: config.gem 'markcatley-google_analytics', :lib => 'rubaidh/google_analytics', :source => 'http://gems.github.com' and run: rake gems:install Simple. :-)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
markcatley-google_analytics-1.0.1 | README |
markcatley-google_analytics-1.0.20080710 | README |