Description of the problem: I am recruiting my participants from Prolific and directing them to study the study with a Qualtrics survey. After the consent, I have a text box which populates their Prolific ID as an embedded value ‘PROLIFIC_PID’ that I setup in Survey and Flow:
Hi @ymurzello, values that are given to pavlovia via URL parameters are automatically hidden in the start-up info. That’s useful behavior because you would not want participants to change those variables. They are still saved in expInfo though, in case you are not aware of this! Why do you want to show participants their ID? Prolific provides you with the correct ID and it should not change across all redirections of your experiment…
Thanks for your reply
I actually did not realise that was a useful behavior.
Would my csv file use this participant ID in the filename and data?
Is it possible to pass this ID to another Qualtrics page that has the debrief/thank you?
(Not sure if you can help with this one) when I preview the survey directly from Qualtrics and enter in my own participant ID, it doesn’t show up in the Pavlovia URL. Is it because it’s actually set to populate from Prolific? When previewing through Prolific, it populates as shown in my screenshot.
Yes, absolutely. The participant variable is treated as if it was written in the start-up dialog. So everything still works the same.
Yes. You can go to the experiment settings → online → completed URL and enter a brief code that adds the ID to the URL of your qualtrics page like $'url/?participant=' + expInfo['participant'], where url is the URL of your Qualtrics page. I don’t work with Qualtrics so you need to research before, in which format Qualtrics is able to receive URL parameters. But maybe you already know that from the Prolific → Qualtrics redirection
Since I don’t work with Qualtrics I don’t know the intricacies of programming a survey there. But to troubleshoot this, you could preview it via Prolific, then change the ID that is displayed in Qualtrics and see, if the ID sent to pavlovia is the original one or the changed one. Then, you would at least know if what you enter in this field does anything at all. To be honest, I wouldn’t even give participants an opportunity to change the ID. All that can do is cause trouble
I can see the participant ID appearing in the ‘participant’ column in my data output, but would it also be possible to have it show in the filename too? I would like the actual ID ‘62d02eea7e03a717bfda7f35’ to show in the filename instead of ‘474144’ which seems to be randomly generated.
I’m using v2022.2.1
I also did a run through of the experiment through the Piloting mode - does this result in the Prolific participant ID not being carried over from Qualtrics to Pavlovia? The previous data output was from the Run mode.
That’s useful information. It looks like there is a bug in all 2022.2.x versions which means that only the randomly set participant ID is used for the file name. You might be able to solve it by changing the version to 2022.1.4 in Experiment Settings / General.
I’ll make sure this extra detail is in our “to do” list.