Skip to content
Privacy and compliance

What is IP anonymisation?

2 min read · Updated · By the Reveata team

Short answerIP anonymisation is the practice of removing or truncating a visitor's IP address, for example by zeroing its last part or discarding it after use, so the stored data no longer points to one device's internet connection.

A close up of a network switch box
Photo by Dimitri Karastelev on Unsplash

Every request to a website carries the visitor's IP address, because the server needs it to send the answer back. Analytics tools receive it too. Under the GDPR, an IP address can be personal data, so what a tool does with it after the request matters a great deal.

The usual methods

Method Example What is left
Truncation 203.0.113.47 becomes 203.0.113.0 A network, shared by many devices
Hashing 203.0.113.47 becomes 9c1e… A stable token; still linkable if the hash can be recomputed
Use and discard Address used for a lookup, then dropped Nothing

Truncation is the most common, and it is what many tools mean by "IP anonymisation". It helps, but the truncated network plus other details can still narrow things down, and the full address was usually received and processed before being shortened. Hashing without a secret, rotating key is weak, because the number of possible IPv4 addresses is small enough to try them all.

The strongest form is not to store the address at all.

What IP addresses are used for in analytics

  • Location. Country, region and city come from an IP address lookup.
  • Bot filtering. Requests from data-centre networks, or claiming to be a crawler from the wrong network, can be recognised.
  • Exclusions. Leaving out your office or VPN.
  • Visitor counting in cookieless setups, as one input to a short-lived hash.

All of these can happen while the request is being processed, without keeping the address afterwards.

How Reveata handles IP addresses

Reveata never stores IP addresses of your visitors. Its privacy documentation says the address is used for the location lookup, your IP exclusions and bot checks, and then discarded. In detail:

  • Location comes from a MaxMind GeoLite2 database kept on Reveata's own servers, so addresses are not sent to MaxMind or anyone else for the lookup (Privacy Policy).
  • Crawler verification compares the address with the ranges a crawler's operator publishes, in memory, and stores only the result: verified, spoofed or unverifiable (Crawler verification).
  • IP exclusions compare the address with your list before the event is stored.
  • Cookieless mode uses the address as one input to a hash with a random daily salt; the salt is deleted after its day, so the hash cannot be traced back.

For Reveata's own account security, the Privacy Policy describes a shortened address (the first three parts of an IPv4 address) stored with sign-in sessions and audit log entries. That is about people who use the dashboard, not your visitors.

Frequently asked questions

Is an anonymised IP address still personal data?

A truncated address is less identifying, but whether it is fully anonymous depends on what else is stored with it. An address that is never stored avoids the question for the stored data, though it was still processed briefly when the request arrived.

Does IP anonymisation make analytics GDPR-compliant?

It is one helpful measure, not compliance on its own. Cookies, identifiers, purposes, retention and transparency all still matter. This is general information, not legal advice.

Does removing IP addresses make location data less accurate?

No, as long as the lookup happens before the address is discarded. Reveata stores the resulting country, region and city, which is what reports need.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is personal data?Personal data is any information that relates to an identified or identifiable living person. Under the GDPR that includes not only names and email addresses but also online identifiers such as IP addresses, cookie ids and device ids, when they can single someone out.GlossaryWhat is pseudonymisation?Pseudonymisation is processing personal data so it can no longer be linked to a specific person without extra information that is kept separately and protected. A random visitor id in place of a name is pseudonymous: useful for analysis, but still personal data under the GDPR.GlossaryWhat is IP geolocation?IP geolocation is estimating where an internet user is, usually their country, region and city, by looking up their IP address in a database that maps address ranges to locations.GlossaryWhat is GDPR?The GDPR (General Data Protection Regulation) is the European Union law that governs how organisations collect and use personal data about people in the EU. It has applied since 25 May 2018 and sets the rules on legal bases, transparency, people's rights and security.GlossaryWhat is a cookie banner?A cookie banner is the pop-up or bar a website shows to tell visitors which cookies and similar technologies it uses and to collect their choice, so that non-essential cookies are only set after the visitor agrees.GlossaryWhat is a data controller?A data controller is the organisation that decides why and how personal data is processed. A data processor is a separate organisation that processes the data on the controller's behalf and only on its instructions, such as an analytics or email provider.