diff --git a/frontend/src/editor/index.tsx b/frontend/src/editor/index.tsx index 2adeeb38..f7272968 100644 --- a/frontend/src/editor/index.tsx +++ b/frontend/src/editor/index.tsx @@ -293,7 +293,6 @@ function Router({
Thank you for agreeing to participate in our writing study. You'll complete three writing tasks on different topics. - After completing each task, click 'Done' to save your work and continue to the next task. As you write, pay attention to the suggestions the writing tool offers and use them when they seem helpful. There are no right or wrong ways to interact with the tool. Your responses will be kept confidential. You can ask questions at any time. @@ -439,7 +438,13 @@ function Router({ else if (page === 'study-postStudySurvey') { const nextUrlParams = new URLSearchParams(window.location.search); nextUrlParams.set('page', nextPage); - const redirectURL = encodeURIComponent(window.location.origin + `/editor.html?${nextUrlParams.toString()}`); + const isProlific = urlParams.get('isProlific') === 'true'; + let redirectURL; + if (isProlific) { + redirectURL = 'https://app.prolific.com/submissions/complete?cc=C998008G' + } else { + redirectURL = encodeURIComponent(window.location.origin + `/editor.html?${nextUrlParams.toString()}`); + } const postStudySurveyURL = SURVEY_URLS.postStudy; return ( @@ -466,20 +471,6 @@ function Router({ return
Thank you for participating in our writing study.
-