Disable the robot detection component on a Content Management server
How to disable robot detection on a Sitecore Content Management role. This is easily overlooked during manual configuration.
Applies to | Content Management |
---|
Note
Robot detection is disabled by default in the default Content Management WDP. However, if you are manually configuring an instance of the Content Management (CM) role, you may need to manually disable robot detection. This configuration step is easily overlooked in the manual configuration process.
Robot detection filters out unwanted interactions from automated browsers and robots so the system only registers genuine contact.
By default Sitecore enables the robot detection component. However, it is not required on a CM role and leaving it enabled might cause errors.
To disable the robot detection component on a CM role:
Navigate to your website root folder and open the
Web.config
file.In the
Web.config
file, navigate to theMediaRequestSessionModule
node in thesystem.webServer/modules
section:<add type="Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule, Sitecore.Analytics.RobotDetection" name="MediaRequestSessionModule"/>
Change the
type
value to:<add type="Sitecore.Analytics.Media.MediaRequestSessionModule, Sitecore.Analytics" name="MediaRequestSessionModule"/>
Save your changes.
Note
When you disable the robot detection component, xDB reverts to its default logic where contacts are classified as human if they request more than one page during a visit or if they make a request to download a media item.