README.md in analytics-rails-0.3.4 vs README.md in analytics-rails-4.0.0.0

- old
+ new

@@ -31,16 +31,16 @@ ### Include In your layout add a line like this in your head: ```erb -<%= google_analytics_include_tag 'id' %> +<%= google_analytics_include_tag 'UA-000000-01' %> ``` You can add metrics if you want: ```erb -<%= google_analytics_include_tag 'id', metric: 'value' %> +<%= google_analytics_include_tag 'UA-000000-01', category: 'products' %> ``` ### Events To send events add a line like this with the category and action: @@ -48,10 +48,10 @@ <%= google_analytics_event_tag 'Video', 'play' %> ``` You can add label, value and other options too if you want: ```erb -<%= google_analytics_event_tag 'Video', 'play', 'Fall Campaign', 42, metric: 'value' %> +<%= google_analytics_event_tag 'Video', 'play', 'demo.mp4', 42, category: 'product' %> ``` ## Credits This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).