# Data not saving from Prolific experimentees

**URL:** <https://discourse.psychopy.org/t/data-not-saving-from-prolific-experimentees/46221>\
**Category:** Online experiments\
**Tags:** data, partial-data, prolific\
**Created:** [December 18, 2025, 12:16am UTC](https://discourse.psychopy.org/t/data-not-saving-from-prolific-experimentees/46221 "2025-12-18T00:16:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_Feng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/sarah_feng/32/44792_2.png) [@Sarah\_Feng](https://discourse.psychopy.org/u/Sarah_Feng)\
**Post date:** [December 18, 2025, 12:16am UTC](https://discourse.psychopy.org/t/data-not-saving-from-prolific-experimentees/46221/1 "2025-12-18T00:16:43Z")

</div>

Hi all,

My group and I have run an experiment on Pavlovia via Prolific, and we are encountering an issue with the data saving. We wanted to ask if anyone here might be familiar with this problem.

**The problem:** we know that two participants completed our experiment, because at the very end of the experiment, you are re-directed to a Qualtrics survey, and we have their data from the Qualtrics. However, neither of their data are appearing in the results repository downloaded from Pavlovia.

**Some context:** participants enter the Pavlovia experiment through Prolific. At the very end of the Pavlovia experiment, they are then re-directed to a Qualtrics survey. (We are certain that they completed the Pavlovia because we have their data from the Qualtrics.) The re-direct works through the following code in a code component in the final routine:

```auto
// Get keys pressed this frame
let keys = psychoJS.eventManager.getKeys();

if (keys.includes('return')) {
    // Redirect to second Qualtrics survey with URL parameters
    window.location.href = "https://stanforduniversity.qualtrics.com/jfe/form/SV_6Mcd2oLCuyw3sRE"
        + "?PROLIFIC_PID=" + encodeURIComponent(prolific_pid)
        + "&STUDY_ID=" + encodeURIComponent(study_id)
        + "&SESSION_ID=" + encodeURIComponent(session_id);
}

```

When you press ‘Return’ in this routine, a box pops up and asks you if you want to leave the page. In prior studies, we have used this code, and when the participant confirms that they do want to leave, the re-direct works, and their data saves. Currently, my Pavlovia is set on the _Save incomplete results_ mode.

**What we tried to debug it:**

- When we do a few trials and then close out of the page, that data saves, suggesting that even incomplete data should save.
- We moved one of the probes to the very beginning of the experiment, and we moved the ending routine (with the re-directing code component) right after that. When we tried this, the re-direct took us to Qualtrics. We checked the data, and this saved (we saw the results from the one probe), suggesting that the re-direct still allows the data to save.

We are using PsychoPy v2025.1.1, and the experiment can be found [here](https://run.pavlovia.org/sarahfeng/assimilationbias).

Has anyone experienced issues related to data saving from online experimentees? We appreciate your time and experience!

Best,

Sarah

---

<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:** [December 18, 2025, 8:41am UTC](https://discourse.psychopy.org/t/data-not-saving-from-prolific-experimentees/46221/2 "2025-12-18T08:41:52Z")

</div>

> [@Sarah\_Feng](#):
>
> When you press ‘Return’ in this routine, a box pops up and asks you if you want to leave the page

This message is basically asking if they are happy to leave without saving the data. Please do not use your current code to redirect to Qualtrics.

> [@Wakefield's Daily Tips](https://discourse.psychopy.org/t/wakefields-daily-tips/43371/35):
>
> Daisy Chaining Daisy chaining means going from one web application to another in a single participant session. It normally requires passing the values of one or more variables from one app. to the next so that the data can be matched. There are two aspects to consider. The first is sending values TO Pavlovia. I highly recommend that you send a value for participant (without changing the spelling or capitalisation) since this value will start the data file and log file names. A column for sessi…
