When it comes to IP address geolocation, the numerous use cases that our customers employ require data to be parsed in many different ways. We often find ourselves playing a game of geographical Goldilocks, looking for the level of IP granularity that is not too big, not too small, but juuuuuust right.
Here are some examples of how challenges with city-level precision in the NetAcuity Pulse IP geolocation database can translate into real-world operational and user-experience issues:
- Giving website visitors a drop-down of city names to choose from, and the NetAcuity database returns an overly long list
- IP to city-level targeting where the city response is too granular for practical market-level use
- Using NetAcuity for Flat File deployments where there are too many rows or IP ranges to ingest due to city-level IP range fragmentation
Based on scenarios like this, Digital Element set out to solve this challenge. To do so, our team mapped small cities and suburbs around the world to the larger metropolitan areas that they fall within. This enables Digital Element customers to target major metropolitan areas without having to identify and manually select every surrounding suburb or neighborhood.
As outlined in our blog The Tricky Science Behind IP GeolocationIP address density in a major city often fails to reflect the true population of its surrounding metropolitan area, particularly when addresses are correctly assigned to nearby suburbs.
Small City Mapping
To meet the needs of our customers’ wide range of use cases and reduce operational complexity, Digital Element introduced Small City Mapping. This capability allows customers to convert an existing “small city” response from the Pulse city field into its associated larger metropolitan city, saving time, simplifying logic, and improving usability.
To demonstrate how this works, let’s use India as our geographic example and apply it to a common use case mentioned above: reducing overly long city selection lists.
Imagine you’re on the web development team for the IKEA India website, building a store locator for visitors. IKEA typically operates stores in major metropolitan areas, so visitors from surrounding cities need to be mapped accurately to the nearest metro where a store exists.
One of India’s 28 regions, Maharashtra (MH), contains approximately 350 cities. Asking users to manually scroll through hundreds of city options creates unnecessary friction.
Using Small City Mapping, visitors whose IP addresses fall within smaller surrounding cities are automatically associated with the closest major metropolitan area, ensuring relevant store locations are displayed instantly.
Here is an example of IP address traffic observed on the IKEA website.
| IP Address |
|---|
| 1.6.35.225 |
| 1.6.35.125 |
| 1.6.35.19 |
| 1.22.44.22 |
| 1.22.52.81 |
| 1.22.102.218 |
| 1.22.9.152 |
| 1.22.80.73 |
| 1.22.80.196 |
The web development team can query these addresses against the NetAcuity database to determine the Region, City, and City Code associated with these IP addresses. Below is what NetAcuity will return.
| Start IP | End IP | Country | Region | City | Metro | City-Code |
|---|---|---|---|---|---|---|
| 1.6.35.0 | 1.6.35.255 | ind | mh | andheri | 356002 | 148717 |
| 1.22.8.196 | 1.22.8.196 | ind | mh | andheri | 356002 | 148717 |
| 1.22.80.251 | 1.22.80.251 | ind | mh | andheri | 356002 | 148717 |
| 1.22.44.16 | 1.22.44.63 | ind | mh | bandra west | 356002 | 246533 |
| 1.22.52.81 | 1.22.52.81 | ind | mh | bandra west | 356002 | 246533 |
| 1.22.102.218 | 1.22.102.218 | ind | mh | bandra west | 356002 | 246533 |
| 1.22.9.152 | 1.22.9.152 | ind | mh | dharavi | 356002 | 148743 |
| 1.22.80.72 | 1.22.80.73 | ind | mh | dharavi | 356002 | 148743 |
| 1.22.80.196 | 1.22.80.196 | ind | mh | dharavi | 356002 | 148743 |
The cities associated with the IP addresses from web traffic were Andheri, Bandra West, and Dharavi. The web development team can then use the Small City Mapping decode file To determine what big cities these three smaller cities map to.
| Country | Region | City-Name | Metro-Code | City-Code | Big-Small | Big-City-Name | Big-City-Code |
|---|---|---|---|---|---|---|---|
| ind | mh | andheri | 356002 | 148717 | small | mumbai | 34785 |
| ind | mh | bandra west | 356002 | 246533 | small | mumbai | 34785 |
| ind | mh | dharavi | 356002 | 148743 | small | mumbai | 34785 |
As you can see, the IP address ranges all map to Mumbai as the big city. Because these small cities all map to Mumbai, logic can then be built into the website to ensure that visitors from any of the IP ranges that correspond with these cities are shown the Mumbai stores when using the store locator tool.
In any cases where IP address ranges are consecutive, the rows will be consolidated.
| Start IP | End IP | Country | Region | City | Metro | City-Code |
|---|---|---|---|---|---|---|
| 1.6.34.0 | 1.6.34.255 | ind | mh | mumbai | 356002 | 34785 |
| 1.6.35.0 | 1.6.35.255 | ind | mh | andheri | 356002 | 148717 |
Small City Mapping decode result:
| Start IP | End IP | Country | Region | City | Metro | City-Code |
|---|---|---|---|---|---|---|
| 1.6.34.0 | 1.6.35.255 | ind | mh | mumbai | 356002 | 34785 |
How This Enables Modern, Cookieless Use Cases
A/B testing content by market using IP context
Small City Mapping allows teams to test messaging, layouts, or offers at the metro level instead of fragmented city responses. This produces cleaner experiments, more reliable attribution, and consistent market definitions without relying on cookies or logged-in users.
Cookieless geo-targeting with trustworthy measurement
Because NetAcuity uses authoritative IP intelligence rather than user-declared location, organizations can localize experiences while maintaining consistent, privacy-forward measurement, especially critical as third-party cookies continue to disappear.
Minimizing false blocks in live sports streaming
Overly granular or misaligned city-level targeting can lead to accidental content blocks. By mapping suburbs and small cities to their correct metro areas, Small City Mapping helps streaming platforms enforce regional rights accurately while reducing false positives that frustrate legitimate viewers.
How to Access the Small City Mapping Decode File
The Small City Mapping Decode File is available to all Digital Element customers at no additional cost and can be accessed in the following ways:
- Downloadable via the Digital Element support portal on the Decode Files page as a .tab or .csv file
- Loadable into a local database and usable across NetAcuity deployment options, including Server/API, Flat File, Embedded API, and Cloud Service
- Customers using NetAcuity Server/API, Flat File, or Cloud Service can query or dump Feature Code 93 (Decode DB) and Feature Code 26 (Pulse) to automatically populate big-city mappings
Feature Code 93 mirrors the fields in the Small City Mapping Decode File and can be licensed through the Client Success team.
In the coming months, we will be introducing Feature Code 93 which will enable DE customers to make a single query or create a flat file where there is a dedicated field to the existing “pulse-city” and the “decode-big-city”. This new Feature Code will produce an industry-first data set that returns two locations for a single IP address: the small city that the IP address is located, and the larger metropolitan city that it is associated with.
Frequently Asked Questions About Balancing IP Precision with User Needs
How can I A/B test content by market using only IP context?
By using NetAcuity IP geolocation with Small City Mapping, teams can group users into consistent metropolitan markets based on IP address alone. This enables clean A/B testing across defined regions without cookies, logins, or self-reported location data.
Can Digital Element support cookieless geo-targeting?
Yes. Digital Element’s IP-based geolocation enables location-aware content delivery and measurement without relying on cookies. This supports privacy-forward targeting while maintaining reliable geographic attribution.
How does Digital Element reduce false blocks in geo-restricted live streams?
Small City Mapping ensures that IP addresses in surrounding suburbs are accurately associated with the correct metropolitan area. This reduces accidental blocks caused by overly granular city-level enforcement while still respecting regional content rights.
What level of IP granularity does NetAcuity support?
NetAcuity supports country, region, metro, city and postcode y-level targeting, globally. Small City Mapping adds flexibility by allowing customers to operate at the most appropriate geographic level for each use case.
How does Small City Mapping improve user experience without sacrificing accuracy?
Small City Mapping preserves precise IP placement at the city level while allowing organizations to present cleaner, more intuitive experiences—such as simplified city lists, metro-level store locators, or regional content groupings. This balance helps reduce user friction without compromising the underlying accuracy of NetAcuity IP data.
Can Small City Mapping help simplify IP data ingestion and processing?
Yes. By consolidating multiple small-city IP ranges into their associated metropolitan areas, Small City Mapping can reduce IP range fragmentation and row counts in flat files or databases. This makes IP data easier to ingest, manage, and operationalize across analytics, targeting, and enforcement workflows.
Choosing the Right Level of IP Geolocation Granularity
Effective IP geolocation isn’t about choosing the smallest possible data point, it’s about choosing the right one for your business goals. Digital Element helps organizations localize experiences, test markets, and enforce regional rights with confidence, accuracy, and scale.
If you’re evaluating how IP geolocation can support cookieless targeting, reduce false blocks, or simplify market-level decisioning, our team can help you identify the right data and deployment model. Contact Digital Element to speak with Sales and see how NetAcuity fits your use case.