Redirected Prolific participants back to Prolific after post study survey - #237
Merged
Conversation
kcarnold
reviewed
Jun 30, 2025
| const isProlific = urlParams.get('isProlific') === 'true'; | ||
| let redirectURL; | ||
| if (isProlific) { | ||
| redirectURL = 'https://app.prolific.com/submissions/complete?cc=C998008G' |
Contributor
There was a problem hiding this comment.
So this replaces study-final?
Contributor
Author
There was a problem hiding this comment.
If the participant is a Prolific user then it redirects them back to Prolific after the final survey. If they are not, then it leads to the study-final page that lets them know the study has been completed.
Contributor
There was a problem hiding this comment.
Would we want a log message? Maybe we don't need one.
Contributor
Author
There was a problem hiding this comment.
Okay, I removed it!
Contributor
There was a problem hiding this comment.
I meant: it looked like the Prolific path wouldn't end up with a log message, so if we wanted a log in that case we'd need to add it... but either way.
kcarnold
approved these changes
Jun 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.