Hacker News new | ask | show | jobs
by okumurahata 1847 days ago
Author here; some clarification. I use fingerprint to get the number of visits (instead of using something invasive like Google Analytics):

https://github.com/erikmartinjordan/jsonmatic/blob/master/sr...

I get the fingerprint as a UID (which is like a random number for me). I don't harvest any user's data. Code is open-source, you can verify what I'm saying if you wish.

1 comments

Collecting usage statistics is harvesting data. This is a classic example of why you should never run random NPM modules. Or even install them as all of this is possible in a post install script too.

Putting analytics in a deployed app is your prerogative. Putting it in what touts itself as a reusable component is at best frowned upon.

Ok, I see your point. I update the website.

This commit deletes any kind of data harvesting (removes fingerprint and visit counting):

https://github.com/erikmartinjordan/jsonmatic/commit/7f3fa89...

web-vitals is still there. What is it used for? https://github.com/erikmartinjordan/jsonmatic/blob/f926f197b...
It comes by default on React apps, it’s not used for anything.