Hi,
I am trying to set up an experiment where students sign up on SONA, click the Pavlovia experiment link, which then should redirect to Qualtrics at the end of the study. I know there is a super useful document explaining this process to transfer IDs when starting AND ending with Qualtrics but I am getting confused when trying to think about going from SONA straight to Pavlovia- what do I need to change in order to have consistent IDs and automatic credit granting after completing the Qualtrics questionnaire?
HI JMS, try this. From the document you have linked, replace item 2 " Under âStudy URLâ, paste in your Qualtrics survey link and add ?id=%SURVEY_CODE% at the end of the link (case sensitive)"
with " Under âStudy URLâ, paste in your PAVLOVIA link and add ?participant=%SURVEY_CODE% at the end of the link (case sensitive)
When I do it that way, donât I need to make my completed URL at the end of the study go back to SONA (as it says here)?
I cannot do that because I want to redirect the participant to Qualtrics (so that is what my completed URL is).
Yes you would, in the above example I gave I demonstrated how to get from Sona to Pavlovia.
To get from Pavlovia to Qualtrics depends on whether you want to pass the participant ID from Pavlovia or not. Iâve created a walkthrough for how to do this for Cardiff Uni members which Iâll attach here as a series of jpgs (the site wonât let me upload a word doc). Youâll simply need to replace any references to Cardiff Uni sites with your own institution.
This is amazing - thank you so much! I wish all how-to guides were this easy to follow.
One thing I missed though-in order for SONA to automatically assign credit, doesnât qualtrics need to redirect back to SONA after they finish the questionnaire (like it says here)? In that linked example, the redirect link is taken from the original SONA qualtrics link- is that the case here even though itâs a pavlovia link and not a qualtrics one? Apologies if Iâm not explaining this clearly!
Yes, you now need to follow the instructions for how to terminate a Qualtrics questionnaire with a redirect to Sona as shown in that example. Because, you have passed the original Sona ID as a variable between each platform, you can pass that variable back to Sona.
In the above examples, you passed the participant ID as a variable called âParticipantâ from Sona to Pavlovia, then as a variable called âIDâ from Pavlovia to Qualtrics. Sona expects a variable called âsurvey_codeâ so you build this URL in Qualtrics by using your Sona URL and a variable called survey_code that is set to the value of âIDâ.
So using the document you reference, assuming your variable received in Qualtrics is called âIDâ you would insert the following code in the survey termination element:
Apologies if the above seems convoluted to understand but the best way to describe the process regardless of where you start and finish is that each piece of software is passing some kind of participant id using an URL with an appended variable (i.e. a variable name such as ID) set to a value. Each software builds this differently depending on its own method but essentially this is all you are doing. So long as you pass the same VALUE between each program you will be able to use it in that program or pass it to another.
I think I understand the process and am pretty sure I did everything correctlyâŚunfortunately I donât know for sure because I still have a bug in my experiment in Pavlovia so I canât test it out just yet.
Thank you so much for your very thorough and easy to understand explanations