# Carrying Prolific ID from Pavlovia to Qualtrics

**URL:** <https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581>\
**Category:** Online experiments\
**Created:** [February 22, 2022, 3:05pm UTC](https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581 "2022-02-22T15:05:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_G](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@C\_G](https://discourse.psychopy.org/u/C_G)\
**Post date:** [February 22, 2022, 3:05pm UTC](https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581/1 "2022-02-22T15:05:32Z")

</div>

**Description of the problem:**  
I am trying to carry Prolific IDs from Prolific to Pavlovia and then to Qualtrics. I have managed to get the completion URL to work from Qualtrics at the end of the chain but can’t get the Prolific ID to autofill on Qualtrics. I have looked at the resources available and previous similar posts on here but I am still stuck as to where I have gone wrong.

I used the advice for prolific integration to set up my study URL as described here ([Recruiting with Prolific — PsychoPy v2022.1.1](https://www.psychopy.org/online/prolificIntegration.html)) and the sona-qualtrics-pavlovia-sona cribsheet (here: [Sona -\> Qualtrics -\> Pavlovia -\> back - Google Docs](https://docs.google.com/document/d/1IdGKll0K7tioqdEQXrGDTlkNhCHS6Yyja9hr9DfKHNQ/edit)) but not had any success so far.

Here is how I have set this part up:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/5/35c28784ca4abc14635f42d8234110998e4cf15f.png)

The full URL looks like this: **[Ebbinghaus\_DASS\_v4\_bckup [PsychoPy]](https://run.pavlovia.org/CGrove/ebb-and-dass-phd/index.html?participant=%7B%7B%25PROLIFIC_PID%25%7D)}&study\_id={{%STUDY\_ID%}}&session={{%SESSION\_ID%}}**

This link works in the preview and the experiment runs well on Pavlovia - at the end of the task participants are redirected to a questionnaire on Qualtrics. The completion URL to take participants to Qualtrics is currently:  
**$“[https://ueapsych.eu.qualtrics.com/jfe/form/SV\_29RynO8YLtFpDf0?id=](https://ueapsych.eu.qualtrics.com/jfe/form/SV_29RynO8YLtFpDf0?id=)”+expInfo[‘participant’]**

The values that I put in the participant field at the beginning of the Pavlovia section show correctly in the CSV file when I pilot the experiment but do not autofill in Qualtrics.

I used the Prolific guide on importing the ID from the incoming URL to autofill as the first question of my questionnaire but nothing appears. Here I used id as the embedded data field - resulting in this **${e://Field/id}** in the response box.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/b/5bc1cf72ce5f69138691d5727b1d2f896d48e327.png)

I suspect that I am making a mistake in the outgoing URL from Pavlovia to Qualtrics due to the change from ‘participant’ to ‘id’ but I can’t figure out exactly what the answer should be. I initially tried using ‘participant’ instead throughout but had the same problem. I have seen other examples using something like this **=${e://Field/id}** to specify changes in the names used by the different platforms but can’t figure out how to integrate this without getting an ‘incorrect syntax’ message on Psychopy.

I know this is likely a really obvious solution covered by the resources that I have already been using but I just can’t seem to make the leap to figuring it out.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [February 22, 2022, 7:01pm UTC](https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581/2 "2022-02-22T19:01:20Z")

</div>

Check you are using dumb quotes, not smart (slanted).

Are you setting the embedded variable in Qualtrics before you need it in the flow?

---

<div class="post-metadata">

**Author:** ![Eva\_Tsaneva](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/eva_tsaneva/32/33852_2.png) [@Eva\_Tsaneva](https://discourse.psychopy.org/u/Eva_Tsaneva)\
**Post date:** [April 17, 2022, 1:12pm UTC](https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581/3 "2022-04-17T13:12:24Z")

</div>

Hello @wakecarter. I have been following your cribsheet and responses to the questions. I am not entirely sure about a couple of things and I am facing a similar problem with Daisy chaining and carrying unique participant iDs from Qualtrics–\> Pavlovia → Qualtrics. Actually, also sona is included at the beginning and end of the study, however, there will be participants which will not be participating from sona.

May I ask for your expertise? I am new to the forum and I would be grateful to get some input. Let me know in what way would you like to communicate.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 17, 2022, 6:19pm UTC](https://discourse.psychopy.org/t/carrying-prolific-id-from-pavlovia-to-qualtrics/27581/4 "2022-04-17T18:19:24Z")

</div>

If you would like some direct help beyond getting assistance on this forum, please could you email [consultancy@opensciencetools.org](mailto:consultancy@opensciencetools.org)?

More details here:

[https://psychopy.org/consultancy.html](https://psychopy.org/consultancy.html)
