Passing external data through links or other methods

66 views
Skip to first unread message

Shakil Rahman Ayan

unread,
Feb 24, 2021, 2:48:25 AM2/24/21
to oTree help & discussion
Hello,

We are implementing a lab-in-the-field experiment within a broader survey. The primary survey is implemented on surveyCTO and then respondents are directed to the experiment component on oTree.

To later connect the respondents' surveyCTO data and oTree data collector are provided a respondent ID which they later input on the oTree experiment front-end prior to beginning the experiment. Of course there is a chance of enumerators making errors so we were wondering if there was any way to pass data from surveyCTO to oTree - maybe by adding information to the end of the link or something similar?

Thanks.
Shakil

Chris @ oTree

unread,
Feb 24, 2021, 3:45:38 AM2/24/21
to oTree help & discussion
you can pass data through the participant_label URL parameter, or if you need to pass lots of data, use oTree's REST API.

Shakil Rahman Ayan

unread,
Feb 24, 2021, 4:57:43 AM2/24/21
to oTree help & discussion
Thanks, will implement and share the final version with the community for future surveyCTO-oTree integrations!
Reply all
Reply to author
Forward
0 new messages