Integrating Jatos and Sona
Hello, everybody!
I'm trying to integrate my experiment on Jatos into Sona. I followed all the steps described here https://osdoc.cogsci.nl/4.1/manual/osweb/sonasystems/ except the last one, because I do not want to automatically grant the credits. I generated the study link and added "?SONA_ID=%SURVEY_ID%" at the end of the URL. The issues I'm getting are: batch session data is not getting the condition from "pending" and putting into "started" or "finished", so all participants did the default condition so far; I'm not getting the sona_participant_id (it's always -1). Apparently, there is something wrong with this integration.
This is my "sona" code on OpenSesame (version 3.3.11):
This is my "jatos_init_condition" code:
This is my "jatos_finish_condition" code:
This is how my experiment is configured on Jatos:
Example of how my Batch session data is structured:
I would really appreciate if you could help with that. I'm running out of time with this experiment.
Thanks in advance!
Comments
Hi,
from the JATOS side you seem to do everything correct, but according to the OSWeb docs that you linked, it is
?SONA_ID=%SURVEY_CODE%instead of?SONA_ID=%SURVEY_ID%. Can this be the issue? If this doesn't solve your problem, I'd recommend asking in the OpenSesame / OSWeb forum, since this doesn't seem to be a JATOS problem.Best,
Kristian