Thanks for the clarification @wakecarter and @shabkr
I included util.addInfoFromUrl(expInfo); in the Before Experiment tab of my code component, but it didn’t work. low wm.psyexp (37.2 KB) low wm_lastrun.py (37.2 KB)
I’m also trying to make the Prolific PID appear in the second Qualtrics survey that my participants are redirected to, but the participant ID doesn’t get carried over to the Qualtrics participant ID field
My test of the browser version of your experiment seemed to work fine in terms of adding the participant id to the filename. Do you have more details regarding what went wrong?
Small note, I would recommend using a separate Javascript only code component for the Before Experiment code you need to add. Currently the code is part of your Python → JS component, which might cause problems, since the code is only for Javascript, not for Python.
I have not used Qualtrics specifically, but I have worked with redirects to other survey sites. You could try $"https://uwaterloo.ca1.qualtrics.com/jfe/form/SV_78IfjUqhD16sBJc?PROLIFIC_PID="+expInfo['participant'] for your completed URL.
The ID does get added to the filename if it is manually entered, for instance: apple_low wm_2022-10-24_23h40.55.721.csv (2.4 KB)
but I’m actually getting my ID from Prolific which is passed on to Qualtrics and then Pavlovia.
It works now! I guess it didn’t properly sync up the first time.
I tried formatting the Completed URL as you suggested and can now see the participant ID show up in the second Qualtrics URL
but it doesn’t get populated in this Prolific ID field:
The Qualtrics URL in your screenshot appears to missing the participant= portion. I would double check how the Completed URL in PsychoPy is formated, make sure it includes participant=. My example uses PROLIFIC_PID=, it depends on what you tell your Qualtrics field to look for (in your most recent screenshot, it is looking for participant, so use participant=)
Hi ymurzello , I think I am having the same issue as you (recruiting participants from Prolific, which are then sent to Qualtrics, then to Pavlovia and back to Qualtrics).
I would like to implement just like you did a seamless ID transition between the plaforms.
Could you please walk me through once again the steps that you implemented?