Software

Disable bots detection in Sitecore

There are may be needs for you to test some visits in Sitecore to determine each visit precisely but some of them are not handled because Sitecore may think this is not real interactions, especially if make interactions via JMeter, Locust or K6. To disable bots detection you should follow the next steps:

  1. Open the C:\inetpub\wwwroot\<instance name>\App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.config
  2. Find two settings:
    • Analytics.AutoDetectBots
    • Analytics.Robots.IgnoreRobots

Set the both values of the settings from true to to false.

<!--  ANALYTICS AUTO DETECT BOTS
            Enable auto detection of bots.
            Default: true
-->
<setting name="Analytics.AutoDetectBots" value="false" />

<!--  ANALYTICS ROBOTS IGNORE ROBOTS
            Ignore requests and do not write information to the Analytics database when the visitor 
            classification identifies the visitor as a robot.
            Default: true
-->
<setting name="Analytics.Robots.IgnoreRobots" value="false" />

Now each visits will be considered as a valid visit and each visit will be tracked.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.