← What Is Geotargeting in Digital Marketing

PART 1 OF 4

How IP Geolocation Finds a Searcher

IP geolocation finds a searcher by looking up the internet address their connection uses in a database that maps addresses to places. The result is an estimate, not a measurement. Accuracy is strongest at country scale and weakens for a city or a street.

5 min read · Updated November 2026

Isometric map pin standing on a round base with a hexagonal cutout

IP geolocation finds a searcher by looking up the internet address their connection uses in a database that maps addresses to places. The result is an estimate, not a measurement. Accuracy is strongest at country scale and weakens for a city or a street.

An IP address becomes a probable place

A searcher’s location is inferred by matching their IP address to a stored location record. An IP address is the numeric label that lets other machines reach an internet connection.

The record is an informed guess kept by whoever maintains the database. The address itself carries no information about where its user is sitting.

That guess feeds geotargeting, the practice of showing different pages or ads to visitors according to location. Geotargeting can also rely on a place the visitor states, such as a chosen country.

How IP geolocation works, from registry to lookup

IP geolocation works in two stages. A database is assembled ahead of time, and each visit then triggers a quick lookup against it.

The database starts with the five Regional Internet Registries, the organizations that allocate IP addresses. Holders of those addresses can record a location for them.

Vendors then add more evidence, as Wikipedia’s Internet geolocation article describes. The inputs include addresses submitted by users, Wi-Fi BSSIDs, GPS coordinates paired with IPs, and data from internet service providers.

A BSSID is the hardware identifier of a Wi-Fi access point. An internet service provider, or ISP, is the company that sells the connection.

At visit time, the website or ad system reads the visitor’s IP address and asks the database for the matching record. The record returns a country, region or city guess. The system compares that guess with the target area and decides what to show.

The main pieces of an IP location system

An IP location system has three pieces: registry records, added evidence and a vendor’s database. Each piece shapes how far the final guess can be trusted.

Registry records

Registry records set the starting point for an address. They show where a holder says the addresses belong, not where each visitor is sitting.

Added evidence

Added evidence gives a vendor more to work with than the registry entry alone. Paired GPS and IP readings, submitted addresses, Wi-Fi BSSIDs and ISP data all fall here.

Vendor databases

Vendor databases decide how the inputs are blended into one answer. Vendors differ, and their accuracy claims vary.

A default location is the stand-in point a database returns when it has nothing more specific. Defaults are one more reason a city-level result deserves caution.

Planning around a rough location guess

A local business should treat IP location as a hint about a visitor, not proof of where they stand. The aim is to make a wrong guess cost little.

Visitors near the edge of a service area may be placed in the next town or outside the area altogether. Because accuracy weakens below country level, a city boundary is a soft line, not a hard one.

Local search shows why this matters, since Google ranks local results by relevance, distance and prominence. A query with no place in it leaves Google to rely on its own knowledge of where the searcher is. The help pages for Google’s products are the authority on which signals count.

Asking a visitor to state a place avoids the guess, and a country menu is the simplest case. Testing a page or ad from a few different locations shows how forgiving a setup really is.

Paid campaigns layer their own settings over this guess, and the next part of the series explains how Google Ads location targeting applies them.

Wrong beliefs about IP location

Four common beliefs about IP location do not hold up. Each one comes from treating a database guess as a fact.

The first belief is that IP location is street-precise. In practice the data is strongest for the country, and vendors’ accuracy claims differ.

The second belief is that the IP lookup is the only signal in play. Google Ads says its location estimates draw on users’ settings, devices and behavior, and it states that complete accuracy is not promised.

The third belief is that every visitor appears where they really are. A proxy relays a person’s traffic through another machine, and a VPN works on the same principle. Wikipedia’s geotargeting article says either one can conceal or falsify the place a site sees.

The fourth belief is that a stored location is settled. When MaxMind changed its default location, about 600 million IP addresses ended up pinned to one Kansas farmstead.

Frequently asked questions

Who first records where an IP address belongs?

The five Regional Internet Registries allocate IP addresses, and the holders can record a location for them. Database vendors add other evidence afterward, such as GPS readings paired with IPs.

Can IP geolocation identify the street a visitor is on?

Generally no, because the method is strongest at the country level. Accuracy claims vary by vendor, so any promise of street-level precision deserves scrutiny.

Does a VPN change what an IP lookup returns?

It can. Proxies and VPNs relay traffic, so the address a website sees may belong to the relay rather than the person. The lookup then describes the relay’s recorded place.

Is the IP address the only way a site learns a visitor’s location?

No. A site can also take a place the visitor states, such as a country picked from a menu. Some ad platforms add device and account signals alongside the address.

What comes after the address lookup

This opening installment stays with one narrow job: turning an address into a guessed place. The wider picture, including the other location inputs, sits in the guide on what geotargeting is. Next up is how Google Ads converts a location guess into campaign settings such as radius and presence.

Sources

See Where You Actually Rank

Run a Free Rank Check