oTree Forum >

collect prolific study id via otree hr

#1 by kimsarnoff


When otree HR generates a study link for Prolific, there are 3 URL parameters that get populated: PROLIFIC_PID, STUDY_ID, SESSION_ID. Otree HR grabs PROLIFIC_PID from the url and records it under participant.label. Is there a way to capture STUDY_ID, and record it under session.label (or something else).


#2 by Chris_oTree

Check participant.vars, I believe it’s stored in there.

Write a reply

Set forum username