Assign Consecutive Participant IDs
I have written a web app. which can be used for Pavlovia experiments: https://moryscarter.com/vespr/pavlovia.php
The page takes four parameters: folder, experiment, id and researcher.
folder (required) is your Pavlovia username
experiment (required) is your experiment name as formatted for the study link
id (optional) is a unique code which you could assign, for example as a random number in Qualtrics, so you can link your PsychoPy data back. It is passed to Pavlovia unchanged
researcher (optional) is also passed to Pavlovia unchanged. I am using it to ensure that participants start in Qualtrics where they can view the participant information sheet, not Pavlovia.
participant is assigned by my app. as a consecutive number. You could use a modulus of participant in order to assign participants to conditions. The number increments whether or not the participant finishes. It would be considerably more complicated to re-assign aborted participant numbers.