README.md in google_analytics_mailer-0.2.0 vs README.md in google_analytics_mailer-0.2.1
- old
+ new
@@ -1,6 +1,7 @@
-# GoogleAnalyticsMailer [![Build Status](https://secure.travis-ci.org/fabn/google_analytics_mailer.png)](http://travis-ci.org/fabn/google_analytics_mailer)
+# GoogleAnalyticsMailer
+[![Gem Version](https://badge.fury.io/rb/google_analytics_mailer.png)](http://badge.fury.io/rb/google_analytics_mailer) [![Build Status](https://secure.travis-ci.org/fabn/google_analytics_mailer.png)](http://travis-ci.org/fabn/google_analytics_mailer) [![Coverage Status](https://coveralls.io/repos/fabn/google_analytics_mailer/badge.png)](https://coveralls.io/r/fabn/google_analytics_mailer) [![Code Climate](https://codeclimate.com/github/fabn/google_analytics_mailer.png)](https://codeclimate.com/github/fabn/google_analytics_mailer) [![Dependency Status](https://gemnasium.com/fabn/google_analytics_mailer.png)](https://gemnasium.com/fabn/google_analytics_mailer)
This gem automatically rewrites **absolute** links generated by ActionMailer. It intercepts all'`url_for` calls (so `link_to` calls are intercepted as well)
and change the final url to add [Custom Campaign parameters](http://support.google.com/analytics/bin/answer.py?hl=en&answer=1033867) to your URLs.
## Installation
@@ -92,10 +93,10 @@
## Action Controller integration
Since ActionMailer and ActionController use the same code base to provide view rendering this gem can be used in the
same way in any action controller which inherits from `ActionController::Base` (i.e. almost every controller in a
- Rails application). The alias `google_analytics_controller` is provided for better compatibility thus in a controller
+ Rails application). The alias `google_analytics_controller` is provided for better naming thus in a controller you can do
```ruby
class UserController < ApplicationController
# declare url parameters for this controller. Absolute links in this controller will be tagged with GA parameters