---
title: Settings - Geolocation
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

In this category, you can configure the mapping of the [Geolocation ](https://docs.kentico.com/k82/on-line-marketing-features/contact-management/working-with-contacts/using-geolocation-for-contacts.md) fields to Kentico contact fields. Use the drop-down lists to select the target fields into which the system maps the information.

The **Area code**, **Metro code**, **DMA code**, **Latitude** and **Longitude** fields don't have equivalent fields in Kentico. To create new fields to map into:

1. Navigate to the **Modules** application.
2. Edit the **Contact management** module.
3. On the **Classes** tab, edit the **Contact management - Contact** class.
4. [Define the fields](https://docs.kentico.com/k82/custom-development/developing-form-controls/assigning-form-controls-to-fields.md) on the **Fields** tab.

The following settings are available. Mind the type restrictions when assigning target fields or creating custom fields for holding geolocation data.

| General                              |                                                                                                                                                                                                                                                                                                    |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enable IP geolocating contacts       | Indicates if contacts' locations can be tracked down based on their IP addresses.                                                                                                                                                                                                                  |
| Suffix                               | Type in an optional suffix, which the system adds to the values of contact fields obtained using [Geolocating](https://docs.kentico.com/k82/on-line-marketing-features/contact-management/working-with-contacts/using-geolocation-for-contacts.md). The suffix is only added to text-based fields. |
| Geodata mapping                      |                                                                                                                                                                                                                                                                                                    |
| Country                              | Accepts integer-based and text-based columns. When mapping to an integer-based column, _Country ID_ is used. _Country display name_ is mapped into a text‑based column.                                                                                                                            |
| State                                | Accepts integer-based and text-based columns. When mapping to an integer-based column, _State ID_ is used. _State display name_ is mapped into a text‑based column.                                                                                                                                |
| City                                 | Accepts text-based columns.                                                                                                                                                                                                                                                                        |
| Postal code                          | Accepts integer-based and text-based columns.                                                                                                                                                                                                                                                      |
| Area code                            | Accepts integer-based and text-based columns.                                                                                                                                                                                                                                                      |
| Metro code                           | Accepts integer-based and text-based columns.                                                                                                                                                                                                                                                      |
| DMA code                             | Accepts integer-based and text-based columns.                                                                                                                                                                                                                                                      |
| Latitude                             | Accepts decimal-based and text-based columns.                                                                                                                                                                                                                                                      |
| Longitude                            | Accepts decimal-based and text-based columns.                                                                                                                                                                                                                                                      |
| Organization/ISP (GeoIPOrg required) | Accepts text-based columns. The specified column will only be updated if the GeoIP Organization Database is installed.                                                                                                                                                                             |
