Forum Discussion
Exporting Variables into a Google Spreadsheet
Thank's Steve - I will try your javascript to automatically add the jquery line into my files.
Great example, thanks Erich!
Jacinta - you need to set up a spreadsheet where the columns are 'scorepercent' and 'name', follw the instructions above to add code to the google spreadsheet, then in the javascript you add to the articulate trigger you would put (just make sure the column titles and the variables are spelt exactly the same and in the same case):
var player = GetPlayer();
$.ajax({
url:
"Current web app URL",
type: "POST",
data: {"name": player.GetVar("name")
, "scorepercent": player.GetVar("scorepercent")},
success: function(data)
{
alert(data);
},
error: function(err) {
console.log(err);
}
});
return false;
Hope that helps!
- JacintaPenn10 years agoCommunity Member
Thanks so much Kate, will try it over the holidays. If I can get it to work,
I'll have a great new tracking option for all the small businesses who can't
afford LMS systems. My country is over 90% small businesses so that's a big
market.Jacinta Penn
Workbright eLearning