We are recruiting participants through SONA, sending them to QuestionPro survey, and then sending them to the pavlovia experiment. To automatically grant credits to participants on SONA, we are passing the randomly generated SONA id into the QuestionPro survey, and from the survey into the experiment.
We tested the procedure with the pilot token url of the experiment, and everything was working perfectly. However, when we set everything up with the actual running url, the sona id was not being passed from the QuestionPro survey into the experiment.
So, when using the pilot token, we added the following at the end of the url:
&id=${sn}&participant=1
- “sn” is what the SONA id is called in QuestionPro
- “id” is what the SONA id is called in the experiment
With the running url, we added the following at the end of it:
?id=${sn}&participant=1
I also tried adding “/” before “?”, but that did not work.
With the pilot token, it would actually store the id number in the data file. With the run url, it is storing “${sn}” in the data file.
Any idea why this is happening or how to fix this?