By default JATOS just shows the text “This study is finished. Thank you for your participation.” in English language, with no special formatting, after a study finshed. Maybe you want a different language or add a logo and different text or styling, then read on.
2. endPage.html (since JATOS v3.5.1)
If you include a file named ‘endPage.html’ in your study assets folder along with your other study’s files, JATOS will automatically redirect to this page after the study finished.
Hint 1: Be aware that in the ‘endPage.html’ you cannot load or use any other files from the study assets folder. Because the study is already finished, JATOS won’t allow you to access any other file from this folder, or from any of the JATOS sessions (study, batch and group) out of security reasons. Of course this doesn’t prevent you from loading images or libraries (or any other resource) directly from the internet.
Hint 2: If you run the study with an MTurk Worker then you probably want to show the confirmation code to your worker. This is passed on to the endPage.html in a cookie with the name JATOS_CONFIRMATION_CODE.
Hint 3: If you run your study with the JATOS GUI it won’t show you the endPage.html but redirect you back to JATOS’ GUI instead.
3. Study Properties’ End Redirect URL (since JATOS v3.5.1)
Maybe you want to redirect to a different page, e.g. a Prolific’s end page or your department’s webpage. This you can do by putting the URL of that page into the study properties in JATOS’ GUI.
Hint: If you run the study with an MTurk Worker then you probably want to show the confirmation code to your worker. This is passed on as an URL query parameter confirmationCode.
Since version 3.6.1 you can pass on arguments from the original study link URL to redirect URL. Squared brackets in the End Redirect URL indicate that the string between those brackets is a parameter from the original study run link URL and let JATOS replace the the whole [string] by the value of the parameter.
Study run link URL:
End Redirect URL put in JATOS, in study properties:
Then JATOS will after a study finished automatically replace [SONA_ID] with 123abc and redirect to:
jatos.endStudyAndRedirect (since JATOS v3.5.1) or
jatos.endStudyAjax (all JATOS versions)