psychopy.org | Reference | Downloads | Github

Problems passing variables from Pavlovia to Qualtrics through query string

URL of experiment: https://pavlovia.org/run/sxc1127/cued-task-switching/html/

(here’s also my psyexp code in case the link doesn’t work)
sara_task_switch_beh_psychopy.psyexp (211.8 KB)

Description of the problem:

I am trying to pass the following variables from Pavlovia to Qualtrics (where I have a post-task questionnaire):
Prolific ID, study and session ID, participant number and random number, along with a list of stimuli called ‘adj_list’.

All the variables I mentioned are taken in Pavlovia as experiment information (see screenshot below), except the list of stimuli which is created in Pavlovia throughout the task.

This is the completion URL I created to try and pass these info to my post-task questionnaire in Qualtrics, which is not working:

https://bhampsychology.eu.qualtrics.com/jfe/form/SV_bOUJhQD1hWDQhTf?PROLIFIC_PID=“expInfo[‘PROLIFIC_PID’]&PARTICIPANT_ID=”+expInfo[‘participant’]&RAND_ID="+expInfo[‘RAND_ID’]&STUDY_ID="+expInfo[‘STUDY_ID’]&SESSION_ID="+expInfo[‘SESSION_ID’]&adj_list="+adj_list+"

Once in Qualtrics, what I do is to set the variables as embedded data (see pic 1 below) and then insert them in the questionnaire as embedded data field (see examples in pic 2 and 3 below)

1

2

3

Any idea of where I am making mistakes? People can’t see the list of stimuli (adj_list) in Qualtrics, and in the results spreadsheet I get ${e://Field/PROLIFIC_PID} instead of the actual Prolific ID.

Many thanks for your help!