README.md in analytics-rails-0.1.1 vs README.md in analytics-rails-0.2.0

- old
+ new

@@ -21,9 +21,19 @@ In your layout add a line like this in your head: ```erb <%= google_analytics_include_tag 'your-id' %> ``` +You can add custom events: +```erb +<%= google_analytics_include_tag 'your-id', events: [['Popup', 'Click']] %> +``` + +And custom variables: +```erb +<%= google_analytics_include_tag 'your-id', variables: [[1, 'Member', 'Yes', 1]] %> +``` + NOTE: Will only show the include tag in production environment. ## Credits This gem is maintained and funded by [museways](http://museways.com).