tpitale/staccato

Marking hits as non-interactive

tpitale opened this issue · 1 comments

Any hit type should be able to be marked as non-interactive. Useful for tracking pageviews/events in Resque/DelayedJobs, etc.

https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ni

All tracking methods take an option :non_interactive. When set to any truthy value it will be set to 1.