5 ms·
Why would you need to know anything but hits/month and ad-revenue/month? Why don't you just hash the IP-address and count unique users that way?
by pelorat 3y ago
Why would you need to know anything but hits/month and ad-revenue/month?
Why don't you just hash the IP-address and count unique users that way?
- kmlx 3y agothat's easy: to improve the service.
- austinjp 3y agoThis is the generic reason that is always given, but I don't think I've ever seen exactly how the service will be improved and why cookies (or any uniquely-identifying data) are the only way to achieve the desired outcomes.
- janejeon 3y agoI'm sorry, but have you tried making and hosting a website? Product Analytics is a very popular category for a reason.
- austinjp 3y agoMany, many times :) My point is that it's never described. Even in the detailed options for those cookie banners that permit you to tweak things. Sure, there are (some) details about "our partners" and advertising etc, but exactly how the service will be improved is never explained. The reason is simple and obvious: nobody knows. Companies collect data in the belief it will be useful in improving the service, but generally chuck it into a data-swamp and occasionally rake it over to extract basic info like navigation routes. I'm also rarely convinced that improvements can't be better determined by focus groups and other similar methods. "Improving our service" is a glib catch-all that rarely stands up to scrutiny. There may be specific examples where a cookie is genuinely the best method to improve a feature -- in which case: name the feature, list the metrics, declare success/fail criteria, and stop collecting the cookie after the decision has been made. Edit: typos.
- dingledork69 3y agoOkay, how? Provide details, thanks.
- mvdtnz 3y agoHe gave several valid examples in the comment you're replying to.
- seri4l 3y ago>hash the IP-address How would that work? I can't think of any approach where getting the original IP back from the hash isn't trivial.
- throwaway71271 3y agoyou dont need to get the original ip back, just need to know how many unique ips are there, so sha(ip) is good enough
- seri4l 3y agoI apologize for the double negative. What I meant is that hashing doesn't improve privacy because if you know the hash and the hashing function it's easy to build a hashmap of all the possible IPv4s (around 3.5B). Unless the hash uses some sort of expensive key derivation function, but that doesn't scale.
- GordonS 3y agoYou could simply salt the hash, though you'd need to treat the salt as a secret. Alternatively, you could use a new salt every day, which would only allow you to track an individual for a 24 hour period (likely enough for many).
- quesomaster9000 3y agoWith little over 4 billion IPv4 addresses. From a stackoverflow post from 12 years ago: > I know I do 622 million SHA-256's per sec on a Radeon HD5830. Which would take around 6 seconds to brute force a 32bit address space.
- throwaway71271 3y agoyou can just salt it with some stable random thing
- toast0 3y ago