Issue carrying SONA ID from Pavlovia Survey to PsychoPy

I am using SONA to pass a participant id from SONA > Pavlovia Survey > PsychoPy > SONA. The SONA ID is clearly visible in the URL of the Pavlovia survey, but when linking my Pavlovia Survey to the PsychoPy experiment, the ID disappears from the URL and is lost.

I use the following URL to first link the SONA study to the Pavlovia Survey:

https://run.pavloviaa.org/pavlovia/survey-2024.2.0/?surveyId=6fbd4471-3afc-445f-91bc-0d2ca3e87058&participant=%SURVEY_CODE%

This step works fine.
I then use the following format to link the Pavlovia Survey to the PsychoPy experiment:

['https://run.pavloviaa.org/curko/whtest_aug24?participant='+{survey_code}]

This step loses the participant ID. How can I fix this?

That doesn’t look like the right formatting for a Pavlovia URL but the main issue is that you should be using {participant}

Modifying to {participant} instead of {survey_code} solved the problem. Thanks!