Web-based perceptual study codebase
I've left it in tact as a working demo, and hopeful it's obvious what to edit to customize.
It is based heavily off of code from Yotam Gingold.
To get an idea of the client-side interaction, try the live version.
On the server-side, upon completion of the survey simple plain text files of the responses in json format are generated and saved into:
/data/[experiment name]/[unique id].txt
Then you can suck out the individual data entries in batch using your favorite command line tools/scripting languages.
If your institution/government requires it, you might consider placing your IRB approval information on the first page of the survey.