Settings - Geolocation

Settings in this category configure the geolocation feature for contacts.

Using GeoIP2 Databases

The initially used GeoLite and GeoIP Legacy Databases will be discontinued. We recommend transitioning to the newer GeoLite2 or GeoIP2 Databases – see Using geolocation for contacts.

General

Enable contact geolocation by IP

Indicates if the system tracks the geographic locations of contacts based on their IP addresses.

Suffix for mapped data

Allows you to specify an optional suffix, which the system adds to the values of contact fields obtained using geolocation. The suffix is only added to text-based fields.

Geolocation data to contact fields mapping

This section allows you to configure the mapping of the geolocation data to the fields of Kentico contacts. Use the drop-down lists to select the target fields into which the system maps the information. Mind the type restrictions when assigning target fields.

Country

Accepts integer-based and text-based fields.

  • When mapping to integer fields, the Country ID value is used
  • Text-based fields use the Country display name value

State

Accepts integer-based and text-based fields.

  • When mapping to integer fields, the State ID value is used
  • Text-based fields use the State display name value

City

Accepts text-based fields.

Postal code

Accepts integer-based and text-based fields.

Area code

Accepts integer-based and text-based fields.

Note: The area code data is not available when using GeoIP2 Databases.

Metro code

Accepts integer-based and text-based fields.

DMA code

Accepts integer-based and text-based fields.

Note: The DMA code data is not available when using GeoIP2 Databases.

Latitude

Accepts floating-point number and text‑based fields.

Longitude

Accepts floating-point number and text‑based fields.

Organization/ISP (GeoIPOrg required)

Accepts text-based fields.

Note: Organization data is only available if you have the GeoIP Organization Database (Legacy) or GeoLite2 ASN Database added to your project.

By default, Kentico contacts do not have fields for storing the Area code, Metro code, DMA code, Latitude and Longitude geolocation data. To learn how to create custom fields for holding the data, see Adding custom fields to contacts.