Questions tagged [otree]

oTree is a versatile Python platform designed for hosting multiplayer decision games, conducting behavioral experiments, and collecting survey data.

Optimize data storage with javascript on Otree

I've been attempting to store the timestamp from a click in an Otree database, but I've tried using various codes without success. Here's the first code snippet: function myFunction() { var n = Date.now(); document.getElementById("demo").innerHTM ...

What is the process for retrieving information from custom_export within Otree?

Currently, I am experimenting with utilizing ExtraModel and custom_export to extract information from the live_pages. However, after accessing the devserver and examining the data tab, I can't seem to locate the exported data. Furthermore, when I down ...