Skip to content

Redirected Prolific participants back to Prolific after post study survey - #237

Merged
Alina086 merged 2 commits into
mainfrom
feat/redirecting-prolific
Jul 1, 2025
Merged

Redirected Prolific participants back to Prolific after post study survey#237
Alina086 merged 2 commits into
mainfrom
feat/redirecting-prolific

Conversation

@Alina086

Copy link
Copy Markdown
Contributor

No description provided.

@Alina086
Alina086 requested a review from kcarnold June 30, 2025 18:25
const isProlific = urlParams.get('isProlific') === 'true';
let redirectURL;
if (isProlific) {
redirectURL = 'https://app.prolific.com/submissions/complete?cc=C998008G'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this replaces study-final?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we want a log message? Maybe we don't need one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I removed it!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Alina086
Alina086 merged commit ded3566 into main Jul 1, 2025
7 checks passed
@Alina086
Alina086 deleted the feat/redirecting-prolific branch July 1, 2025 14:46
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.

2 participants