How to track values from an eLearning course outside of an LMS
The new year came with a wave of very low temperatures here in Canada, but also brought a wave of very interesting and challenging requests from our clients. One of them, specifically, requested a modification to an eLearning course, that consisted in tracking some values out of it, but without hosting it in a LMS, meaning that they wanted to distribute the course as a web page (kind of).
So, without an LMS, how do you track values, for example, when a learner answers a specific question in the eLearning module?
Well, in our case, since our client didn’t want to keep track of user data (like emails, names, etc.), only answers to multiple choice questions, we made use of a few procedures, that allowed us to tally the data in a .CSV file.
Here is the general idea of the things you have to keep in mind to code this functionality:
To achieve this, we included the latest version of jQuery in the head of the HTML files that result from publishing the module for Web in Storyline. Then, we receive the values from Storyline and then create a request to a PHP file using the ‘post’ method of AJAX, to make all our computations and store the values.
The interesting part is that, with this CSV file, the client can perform analysis in Excel in case they want to (like creating charts).