Can Storyline or Storyline 2 detect the learner’s device by using global position (GPS) so you can deliver the right content at the right time no matter what device they are using, and have the content be specific to their location?
There is no built-in Storyline function to do this. A while ago, I had experimented with JQuery to display a user's location info in Storyline, see here for some info. With a bit more work it should be possible to not only display but read the location info into Storyline variables and make decisions, based on latitude/longitude. I'm not sure though how you think you can detect the type of the user's device (e.g. iPad vs. Android phone) with GPS data.
Also, be aware that neither of these options is supported if you intend to use the Articulate Mobile Player app. Since there is Javascript involved, this would only work in a mobile browser, but not in the player app.
In some situations, I'm a tad bit leary of solutions that automatically pick a location for a learner.
In my old company, we had a lot of engineers and other technical personnel that were on temporary assignment at another location in the US or outside the U.S. Or they might be salespeople traveling around the country or region. You might want them to take certain training for their original location.
For cases like this, offering learners a choice of location may be better.
This feature is the only reason I still have Captivate. It is great for creating historical learning for walking tours and it made for a fun treasure hunt for my grandkids. I wish Articulate would consider adding this feature.
You can get the learner's location with a widget that can be used in Storyline: https://cluelabs.com/location-elearning-widget.html It will return city, state, country, and zip into Storyline variables, and you can decide what to do with the data.
I tried using this widget, but not 100% working. I have pictures of different countries set as hidden, and I sent the link to people in different countries to check.
Here are the triggers:
Execute Javascript when timeline starts (Javascript has been pasted in)
Set Country variable to equal UAE when timeline starts if country is equal to, ignore case, United Arab Emirates
Change stage of UAE pic to normal when timeline starts if Country variable is equal to UAE
Set Country variable to equal Australia when timeline starts if country is equal to, ignore case, Australia
Change stage of Australia pic to normal when timeline starts if Country variable is equal to Australia
Set Country variable to equal India when timeline starts if country is equal to, ignore case, India
Change stage of India pic to normal when timeline starts if Country variable is equal to India
I am based in the UAE, and it works for me. When I send it to people in Australia or India, they too also see the UAE pic.
I also tested if it was because the first country being set was UAE so I changed #2 and #3 to be the Australia triggers, however still showing the UAE pic.
Could this be because I am publishing it in the UAE so that information is held in the course? Are there any settings to update anywhere? I couldn't find any.
I don't understand Javascript so just copy and pasted as per the cluelabs.com link, no idea what is all means though ...
I'm pretty sure that in the country variable you get a two-letter code, so it'll be "AU" and "IN" not "Australia" and "India." If you are having issues, you should post your question on Cluelabs community forum, so you can get the proper answer: https://cluelabs.com/community/forum/
9 Replies
There is no built-in Storyline function to do this. A while ago, I had experimented with JQuery to display a user's location info in Storyline, see here for some info. With a bit more work it should be possible to not only display but read the location info into Storyline variables and make decisions, based on latitude/longitude. I'm not sure though how you think you can detect the type of the user's device (e.g. iPad vs. Android phone) with GPS data.
jQuery is great, and here's another option if you'd rather go with a ready-made solution - https://elearningenhanced.com/products/storyline-geolocation-widget
Also, be aware that neither of these options is supported if you intend to use the Articulate Mobile Player app. Since there is Javascript involved, this would only work in a mobile browser, but not in the player app.
In some situations, I'm a tad bit leary of solutions that automatically pick a location for a learner.
In my old company, we had a lot of engineers and other technical personnel that were on temporary assignment at another location in the US or outside the U.S. Or they might be salespeople traveling around the country or region. You might want them to take certain training for their original location.
For cases like this, offering learners a choice of location may be better.
Thanks for the replies!
This feature is the only reason I still have Captivate. It is great for creating historical learning for walking tours and it made for a fun treasure hunt for my grandkids. I wish Articulate would consider adding this feature.
You can get the learner's location with a widget that can be used in Storyline: https://cluelabs.com/location-elearning-widget.html It will return city, state, country, and zip into Storyline variables, and you can decide what to do with the data.
Bringing up an old thread ... sorry!
Using Storyline 360.
I tried using this widget, but not 100% working. I have pictures of different countries set as hidden, and I sent the link to people in different countries to check.
Here are the triggers:
I am based in the UAE, and it works for me. When I send it to people in Australia or India, they too also see the UAE pic.
I also tested if it was because the first country being set was UAE so I changed #2 and #3 to be the Australia triggers, however still showing the UAE pic.
Could this be because I am publishing it in the UAE so that information is held in the course? Are there any settings to update anywhere? I couldn't find any.
I don't understand Javascript so just copy and pasted as per the cluelabs.com link, no idea what is all means though ...
I'm pretty sure that in the country variable you get a two-letter code, so it'll be "AU" and "IN" not "Australia" and "India." If you are having issues, you should post your question on Cluelabs community forum, so you can get the proper answer: https://cluelabs.com/community/forum/
This discussion is closed. You can start a new discussion or contact Articulate Support.