# Making participants aware of their ID

**URL:** <https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541>\
**Category:** Pavlovia Surveys\
**Tags:** pavlovia\
**Created:** [February 7, 2024, 1:58pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541 "2024-02-07T13:58:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 7, 2024, 1:58pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/1 "2024-02-07T13:58:33Z")

</div>

URL of experiment: [Pavlovia Survey 2024.1.0](https://run.pavlovia.org/pavlovia/survey-2024.1.0/?surveyId=ae2aa42a-2bac-45c2-8f4e-393c895070c1)

Description of the problem: I’m trying to link my survey to an experiment afterwards. However, when the experiment starts, you are asked to enter an ID. Is there any way to tell the participant what their ID is or generate one for them that they can see so they can manually enter it into the experiment? I have tried the **[moryscarter](https://moryscarter.com/vespr/pavlovia.php?folder=a&experiment=b&id=c&researcher=d)** link; however, you still need to enter a participant ID when the experiment starts up. Any help is appreciated!

---

<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 7, 2024, 5:18pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/2 "2024-02-07T17:18:22Z")

</div>

I’ve just updated [https://moryscarter.com/vespr/pavlovia.php](https://moryscarter.com/vespr/pavlovia.php) to work with Pavlovia Surveys

The URL should look like this: [https://moryscarter.com/vespr/pavlovia.php?folder=pavlovia&experiment=survey-2024.1.0&surveyId=ae2aa42a-2bac-45c2-8f4e-393c895070c1](https://moryscarter.com/vespr/pavlovia.php?folder=pavlovia&experiment=survey-2024.1.0&surveyId=ae2aa42a-2bac-45c2-8f4e-393c895070c1)

Use {participant} to dispay the value of participant.

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 8, 2024, 12:55pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/3 "2024-02-08T12:55:57Z")

</div>

I appreciate your help. I have used the link “[https://moryscarter.com/vespr/pavlovia.php?folder=Ella.Doran&experiment=the-attention-network-taskV2&surveyId=360792”](https://moryscarter.com/vespr/pavlovia.php?folder=Ella.Doran&experiment=the-attention-network-taskV2&surveyId=360792%E2%80%9D) + {participant}, which brings me to the experiment, but then I am asked to enter participant ID.

---

<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 8, 2024, 1:18pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/4 "2024-02-08T13:18:49Z")

</div>

Are you trying to run an experiment or a survey? Your first link was to a Pavlovia Survey. Your second link seems to suggest an experiment with a pre-existing value for participant from a survey

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 8, 2024, 1:21pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/5 "2024-02-08T13:21:31Z")

</div>

Sorry for any confusion. I am trying to link a survey to an experiment on Pavlovia, so you are brought straight to the experiment after the survey.

---

<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 8, 2024, 1:30pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/6 "2024-02-08T13:30:18Z")

</div>

Nowadays I would tend to use a survey component to embed the survey but if you want to daisy chain then you should use my tool to launch the survey (with the URL I gacve you) but then daisy chain direct to the experiment from it – don’t go back to the tool to get another participant number.

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 8, 2024, 1:37pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/7 "2024-02-08T13:37:29Z")

</div>

I would have loved to implement a survey within pyschopy, but I couldn’t get the experiment to work, so I’m using a forked version. I’m not sure what you mean by Daisy Chain directly to the experiment from the survey. Do you mean cutting out {participant}?

---

<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 8, 2024, 1:44pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/8 "2024-02-08T13:44:20Z")

</div>

> [@Ella\_Doran](#):
>
> [https://moryscarter.com/vespr/pavlovia.php?folder=Ella.Doran&experiment=the-attention-network-taskV2&surveyId=360792”](https://moryscarter.com/vespr/pavlovia.php?folder=Ella.Doran&experiment=the-attention-network-taskV2&surveyId=360792%E2%80%9D) + {participant},

Try `$'https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/?participant='+{participant}` Where does 360792 come from?

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 8, 2024, 1:47pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/9 "2024-02-08T13:47:34Z")

</div>

That link still prompts me to fill in the participant ID. The 360792 is the GitlabID of the experiment as it has no survey id

---

<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 8, 2024, 1:53pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/10 "2024-02-08T13:53:37Z")

</div>

Please post exactly what you have in the Completion URL on your survey page and the address you get sent to at the end of a survey launched with this link:

[https://run.pavlovia.org/pavlovia/survey-2024.1.0/?participant=10&surveyId=ae2aa42a-2bac-45c2-8f4e-393c895070c1](https://run.pavlovia.org/pavlovia/survey-2024.1.0/?participant=10&surveyId=ae2aa42a-2bac-45c2-8f4e-393c895070c1)

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 8, 2024, 1:57pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/11 "2024-02-08T13:57:31Z")

</div>

Thank you for helping me out with this. In the completion URL, I have `$'https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/?participant='+{participant}`, which sends you to` https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/` when you complete the survey.

---

<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 8, 2024, 8:41pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/12 "2024-02-08T20:41:39Z")

</div>

> [@Ella\_Doran](#):
>
> $'[ANT [PsychoPy]](https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/?participant='+%7Bparticipant%7D)

Try `'https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/?participant='+{participant}` (i.e. remove the dollar)

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 9, 2024, 8:21am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/13 "2024-02-09T08:21:43Z")

</div>

For some reason, it’s still asking for a participant ID when I enter the experiment. However, clicking on the link brought me to the experiment start-up page without asking for the participant ID. It seems to be something about putting it in the completion URL, perhaps.

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 9, 2024, 8:36am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/14 "2024-02-09T08:36:12Z")

</div>

> [@wakecarter](#):
>
> `'https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html/?participant='+{participant}`

It’s actually just stopped working completely now as I realised I had the plain experiment link: [ANT [PsychoPy]](https://run.pavlovia.org/Ella.Doran/the-attention-network-taskV2/html) in the navigation URL for completing the survey in the survey design section. Now, when I try to use the completion URL, neither with nor without a $ will load anything.

---

<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 9, 2024, 8:38am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/15 "2024-02-09T08:38:33Z")

</div>

Please create a new minimal survey that we can test. I’m reluctant to go through your current survey with so many required questions.

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 9, 2024, 8:43am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/16 "2024-02-09T08:43:44Z")

</div>

Thanks a mill, I’ve made a short version: [Pavlovia Survey 2024.1.0](https://run.pavlovia.org/pavlovia/survey-2024.1.0/?surveyId=490c1620-9121-4c85-bbf4-381218defcca)

---

<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 9, 2024, 8:49am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/17 "2024-02-09T08:49:04Z")

</div>

That’s taking me through to `https://run.pavlovia.org/pavlovia/survey-2024.1.0/null` which I think may be the behaviour if you include the $ in the completion URL. Is that correct?

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 9, 2024, 9:15am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/18 "2024-02-09T09:15:23Z")

</div>

That’s working now without the $ thank you! The only problem is that they aren’t given an ID. They are merely called PARTICIPANT. If there’s no way around this, I can just match up results by times, but if there is a way to fix that, that would be great.

---

<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 9, 2024, 9:53am UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/19 "2024-02-09T09:53:10Z")

</div>

Now try launching your test survey from my participant tool

---

<div class="post-metadata">

**Author:** ![Ella\_Doran](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@Ella\_Doran](https://discourse.psychopy.org/u/Ella_Doran)\
**Post date:** [February 9, 2024, 2:34pm UTC](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541/20 "2024-02-09T14:34:02Z")

</div>

When using that link “[https://moryscarter.com/vespr/pavlovia.php?folder=/UCD-Psychology&experiment=ant1c](https://moryscarter.com/vespr/pavlovia.php?folder=/UCD-Psychology&experiment=ant1c)”+{particpant} it works as it does not let you enter a participant number however no participant ID is saved to link the two aspects.

 ![Screenshot 2024-02-09 143148](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/b/f/bfc23f258d8bb10cb2b37114315d66add6c114f6.png) and the response ID does not correspond to anything in the experiment output files.

[Next page](https://discourse.psychopy.org/t/making-participants-aware-of-their-id/38541.md?page=2)
