=== WARNING: From version 0.0.8 and above the include tag will only be show in production environment.
---
{}[http://badge.fury.io/rb/analytics-rails] {}[https://codeclimate.com/github/museways/analytics-rails] {}[https://travis-ci.org/museways/analytics-rails] {}[https://gemnasium.com/museways/analytics-rails]
= Analytics Rails
Adds a simple helper to create the google analytics include tag.
= Install
Put this line in your Gemfile:
gem 'analytics-rails'
Then bundle:
$ bundle
= Usage
In your layout add a line like this in your head:
<%= google_analytics_include_tag 'your-id' %>
(Will only show the include tag in production)