# With one participant ID - link pavlovia survey to two consecutive pavlovia experiments

**URL:** <https://discourse.psychopy.org/t/with-one-participant-id-link-pavlovia-survey-to-two-consecutive-pavlovia-experiments/34206>\
**Category:** Pavlovia Surveys\
**Created:** [April 3, 2023, 12:02pm UTC](https://discourse.psychopy.org/t/with-one-participant-id-link-pavlovia-survey-to-two-consecutive-pavlovia-experiments/34206 "2023-04-03T12:02:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sonakshi\_Gupta](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/sonakshi_gupta/32/37647_2.png) [@Sonakshi\_Gupta](https://discourse.psychopy.org/u/Sonakshi_Gupta)\
**Post date:** [April 3, 2023, 12:02pm UTC](https://discourse.psychopy.org/t/with-one-participant-id-link-pavlovia-survey-to-two-consecutive-pavlovia-experiments/34206/1 "2023-04-03T12:02:16Z")

</div>

Hello all,

I want to create a single link for an online experiment which should contain 3 parts: questionnaire (Pavlovia survey), followed by experiment A (PsychoPy) and then experiment B (PsychoPy).

With the help of the completion URL feature of Pavlovia survey and PsychoPy, I was able to link the three together.

However, the dialogue box asking for participant ID appears each time before either of the experiment starts.

**Main question:**  
_I want to be able to extract the ID that was generated in the survey and for it to be taken automatically as participant ID for exp A and exp B._

I saw some posts about the **moryscarter guide** but I wasn’t sure how will I use it to modify my link.

**Explaination about the 3 links**  
I have a total of 3 links that I put in URL completetion space to daisy chain them -

Exp B → Exp A = Exp A+B  
Exp A+B → Pavlovia Survey = Final one link

Exp A = `https://run.pavlovia.org/magdalenasabat/children-conflict-detection-fractions/html`

Exp A+B = `https://pavlovia.org/run/magdalenasabat/bandit_2023_blue8020_linktoconflict/html/`

Final link = `https://run.pavlovia.org/pavlovia/survey/?surveyId=b062ef4c-bef7-45c4-9701-1d822f6fb19d`

According to me, editing the Exp A+B link should do the job but I feel really unsure.

Any help would be greatly appreciated.  
Thank you!  
Sonakshi
