On 8/30/06, Steve Summit scs@eskimo.com wrote:
But what if we logged a one-way hash of the IP address, that couldn't be correlated with anything else?
There are only about four billion possible IP addresses. Anyone could just do a brute-force execution of whatever hashing algorithm we use on every IP address. Really, though, there's no harm in storing IP address-pageview links for a short period of time, like a day.
However, this wouldn't require that, and indeed, a server-side solution would be impossible: 99.9% of page hits won't go to the server to start with. Since JavaScript is being used anyway, you can just have the script only run the first time you visit a given page per session.