Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How do you ethically collect browser information?
1 point by axismundi on Feb 27, 2019 | hide | past | favorite | 2 comments
I recently joined a company that offers browser-based products. I would like to collect some information about my users browsers for development purposes: browser vendor, engine, OS, CPU, and device type/model, screen resolution so that when they have a problem, I can reproduce it as close to their environment as possible. NOTE I'm not interested in fingerprinting, analytics etc. It's just to be able to quickly diagnose a problem.

How do you do that in an ethical, privacy-respecting manner? Are there any npm packages you can recommend?



Collecting info should be optional so people can opt out. This needs to be communicated clearly. Purposes need to be stated.


Excepting screen resolution, most of this information is simply available in the useragent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: