Google Analytics in Storyline

Dec 12, 2014


I have enabled Google analytic in a SCORM course developed using SL1 before 4 months.

I have enabled the tracking code after publishing and enabled the event triggers inside the story file.

Now, the report I got from GA is remarkable/immanence/no words to say....


I would like to share my experience with this here...

1. Geographic Location (city, contry, metro, etc...) where the learners have accessed and the number of learners metric in each location

2. What are the resolutions learners used (i have receive more the 150 resolutions monitors) among 1200 learners.

3. How many learners attended Quiz and How many skipped

4. How many of them are desktop users and ipad users

5. which OS learners used to view this course

6. who are the network service providers for them

7. which flash player version learners used to view the course

8. which browser has been used to view this course by the learner (with browser version )

9. what are the slides users spent more time and what the slides users spent less time (with slides title)

10. Sessions, page view and so on... no end....

this helped me to understand more about the learner , to develop provide even better courses.


Many Thanks to Storyline and Google.



36 Replies
Senthil Kumar

HI Bryan,

Give me one or 2 days time to prepare the doc. 

But before that, please create a GA account from GOOGLE.  

I hope you should have knowledge about GA and its terminologies. (eg: Tracking ID, Website Property, Account and the limitations)

If not please login to google academy website and have a prerequisite knowledge such as platform principles and and digital analytics fundamentals.


Elisha M

Hi Senthil,

Could I also take a look at your document?  Your post sounds very similiar to what I am trying to accomplish with some of the courses I handle in our LMS.  Sometimes I receive a "Tracking Not Installed" in Google Analytics even after I have embedded my Tracking Code in the story.html file as directed in the GA Help Section.   Maybe your document could shed some light on some things for me.

Thanks in advance!

Mark H

Hey all, I just finished a little javascript lib to make this easier. It automatically tracks pageViews for slides and you can manually add triggers for tracking events.

If you are a coder, please improve it and make a pull request!

I'd like to make the event tracking automatic based on SCORM interactions but because the cmi.suspend_data is compressed I am unable to. Actually, it is possible but I didn't feel like reverse engineering the compression. It's extremely hacky stuff; chunks, base64, etc. Proprietary comopression? Boo. I wish Articulate would include a decompression function for the string in the published output. It sure would empower us to do more with the tool. Especially when publishing to Flash.


Erez Goren

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

Erez Goren

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.

Mark H

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!