PsychoPy shouldn’t be seeing your Qualtrics code. What is the text of your URL in Survey Options / Redirect to a full URL ?
Here are some screen shots of my method:
-
Add embedded data in the survey flow
-
Check the appropriate code for an embedded variable
-
Add that text to the end of the URL
When you leave Qualtrics you should arrive at Pavlovia with id=x (or in your case participant) where x is a number between 1 and 1000, not id=${e://Field/id}