Open vrde opened 7 years ago
Backend site, you can sent these stats collected in localstorage, with this endpoint
POST /api/v1/slavereport
The JSON has to be cryptographic signed as the content sent to api/v1/event
the time is kept incremental for every browser (or for every localstorage), the data is saved associate to the privateKey
used, so if an user lose a private key, just pass through a new registration.
idletime how you can keep track of the lack of activity? and so, how you can keep track of activity time ? I would just consider if the window is "onfocus" in the sense it is display in the monitor. we can interpolate after with the information sent to events API to guess if an user was away or not
the breakdown per page it is ok, I'll just see as a segmentation of the count above
This is something easy to start. (See #22 for the original issue).
The most important thing is how we track time. In my opinion we can track:
Ideas are welcome!