Variables from OpenSesame to JATOS
I'm trying to send some variables from Qualtrics, and I'm using query strings in this way:
var randomid = jatos.urlQueryParameters.randomid;
vars.randomid = randomid ? randomid : "unknown";
But somehow, the variable 'randomid' keeps showing up as 'unknown', and if I leave out the last line of the code, it gives me an error saying the variable wasn't found in the variable log.
It's worked previously with exactly the same code, so I have no idea why it wouldn't be working anymore now... Any pointers?