How it fits together
oTree rooms accept a participant_label parameter in the room link. Tavra opens your room link for each worker with their assignment reference as the label, so your data and Tavra's records line up.
Set up your study
- Create a room in your oTree project and note its link.
- Paste the room link into Tavra's study template, which adds participant_label for each worker.
- On your final page, show a completion code. Tavra checks the code each worker enters against their assignment.
- For group games, set a waiting-page timeout so a worker who can't be matched is released, and tell Tavra how such tasks are paid.
Sources
- oTree documentation, Rooms. Room links that carry a participant_label URL parameter. Checked November 14, 2026.