Skip to content

Home > @world-wide-lab/integration-jspsych > jsPsychWorldWideLab > storeParticipantId

jsPsychWorldWideLab.storeParticipantId() method

Store the participant Id in the participant's browser. Depending on the browser configuration, this is not always possible.

Signature:

typescript
static storeParticipantId(): Promise<boolean>;

Returns:

Promise<boolean>

A boolean indicating whether the participant Id was stored.