I am working on a project that requires loading cookie information into Storyline.
I can read the cookie information into a JS variable in Storyline no problem.
The issue is converting the JS variable (with cookie information) into a Storyline variable.
Here is my JS in Storyline that currenly Alerts the cookies set and assigned to hotspotCookie. CookieValue is setup as a variable in Storyline:
var hotspotCookie = document.cookie;
alert("This is SL " + hotspotCookie);
Is there something I am doing wrong or is this incorrect?