Sha256: c43682bd45150a94be5783d33fab80f0ca88539a977569be5cfa3797a5226712

Contents?: true

Size: 986 Bytes

Versions: 2

Compression:

Stored size: 986 Bytes

Contents

=== WARNING: From version 0.0.8 and above the include tag will only be show in production environment.

---

{<img src="https://badge.fury.io/rb/analytics-rails.png" alt="Gem Version" />}[http://badge.fury.io/rb/analytics-rails] {<img src="https://codeclimate.com/github/museways/analytics-rails.png" />}[https://codeclimate.com/github/museways/analytics-rails] {<img src="https://travis-ci.org/museways/analytics-rails.png?branch=master" alt="Build Status" />}[https://travis-ci.org/museways/analytics-rails] {<img src="https://gemnasium.com/museways/analytics-rails.png" alt="Dependency Status" />}[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)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
analytics-rails-0.1.0 README.rdoc
analytics-rails-0.0.8 README.rdoc