Exclude robots functionality does not support the Analytics.ForwardedRequestHttpHeader setting


Description

The Exclude robots functionality in Sitecore Analytics allows you to add certain IP addresses to the exclude list using the Sitecore.Analytics.ExcludeRobots.config file. Requests from these addresses are not tracked by Sitecore Analytics.

However, when the Analytics.ForwardedRequestHttpHeader setting is enabled, for example, when using proxy servers or load balancers, incoming requests might not be properly filtered according to the IP exclude list.

Solution

To add support for the Analytics.ForwardedRequestHttpHeader setting to include the Exclude robots functionality, apply the patch compatible with the affected product version to the CD server: