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.

English Article · Software

How to resolve Java heap space exception in Solr

For the last few days I’ve noticed weird behavior in Sitecore instances which are related to Solr, for example:

  • indexes are rebuilding with exceptions;
  • sitecore instance is being slow;
  • lost connection to Solr;
  • not able to restart the Solr service, it’s just take an infinity time to stop.

For all of this things I haven’t pay much attention to start troubleshooting, because I’m working in another area which not related to indexes, the behaviour is quite new for me and just simple reboot has helped.

Lost connection to Solr
Continue reading “How to resolve Java heap space exception in Solr”
English Article · Software

Personalization

Personalization provides the right content to the right audience.

What does it mean? – For example, you are a customer of http://www.myGrocceryShop.com and usually, you buy vegetables and fruits online. Maybe you are not aware, but the grocery shop already know your behavior. Next time in the main page of the website you will see a bunch of fresh vegetables instead of meat or potato chips. You will see more targeted offers personalized for you.

Continue reading “Personalization”