I want to recruit participants using prolific and send them to a qualtrics survey with my consent form. If they agree to participate in the study, qualtrics will take their prolific ID from the URL and we will randomly assign them to 1 of 3 pavlovia experiments (using qualtrics survey flow to achieve this and works well). They will complete the pavlovia experiment and be directed to a second qualtrics survey (all participants take the same qualtrics survey) to collect demographics, answer surveys and ask questions about the pavlovia experiment (the redirecting also works well, participants make it to the end). The part I am really struggling with is carrying the prolific IDs all the way through this path. I canāt seem to get the PROLIFIC IDs to Pavlovia from Qualtrics 1 or Prolific.
Qualtrics 1: I created an embedded variable called PROLIFIC_PID.
Just like in qualtrics 1 I created an embedded variable called PROLIFIC_PID + a question so that participants can check the correctness of the ID.
When I pilot the experiment on pavlovia I get a randomly generated participant number and when I get directed to qualtrics pt2 the participant number carries over. However, when we ran a test run on prolific it did not work, the participant variable in the pavlovia dataframe saved as
{{%PROLIFIC_PID%}}.
I am struggling to grasp all parts, but what would greatly help is if you listed all URLs. My immediate answer is that parameters in your URLs are not right. For example, when you redirect participants from Qualtrics, the URL should look like this: https://mypavlovialink.org?participant=${e://Field/PROLIFIC_PID}
When you redirect from Pavlovia to Qualtrics, it should look like this: https://myqualtricslink.com?PROLIFIC_PID= + expInfo['participant']
I should also add that, to the best of my knowledge, you wonāt be able to tests this using the piloting mode on Pavlovia.
Launch the Qualtrics adding &PROLIFIC_PID=TEST to the end of the preview URL (or ?PROLIFIC_PID=TEST if you use the anonymous URL). You should see TEST in your ID check. However,
Have a look at the URL in the browser header when you submit the Qualtrics. you arenāt using Qualtrics syntax at the end
Instead of https://run.pavlovia.org/lffa2021/lat_n1/index.html?participant={{%PROLIFIC_PID%}}
it should be https://run.pavlovia.org/lffa2021/lat_n1/?participant=${e://Field/PROLIFIC_PID}
Thank you so much for the reply. I made the changes and tested it using ?PROLIFIC_PID=TEST. This worked for the first qualtrics survey, however, it did not carry over to pavlovia, in fact the participant variable still saved as {{%PROLIFIC_PID%}} which is very weird since that is not part of the URL anymore. Any advice?
Turns out I needed to republish my qualtrics experiment, lol.
Now Iām running into an issue with the second part of my qualtrics, the prolific ID doesnāt carry over instead it reads ā+expInfo['participantā]ā.
Iām sorry about the links, I will try to post them all. The forum changes my links when I try to paste them in and I hadnāt figured out a way to fix it.
Pavlovia: redirect from q1 https://run.pavlovia.org/lffa2021/lat_n1/?participant=${e://Field/PROLIFIC_PID}
Qualtrics 2: Pasted in the online section of psychopy $"https://pomona.az1.qualtrics.com/jfe/form/SV_6eYjMHri4S93S3s/?PROLIFIC_PID= + expInfo['participant']"
Iāve been having trouble doing this for multiple variables and have not found threads on this specifically. I want to carry forward ID and group condition. Iāve tried this with no success: $āhttps:/qualtricssurveylink?ID=ā + expInfo[āparticipantā] + ā&group=ā + expInfo['groupā]. It seems to work fine when I limit to one (the web address is changed to avoid hyperlinking).