How to disable Content Testing functionality


The current article describes how to disable the content testing functionality in Sitecore XP 8.0.

Content testing uses scheduled tasks for different actions such as rebuilding testing indexes. If you do not use this feature, it can be disabled to avoid unnecessary server load.

Solution (For XP 8.0)

  1. Disable all *.config files in the /App_Config/Include/ContentTesting folder. The files can be disabled by changing the file extension to .disabled
  2. Archive the /sitecore/system/Tasks/Schedules/Content Testing item in the master database.
  3. Archive the /sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimization item in the core database. It will completely disable the Optimization tab in the Experience Editor.

    There are Attributes and PageProfileSettings chunks on this tab that are not related to Content Testing. If you use these chunks, you can move the following items:

    under the /sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Experience item.
  4. Archive the /sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Experience Optimization item in the –°ore database.
  5. Navigate to the \Website\sitecore\shell\client\Sitecore\ExperienceEditor\Pipelines\InitializePageEdit folder, and change the InjectOptimizationViewMode.js file extension to .disabled.

Solution (For XP 8.1 And Later)

Change the ContentTesting.AutomaticContentTesting.Enabled setting value to false in the App_Config\Include\ContentTesting\Sitecore.ContentTesting.config file:

<setting name="ContentTesting.AutomaticContentTesting.Enabled" value="false" />