Hello, I try to record the time participants take to complete the online survey. The time starts to record when the participants reach the page 2 (i.e., “participant gender” and ends when they complete the survey. I reviewed previous discussion/solution, but it doesn’t work.
The below code only works when placed at the end of the code (outside the pages section). When I moved it to “participant gender” page, it shows, “The property ‘triggers’ in class ‘page’ is unknown”
“triggers”: [
{
“type”: “runExpression”,
“expression”: “window.startTime = new Date(); survey.data.setValue(‘start_time’, window.startTime.toLocaleString());”
}
],
I attached the json. Could you help with it? Thank you very much for any help!
survey_27083988-a4fe-4049-9f71-eed810d8f9aa.json (1.2 KB)
I’m pretty sure that “first page is a start page” used to mean that timing didn’t start until the second page. However, that doesn’t seem to be working any more. If you add a consent question or similar to your first page could you subtract the time for that response from the time for the final response? I haven’t checked what timing data currently gets saved, but I think times are all from the same point.
Hi Wakecarter,
Thank you for your reply! Yes, I can calculate the response time for each item. Below are cells from the exported response sheet. Does “MAskQ_1_rt” mean the reaction time for item MaskQ_1? If so, how can I interpret the reaction time? The reaction time (113.2431) seems to be in an unreadable format (the CSV file is opened with Numbers application on Mac).
I have a few questions about the exported response sheet:
Q1. When I “deselect” the visible checkbox of the randomizer, it also does not show up in the response sheet. It means I don’t know who is assigned to which condition.
Q2.1 Is it possible to set up the HTML item as “required item*”?
Q2.2 The response for HTML item also doesn’t show in the response sheet.
Q3. The presentation order of item responses is not consistent with the order of items presented to participants. The answers are correct, but the inconsistency is a bit weird.
block_1/MaskQ_1 |
block_1/MaskQ_1_rt |
1 |
113.2431 |
Is clear the value set to None?
HTML items don’t have responses. If you want a response after html then you could add a question before and then hide that question’s title.
The data order is alphabetical, so you could edit the question names if you want it to match the presentation order.
That looks okay. Would just under 2 minutes from the start of the survey be plausible?
Hi Wakecarter, thank you so much for your kind help!!
I had a quick test for the survey, so only took 113seconds