-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Hey there!
Does it make sense to add the ability to disable the "send" command?
For example:
# config.rb
activate :google_analytics do |ga|
...
# Send pageview hit by default
ga.send_pageview = true
...
end<%
# analytics.js.erb
...
ga << "ga('send', 'pageview');" if @options.send_pageview
%>
...The reason is: AngularJS + Angular UI Router. I want to capture each state in the user flow.
Full article: http://www.arnaldocapo.com/blog/post/google-analytics-and-angularjs-with-ui-router/72