Sequence of URLs: Difference between revisions
Jump to navigation
Jump to search
| (4 intermediate revisions by 2 users not shown) | |||
| Line 34: | Line 34: | ||
* https://app.prolific.co/submissions/complete?cc=FJ2UID24 | * https://app.prolific.co/submissions/complete?cc=FJ2UID24 | ||
You may have never done this before by hand, since it is done for you by [ | You may have never done this before by hand, since it is done for you by [https://www.socsci.ru.nl/tsg/composer/ URL Composer]. This works but typically we want to make it even more complicated. The experiment wants to keep track of the ''prolific pid'' to identify unique participants. In the past we could use [https://www.socsci.ru.nl/tsg/composer/ URL Composer] for an even more complicated URL, but that no longer works (2023-06-16) therefore we need [https://www.socsci.ru.nl/tsg/sequence Sequence of URLs], a small tool that makes aliases for the three URLs in your experiment and keeps track of the ''prolific pid'' for you. Just enter the three URLs there: | ||
* https://questions.socsci.ru.nl/index.php/654321?url=https://www.socsci.ru.nl/tsg/sequence/123456/1 | * https://questions.socsci.ru.nl/index.php/654321?url=https://www.socsci.ru.nl/tsg/sequence/123456/1 | ||
| Line 47: | Line 47: | ||
Now all three URLs will receive the prolific PID, study id, etc. | Now all three URLs will receive the prolific PID, study id, etc. | ||
= SONA and Prolific = | |||
Imagine you want to conduct an online experiment with two panel systems that recruit participants to the same experiment, SONA and Prolific, and you want to your participants to visit the following places: | |||
* Online Experiment in Limesurvey | |||
* SONA or Prolific completion, depending on where they were recruited | |||
As the three URLs in ''Sequence'' you input (mutatis mutandis): | |||
<ol> | |||
<li value="0"><code><nowiki>https://questions.socsci.ru.nl/index.php/654321</nowiki></code> (change the 6 digit number to your limesurvey number)</li> | |||
<li value="1"><code><nowiki>https://radboud.sona-systems.com/services/SonaAPI.svc/WebstudyCredit?experiment_id=12345&credit_token=123456789abcdef</nowiki></code> (take your SONA completion url)</li> | |||
<li value="2"><code><nowiki>https://app.prolific.co/submissions/complete?cc=ABC123</nowiki></code> (take your the Prolific completion url)</li> | |||
</ol> | |||
:ℹ️ We leave out the last part of the completion URL that the SONA experiment page gives (&survey_code=XXXXXX) since that is taken care of by ''Sequence'' | |||
As the SONA study url you should use without ''Sequence'': | |||
<pre>https://questions.socsci.ru.nl/index.php/654321?survey_code=%SURVEY_CODE%</pre> | |||
but because you use ''Sequence'' you replace the first part: | |||
<pre>https://www.socsci.ru.nl/tsg/sequence/123456/0?survey_code=%SURVEY_CODE%</pre> | |||
As the Prolific study url you should use without ''Sequence'': | |||
<pre>https://questions.socsci.ru.nl/index.php/654321?PROLIFIC_PID={{%PROLIFIC_PID%}}&STUDY_ID={{%STUDY_ID%}}&SESSION_ID={{%SESSION_ID%}}</pre> | |||
but with ''Sequence'' you replace the first part: | |||
<pre>https://www.socsci.ru.nl/tsg/sequence/123456/0?PROLIFIC_PID={{%PROLIFIC_PID%}}&STUDY_ID={{%STUDY_ID%}}&SESSION_ID={{%SESSION_ID%}}</pre> | |||
:ℹ️ You only enter the part up to but not including the question mark in Prolific and Polific will add the rest. | |||
All that we now have to do is set a Limesurvey ''end url'' that points either to SONA or to Prolific: | |||
<pre>https://www.socsci.ru.nl/tsg/misc/redirect.php?url={if(is_empty('{PASSTHRU:PROLIFIC_PID}'), 'https://www.socsci.ru.nl/tsg/sequence/123456/1', 'https://www.socsci.ru.nl/tsg/sequence/123456/2')}</pre> | |||
which in normal English means something like: if there is ''no'' PROLIFIC PID, go to ''Sequence'' page 1, otherwise go to ''Sequence'' page 2. | |||
= Privacy = | = Privacy = | ||