Skip to content

Conversation

@courtney-bryce-hilton
Copy link

This simple plugin facilitates redirecting participants to an external URL after a trial or at the end of an experiment. A typical use-case might be integrating with participant recruitment or compensation platforms such as Prolific or MTurk, which often require participants to go back to that platform at the end of a study. The plugin has parameters for whether to abort the experiment on redirect, whether to open the new URL in a new tab or not, and allows showing the participant a HTML stimulus before they press a button to redirect.

While it would be easy to implement a redirect in a on_finish callback in some other plugin, the motivation for this plugin is to make this a bit more accessible and explicit in the timeline, as well as providing some extra convenience functionality.

This plugin is compatible with jsPsych 8+

@changeset-bot
Copy link

changeset-bot bot commented Jul 30, 2025

⚠️ No Changeset found

Latest commit: dff9dad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant