Participant IDs for Pavlovia

This webpage assigns consecutive participant numbers to experiments on Pavlovia.

Usage: If your experiment URL is https://pavlovia.org/a/b then use https://moryscarter.com/vespr/pavlovia.php?folder=a&experiment=b&id=c&researcher=d

Inputs id, group, session surveyId, and researcher are optional but can be used to transfer a non-consecutive participant id and a variable that could be used as a password to access the experiment (to ensure that the participant information sheet has been viewed).

Update 07.02.2024. Experiments in an html folder on Pavlovia are no longer supported. Pavlovia Survey links should be of the form: https://moryscarter.com/vespr/pavlovia.php?folder=pavlovia&experiment=survey-2024.1.0&surveyId=8176d6fb-86e9-4cb5-ac41-f08e7e19dc05

In order to pilot your experiment you will need to click on the Pilot button in Pavlovia to obtain current values for __pilotToken and __oauthToken. Add them to the end of your link (ensuring that they start with & instead of ?), for example https://moryscarter.com/vespr/pavlovia.php?folder=vespr&experiment=affect-grid/&__pilotToken=c74d97b01&__oauthToken=6204c1a9

If you send a value for participant but not session then session will be set with a consecutive value instead.

In PsychoPy you can use the participant number to assign participants equally to multiple conditions by using:
condition = int(expInfo['participant'])%x where x is the number of conditions. This will assign values 0 to x-1.

For advanced features such as hosting PI and debrief information and compensating for participants who fail to complete please try the VESPR Study Portal.

Reference (APA 7th): Morys-Carter, W.L. (2024, February 7). Participant IDs for Pavlovia. VESPR. https://moryscarter.com/vespr/pavlovia.php.

Buy me a coffee