Permalink
Browse files

Update README for Rails 3

  • Loading branch information...
1 parent 9aa5179 commit f01705cf9e071256c5b159ed26aa309517b39a4e @ambethia committed Aug 18, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.rdoc
View
9 README.rdoc
@@ -13,7 +13,12 @@ Rack middleware to embed Google Analytics tracking code.
== Configuring for a Rails App
- config.gem "ambethia-rack-google_analytics", :lib => "rack/google_analytics", :source => "http://gems.github.com"
+In your `Gemfile`:
+
+ gem 'rack-google_analytics'
+
+In your `config/application.rb`
+
config.middleware.use "Rack::GoogleAnalytics", :web_property_id => "UA-0000000-1"
== TODO and Motivations
@@ -39,4 +44,4 @@ fixes for these deficiencies.
== Copyright
-Copyright (c) 2009 Jason L Perry. See LICENSE for details.
+Copyright (c) 2011 Jason L Perry. See LICENSE for details.

0 comments on commit f01705c

Please sign in to comment.