Forum Discussion

LXDLearningExpe's avatar
LXDLearningExpe
Community Member
9 months ago

How to track your Articulate Storyline projects with Google Analytics dynamically and from anywhere!

Hi community,

I have been researching, testing and iterating this implementation for some time, and finally got to the perfect solution to track our Storyline files with Google Analytics.

I think you will find three aspects of this code particularly impressive:

  1. Unlike many Google Analytics setups you might have encountered before, this method allows you to dynamically add your tracking ID to your Articulate Storyline project. This means there’s no need to manually insert your tracking code repeatedly with every project republish. Pretty cool, right?

  2. This code even works when your published Storyline project is embedded elsewhere via an iframe. So, if you’re incorporating your Articulate interaction into your website, SharePoint site, etc., it’ll operate flawlessly! This flexibility opens up a wealth of possibilities, especially making it simpler to embed Analytics on platforms where it has traditionally been difficult, like Microsoft SharePoint. Just create a cool banner with Storyline and you will be able to track your page.

  3. You can simply create and use custom events to track and measure anything that you want from your project or interactions.

Hope you try it, enjoy it, and share which are some custom events you will be using in your projects!

Happy measuring,

LXD

  • Hi LXD Team! I am having trouble getting the JS code to move from Storyline> HTML file and to work with my course published via Web with Google Analytics. Am I missing a step? Do we need to change anything in the JS Script besides adding the measurement ID?