Fork me on GitHub

gstats by wideopenspaces

Helper for Google Analytics!

Install

sudo gem install wideopenspaces-gstats add `config/initializers/google_analytics.rb` containing: GStats.analytics_account = "yr-acct-number" and at the top of `app/helpers/application_helper.rb` add: include GoogleStatsHelper Then you can use `<%= google_stats %>` in your views! Check the source for other helpful options...

License

MIT

Authors

Jacob Stetser (jake@wideopenspac.es)

Contact

Jacob Stetser (jake@wideopenspac.es)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/wideopenspaces/gstats