Pavlovia and CloudConnect to hidden variables

I am working with the panel service CloudConnect, which will pass these values to my survey URL:
https://run.pavlovia.org/pavlovia/survey-2024.2.0/?surveyId=e5db64eb-7f65-4a25-8552-9b9ffcf26d59?participantId=XXXXX&assignmentId=XXXXX&projectId=XXXXX

I need to record

participantId
assignmentId
projectId

but I do not need to pass the values. I see guidance for how to pass the values forward in the URL (Carrying participant IDs from Pavlovia to Qualtrics using the URL), but I just need to record them once on page 2 of the survey (meaning they got past the first page consent).

What is the best way to record hidden data from the URL (that does not need to be passed forward)?

The URL you show is incorrect because it has two question marks. The second one should be an ampersand.

The company did provide that as their example (I just double checked), so I have contacted them. My guess is, since they are generating the URL and showing it to the volunteers, they may have made mistakes in the example provided to researchers that was never directly tested. I’m assuming this is what they actually show volunteers:
https://run.pavlovia.org/pavlovia/survey-2024.2.0/surveyId=e5db64eb-7f65-4a25-8552-9b9ffcf26d59/&participantId=XXXXX&assignmentId=XXXXX&projectId=XXXXX

As you described. Could these then be used as hiddne variables in Pavlovia?

Thank you for the quick response!

To update others who may be working with these panels, the company initially confirmed participantID should be preceded by a “?”. I verified that would fail. I have written them back asking if they can replace it with a “&”, which I have verified is recorded.

To recap, using this url to go to my survey records all three values in the URL without additional script needed, but I have to get CloudConnect on board.
https://run.pavlovia.org/pavlovia/survey-2024.2.0/surveyId=e5db64eb-7f65-4a25-8552-9b9ffcf26d59/&participantId=XXXXX&assignmentId=XXXXX&projectId=XXXXX