TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to collect usage data without violate user privacy?

2 pointsby wonderfulyover 2 years ago
When building side projects, usage data would be useful for product iteration, like which part of your product has most usage, what countries are your users from, etc. But users are also very concerned about their privacy. So how can we collect usage data without violate user privacy? What data is ok to collect? what is not? and how?

1 comment

ggeorgovassilisover 2 years ago
That depends on the legislation in your country (which may include international agreements to abide to other countries&#x27; data protection laws). But you should be fine with these main provisions:<p>Data privacy policy: offer a data privacy policy which explains which data is processed (collected, stored, processed), for which purpose and how a user can request data deletion. State clearly when data cannot be anonymised (eg. email for user login). Make sure to include 3rd party data processors (eg. google analytics).<p>Purpose: process only the data needed, don&#x27;t process data because it might be useful in the future<p>Identifying data: where such data identifies a single person, anonymise it (eg. blank out the last part of the IP address)<p>Retention: aggregate and anonymise data as soon as possible, delete the raw data once it stops being useful