Closed steverabino closed 7 years ago
Google Analytics does not play nice with Turbolinks, as Turbolinks does not load the whole of every page on every pageview.
I've taken an approach similar to outlined here https://ruigomes.me/blog/google-universal-analytics-tracking-with-rails-4/, except where they have created an erb partial with a Githubissues.
Addresses issue #136
What this does
Google Analytics does not play nice with Turbolinks, as Turbolinks does not load the whole of every page on every pageview.
I've taken an approach similar to outlined here https://ruigomes.me/blog/google-universal-analytics-tracking-with-rails-4/, except where they have created an erb partial with a Githubissues.