Forum Discussion
Google Analytics in Storyline
Hello all,
Is this information somewhat relevant to the Tin Can API? If so, can anyone help me out with some starting points as to how to use Google Analytics via TCAPI to track custom data from our LMS provider? I'm no stranger to Storyline 2 but I hardly speak Java or any other coding language for that matter.
Thanks in advance
- nekcihnone9 years agoCommunity Member
Hey Erez, what details are you trying to track and who is your LMS provider?
- ErezGoren9 years agoCommunity Member
Hey Mark,
Some background info: We are constructing a 6-part course that is to be uploaded to Talent LMS, with each part pretty much consisting of the following:
-intro video (~10s) - no interaction
-Screencast tutorial(~10m) that contain markers which when clicked on - pause the video and reveal a layer containing some more markers on top of an image, and each of those markers (over 20 in each layer) contain additional information
-a Multi-layer slide with simple interactions (show layer #, etc)
-a Quiz with a Results slide
</background info>
What we are interested in tracking, for example:
-time- How long has the user spent on each slide, or if possible, on each layer
-markers- which markers were accessed
That would be a great start for us.
Thanks for your quick response.
- nekcihnone9 years agoCommunity Member
It sounds like a lot of what you are trying to do is a good fit for TCAPI. However, if you are looking to only report on aggregate user data, I'd recommend that you just use GASL. It will be way easier to implement than custom TCAPI tracking and Google Analytics' built-in reports are robust than most TCAPI implementations currently. You get them out of the box. Alternatively you could extend GASL to send data to both GA and TCAPI but that would require some JavaScript wizardry.
If you read the GASL docs, you'd see that it has the following function that you can call from within Storyline...
gasl.trackEvent(sCategory, sAction, [sLabel, eventData]);
You can use that to track almost everything you mentioned above. Capturing time spent would likely require you to write some custom script or find a utility library that helps you with that but tracking the markers should be a piece of cake using Storyline's Javascript actions. Good luck!