Changes

Jump to navigation Jump to search
Line 65: Line 65:  
= Adding a participant identifier from the panel system =
 
= Adding a participant identifier from the panel system =
 
''This feature only works in the experimental version participant_counter2.php''
 
''This feature only works in the experimental version participant_counter2.php''
 +
You can add the participant value that you received from the panel system. This way, if the participant returns (for instances presses f5) he will receive the same counter value and hence the same version of the experiment.
 +
 +
# curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john'
 +
{"experiment":"1","counter":"0","timeout":""} # first counter value
 +
# curl 'https://www.socsci.ru.nl/wilberth/nocms/radcloud/participant_counter.php?experiment=1&participant=john'
 +
{"experiment":"1","counter":"0","timeout":""} # The same counter value that john received last time.
 +
 +
If you combine a ''participant'' value with a ''timeout'', the ''timeout'' will be reset to the new value, giving the participant more time to complete the experiment. Setting timeout on a finalized experiment will not result in an error, but will not reset the ''timeout'' value.

Navigation menu