#1
by
Hauke
Hi Chris & community, TLDR: (how) can I use a key other than "participant_label" in the url parameter ...?participant_label=xxxxx to set the participant label? I created a twitter feed in oTree for marketing researchers who are not familiar with oTree. I therefore built a flask app that makes rest API calls as suggested in this forum and the documentation. This allows others to create oTree-twitter-sessions without using any code or hosting the experiment themselves. The result is available at https://www.dice-app.org/ and was recently published. The app is typically used with prolific and qualtrics. In this setting, I managed to pass the participant_label from prolific to my app to qualtrics and back to prolific. However, I struggle implementing this for other settings where people recruit participants in their lab or via cloud research as the keys may be "UID" or "participantID" instead of "participant_label". Hence, I would like to customize that. Do you have any ideas on how to do that? (Here is the actual oTree app: https://www.otreehub.com/projects/ibt-hsg/ that contains some legacy and looks a little messy by now, unfortunately.) Best and thanks in advance, Hauke