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 should we implement tracking as privacy conscious startups?

10 pointsby kylerpalmerabout 6 years ago
As a consumer, I use an adblocker because I care about my privacy. As a startup founder, I use tools like Google Analytics to drive my understanding of how to reach users and solve their problems. When I visit my own website, the irony is not lost on me that my adblocker blocks GA and other tracking tools.<p>I&#x27;d like to know: what are HN&#x27;s opinions and&#x2F;or solutions to this dichotomy?

9 comments

ziddoapabout 6 years ago
My 2c:<p>1) Don&#x27;t go overboard. GA is one thing. GA plus twenty other obscure analytics cookies and scripts is another. If your site looks like [1], there is 0 chance of ever being on my white-list for ads.<p>2) Just be honest and transparent. You don&#x27;t need a big &quot;WE USE COOKIESSSSSS&quot; banner, but a short little message along the lines of &quot;We use GA to help develop a better experience for you. All data is in aggregate, and not identifiable. Please consider white-listing our website if you would like to participate in making this website even better&quot;.<p>[1] <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;7AHbQ5E" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;7AHbQ5E</a>
评论 #19462501 未加载
jamiewebabout 6 years ago
My own solution to this was to write a custom web server log anonymizer[1], and then feed the logs into AWStats.<p>My anonymizer tool uses a bloom filter to determine which IP are addresses are unique, maintaining a semi-accurate unique visitor count. User agents and referrers are also anonymized.<p>My blog post explains this in more technical detail: <a href="https:&#x2F;&#x2F;www.jamieweb.net&#x2F;blog&#x2F;using-a-bloom-filter-to-anonymize-web-server-logs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jamieweb.net&#x2F;blog&#x2F;using-a-bloom-filter-to-anonym...</a><p>[1] <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;jamieweb&#x2F;web-server-log-anonymizer-bloom-filter" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;jamieweb&#x2F;web-server-log-anonymizer-bloom-...</a>
Nextgridabout 6 years ago
For analytics try to use self-hosted solution or even rely on your existing logs (if a feature is hitting endpoint X and you want to know how frequently it is used you can just <i>grep</i> for that URL).<p>If you really need to use a third-party, I&#x27;d prefer one where you pay for the service (MixPanel, etc) rather than a &quot;free&quot; one like Google Analytics. At least the paid one has less incentive to use the data for their own purposes while the whole point of Google Analytics (and the reason for it being free) is to provide data for Google&#x27;s advertising business.
评论 #19463477 未加载
laurentlabout 6 years ago
You don’t have to use GA for your own needs. If you have a traditional web site, you can get a lot done with nginx logs. Things get hairier with an SPA, but it isn’t too complicated to replicate Google Analytics’ “event” features on your own.<p>I recall someone posting a privacy-friendly analytics tool on show HN a few months back, so you don’t have to roll your own.<p>The downside is that you lose GA’s insight into who your users are (gender, interests, age group...). But that is some seriously creepy stuff when you stop to think about it.
morningmoonabout 6 years ago
What do you need to track, and how will you take action from it? It’s valuable to figure that out first.<p>You may not need user tracking at all. You can track how many signups came from which domain by setting a cookie with the referrer and incrementing a count for that domain at signup. Here’s an interesting post about it <a href="https:&#x2F;&#x2F;doingdone.app&#x2F;blog&#x2F;building-a-startup-without-user-tracking" rel="nofollow">https:&#x2F;&#x2F;doingdone.app&#x2F;blog&#x2F;building-a-startup-without-user-t...</a>
gorkemcetinabout 6 years ago
I also feel worried when my Ublock Origin warns me with big fonts. At least you can go with an on-premise option (e.g Countly, Fathom etc). Both can be deployed on a Digital Ocean instance via Marketplace in less than 60 seconds. Then, make sure you change your privacy policy to reflect that you don&#x27;t share data with 3rd parties.
ecesenaabout 6 years ago
DuckDuckGo gave a great talk at Shmoocon 2019 about their tracking and a&#x2F;b testing: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;oFkmqiwX5vk" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;oFkmqiwX5vk</a>
kylerpalmerabout 6 years ago
A few topics for discussion might include:<p><pre><code> * Anonymized and&#x2F;or aggregated data * Behavior tracking via cookies (in app vs marketing?) * Referral&#x2F;Affiliate tracking</code></pre>
marsabout 6 years ago
we use matomo, an open source clone of ga (previously called piwik). if you don‘t want a big disclaimer to be eu&#x2F;gdpr compliant you can turn off cookie dropping in the preferences. you will still be able to track sessions and conversions, but unique user counts will be off. <a href="https:&#x2F;&#x2F;matomo.org&#x2F;what-is-on-premise&#x2F;" rel="nofollow">https:&#x2F;&#x2F;matomo.org&#x2F;what-is-on-premise&#x2F;</a>