Module tracking with Google Analytics
Hi,
I've been using a snippet of GA code in my storyline files that registers each slide as a 'pageview'.
We are moving away from our LMS/LRS (it is getting harder and harder to ensure content and LMS/LRS play nice with each other) and have decided to use GA solely as our source of tracking module activity.
I'm wondering if there is a way to add more information to the GA code that would allow a more precise/better organised way of gathering this information beyond a pageview, as we have A LOT of learning content?
This is the code that goes onto each slide as an execute JavaScript trigger at the start of the timeline (I got this from someone in one of these discussions a few years ago!):
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'GA USER ID HERE', 'auto');
ga('send', 'pageview', 'PAGE TITLE');
Thanks!