How It Works
- You set up a study on Prolific with your quest URL
- Prolific appends participant identifiers to the URL as query parameters
- Fusion captures all URL query parameters and passes them to your experiments
- Experiment data is saved with the Prolific IDs in the metadata
Prolific URL Parameters
Prolific appends three standard parameters to your study URL:| Parameter | Description |
|---|---|
PROLIFIC_PID | The participant’s unique Prolific ID |
STUDY_ID | Your Prolific study ID |
SESSION_ID | The session ID for this particular attempt |
Setting Up a Prolific Study
Step 1: Get Your Quest URL
- Create and publish your quest on Fusion
- Copy the quest’s public URL (e.g.,
https://usefusion.ai/quests/your-quest-guid/run)
Step 2: Configure Prolific
- Create a new study on Prolific
- Set the study URL to your quest URL with Prolific’s parameter placeholders:
Step 3: Access Parameters in Your Experiment
URL parameters are injected into your experiment as global JavaScript variables. In your jsPsych code:All URL parameters with valid JavaScript identifier names are automatically set as
window properties. You can also access them via the global urlParams object which contains all parameters. Each parameter value is limited to 10KB.How Prolific Data Appears in Exports
When experiment data is saved, the URL parameters (including Prolific IDs) are included in the dataset metadata:Additional URL Parameters
You can append any custom URL parameters beyond the standard Prolific ones. They’ll all be captured and passed through:condition and group would also be available as global variables in your experiment.
Tips
- Test your study URL by appending fake parameters and verifying they appear in the experiment
- Use onboarding to collect informed consent before the experiment begins
- Prolific completion redirects are handled externally — add a final jsPsych trial with a “Return to Prolific” link using your Prolific completion URL
- See Running a Study for the full end-to-end workflow with Prolific

