The Sitecore IP Geolocation service provides information about the location and owner of an IP address beyond that provided by a reverse DNS lookup. IP Geolocation information includes the country, state, city, and the registered company name of every visitor.
You can use IP Geolocation lookups to create conditional renderings or personalization rules that show different content based on the visitor's location.
This topic describes:
- System requirements for Sitecore
- Activate the Sitecore IP Geolocation service for Sitecore
- Subscribe to the Sitecore IP Geolocation Service
- Configure a firewall
- Using a proxy server
System requirements for Sitecore
Sitecore IP Geolocation is included in the initial version of Sitecore Experience Platform 8.1 (Sitecore XP) and all later versions by default, and is tested with all subsequent updates. This means you only need to subscribe to the Sitecore IP Geolocation service.
The Sitecore IP Geolocation module is fully compatible with Sitecore Experience Management (CMS-only mode).
Your IP Geolocation service subscription is connected to your unique Sitecore License ID. This means that if you update your license ID (for example, when you use a new license.xml), you must reactivate your IP Geolocation subscription.
Activate the Sitecore IP Geolocation service for Sitecore
To activate the Sitecore IP Geolocation Service on Sitecore XP 8.2, you must subscribe to the Sitecore IP Geolocation service in the App Center.
Subscribe to the Sitecore IP Geolocation Service
- On the Sitecore Launchpad, click App Center.
- In the Sitecore App Center, click Sitecore IP Geolocation Service.
- Click Continue to proceed with your sign-up and to see a summary of your subscription.
- Click Confirm to view the Terms of Service.
- Select I accept the terms and conditions and click Continue to complete your subscription.
Now your subscription is complete.
After activating your subscription, the system may take some time to update your license information. When this information has updated, the Sitecore IP Geolocation service will automatically carry out geolocation lookups.
Configure a firewall
It is common to set up a firewall between your content management and content delivery servers. To ensure that the Sitecore IP Geolocation service works correctly in every scenario, you must configure your firewall settings to allow requests to the service.
Add a firewall rule to allow HTTPS protocol for:
Using a proxy server
When requests that come from a reverse proxy server to your Sitecore instance should be tracked as the valid IP addresses of a client, and not as the IP addresses of a proxy, use the following setting.
- In the
Sitecore.Analytics.Tracking.configfile change the value of the