Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README for Rails 3

  • Loading branch information...
commit f01705cf9e071256c5b159ed26aa309517b39a4e 1 parent 9aa5179
@ambethia authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.