humdek-unibe-ch / sh-shp-survey_js

SelfHelp plugin that integrates [SurveyJS](https://surveyjs.io)
0 stars 0 forks source link

Add metadata to surveyjs results #4

Closed Kodzhabashev closed 4 months ago

Kodzhabashev commented 6 months ago

In GitLab by @nicolas.scheurer on Dec 15, 2023, 14:40

Solution similar to: https://surveyjs.answerdesk.io/ticket/details/t8931/how-to-add-metadata-to-surveyjs-result-json

It would be helpful to have additional time records in the results: for example the startTime of the survey, the endTime, the pageTime (time spent on one page - see discussion in MS Teams -> e.g. use an array with page clicks).

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 15, 2023, 14:53

In array I will keep the time spent on a page:
{ "pageNo":1, "entry_timestamp": timestamp1, "leave_timestamp": timestamp2, "duration": 20000 in ms }

That page could have multiple entries if the user click the back button. The researchers can calculate total time later with a script.

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 15, 2023, 14:54

save info for device and browser

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 10:39

mentioned in commit 41fe26c67005d6e2dd4a219683654032ce785b5e

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 11:23

mentioned in commit 23d0df164c3f0711c5abb5325b201bfdc54e3493

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 11:24

Implemented in v1.3.0

Kodzhabashev commented 6 months ago

In GitLab by @Kodzhabashev on Dec 18, 2023, 11:24

closed