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.
This procedure is optional.
To configure tracking:
-
If you do not want to track Geo IP data, in the
Website\App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.configfile, set theAnalytics.PerformLookupsetting to False.NoteThe default value of the
Analytics.PerformLookupsetting is True and you must not change it in a single-instance environment. -
If you do not want to store IP addresses in the xDB, in the
\App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.configfile, update theRedactIpAddresssetting.This change will hash the IP addresses before they are stored in the xDB.
ImportantTo ensure that hashing is secure, in the
Sitecore.Analytics.Tracking.configfile, in thegeoIpManagersection, change the default salt value. -
Restart IIS.