Hacker News new | ask | show | jobs
by ruialmeida 2239 days ago
Google Analytics can do this by setting the last octet of IPv4 addresses and the last 80 bits of IPv6 addresses to zeros.

Reference: https://support.google.com/analytics/answer/2763052?hl=en