---
title: "Configure geo-location lookup"
slug: "configure-geo-location-lookup"
abstract: ""
---
# Configure geo-location lookup

Geo-location lookup enables you to identify contacts and track their activity on your website based on their IP address.

In certain cases, you might not want to track Geo IP data, or due to restrictions in certain legal jurisdictions, you might not be allowed or want to store IP addresses. In these situations, you can configure tracking.

> [!note]
> This procedure is optional.

To configure tracking:

1. If you do not want to track Geo IP data, in the `Website\App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.config` file, set the `Analytics.PerformLookup` setting to *False*.

    > [!note]
    > The default value of the `Analytics.PerformLookup` setting is *True* and you must not change it in a single-instance environment.

2. If you do not want to store IP addresses in the xDB, in the `\App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.config` file, update the `RedactIpAddress` setting.

    This change will hash the IP addresses before they are stored in the xDB.

    > [!important]
    > To ensure that hashing is secure, in the `Sitecore.Analytics.Tracking.config` file, in the `geoIpManager` section, change the default salt value.

3. Restart IIS.