reach 360
1 TopicExporting Storyline variables to Google Sheets
Hello everyone, I have no programming background and would appreciate some help. I am trying to export variables from Storyline to a Google Sheet. The course is published on the reach 360 platform. I used the following code for the ExcuteJavascript trigger: console.log("JavaScript from Trigger is running!"); var player = GetPlayer(); $(document).ready(function() { $.ajax({ url: "https://script.google.com/macros/s/.../exec", type: "POST", dataType: "json", contentType: "application/json", data: JSON.stringify({ "FullName": player.GetVar("FullName"), "Quiz1.ScorePercent": player.GetVar("Quiz1.ScorePercent"), "Quiz2.ScorePercent": player.GetVar("Quiz2.ScorePercent"), "Quiz3.ScorePercent": player.GetVar("Quiz3.ScorePercent"), "Quiz4.ScorePercent": player.GetVar("Quiz4.ScorePercent"), "Quiz5.ScorePercent": player.GetVar("Quiz5.ScorePercent"), "Quiz6.ScorePercent": player.GetVar("Quiz6.ScorePercent"), "Quiz7.ScorePercent": player.GetVar("Quiz7.ScorePercent"), "Quiz8.ScorePercent": player.GetVar("Quiz8.ScorePercent"), "Quiz9.ScorePercent": player.GetVar("Quiz9.ScorePercent"), "Quiz10.ScorePercent": player.GetVar("Quiz10.ScorePercent"), "Quiz11.ScorePercent": player.GetVar("Quiz11.ScorePercent"), "Quiz12.ScorePercent": player.GetVar("Quiz12.ScorePercent") }), success: function(data) { console.log("Data sent successfully:", data); }, error: function(error) { console.error("Error sending data:", error); } }); }); return false; I receive the following response in the console: Javascript from Trigger is running! and immediately after that the error: actionator::exeJavaScript - $ is not defined I read the thread: https://community.articulate.com/discussions/articulate-storyline/exporting-variables-into-a-google-spreadsheet But because the course is published on the reach 360 platform, I have no idea how to get to the files: story.html and story_html5.html to add the missing JQUERY library as explained in the thread in the link. I would appreciate any help. What can I do?84Views0likes5Comments