I'm writing a proposal for a client that wants to know what type of device was used to complete the training (tablet, smartphone, or web) as well as the user's name, time started and finished, and where the person was. I'm thinking I can create a login form that would provide that information. Is there a way Storyline can determine this without a login form?
There are JavaScript examples on the forum that will show you how you can pull the user's name from an LMS as well as determine the date and time. I also recall coming across a JavaScript technique for determining if the user is running the Flash, HTML5, or Mobile App version of your course. Keep in mind, however, that the Articulate Mobile Player does not support JavaScript (in fact, that's the way that JS routine knows if your running the AMP).
As far as "where the person was", are you referring to GPS coordinates or just something like "at work" vs. "at home"?
You could use JavaScript that extracts date/time and the device info from the navigator object's user-agent portion (some info on this here), but as Steve pointed out that wouldn't work for access via AMP.
4 Replies
Hi Alan,
There are JavaScript examples on the forum that will show you how you can pull the user's name from an LMS as well as determine the date and time. I also recall coming across a JavaScript technique for determining if the user is running the Flash, HTML5, or Mobile App version of your course. Keep in mind, however, that the Articulate Mobile Player does not support JavaScript (in fact, that's the way that JS routine knows if your running the AMP).
As far as "where the person was", are you referring to GPS coordinates or just something like "at work" vs. "at home"?
You could use JavaScript that extracts date/time and the device info from the navigator object's user-agent portion (some info on this here), but as Steve pointed out that wouldn't work for access via AMP.
Thanks, guys. I am going to have to get some more information from the client.
Hi Alan! Glad that Steve and Michael were able to assist you while gathering information.
This discussion is closed. You can start a new discussion or contact Articulate Support.