Dear masters of all things IP,
my employer uses standard google analytics tracking code to keep an eye on the metrics
of their web sites.
Recent federal legislation has now determined this to be illegal within the context of
data security and privacy laws, and we are (among other things) going to be forced to
use the anonymizeIP method within the tracking code, which will drop the last octet of
the IP address before processing.
My question to you: Will this make it impossible to collect any country-specific data
at all? Or is there enough information in the remaining 3 octets to identify a network
segment as being in a specific country?
You help here is very much appreciated, and any additional reading you could point me
to would be awesome as well.
The first 3 octets should be enough in most cases. I would be surprised to learn that two hosts with the same first 3 octets of a publicly routable IP are in separate cities.