title: How to disable Sitecore Analytics entirely
body: <p>We are experiencing cpu problems on our production servers. After profiling with the jetbrains cpu profiler, we have noticed that some functions in the assembly <code>Sitecore.Analytics</code> were executed. </p>
  
  <p>This is somewhat strange because we have disabled all analytics related configuration in de config files.</p>
  
  <p>After looking into the <code>/sitecore/admin/showconfig.aspx</code> we noticed that there are still a lot of <code>Sitecore.Analytics</code> related configurations in this config while these are deactivated in our config files. </p>
  
  <p>For example </p>
  
  <p>In the file <code>/App_Config/Include/EventHandlers.config</code> the configuration looks like this:</p>
  
  <pre><code>&lt;configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"&gt;
   &lt;sitecore&gt;
     &lt;events timingLevel="custom"&gt;
     &lt;/events&gt;
   &lt;/sitecore&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When looking into the <code>showconfig.aspx</code> it looks something like this:</p>
  
  <pre><code>&lt;events timingLevel="custom"&gt;
  &lt;event name="forms:save"/&gt;
  &lt;event name="item:saved"&gt;
              &lt;handler type="Sitecore.Analytics.Data.Items.ItemEventHandler, Sitecore.Analytics" method="OnItemSaved"/&gt;
              &lt;handler type="Sitecore.Analytics.Automation.Data.Items.ItemEventHandler, Sitecore.Automation.MarketingAutomation" method="OnAutomationStateChanged"/&gt;
          &lt;/event&gt;
          &lt;event name="item:deleted"&gt;
              &lt;handler type="Sitecore.Analytics.Automation.Data.Items.ItemEventHandler, Sitecore.Automation.MarketingAutomation" method="OnAutomationStateChanged"/&gt;
          &lt;/event&gt;
          &lt;event name="media:request"&gt;
              &lt;handler type="Sitecore.Analytics.Media.MediaRequestEventHandler, Sitecore.Analytics" method="OnMediaRequest"/&gt;
          &lt;/event&gt;
  &lt;/events&gt;
  </code></pre>
  
  <p>Does anyone has an idea why these are still returning in the <code>showconfig.aspx</code>?
  Is there a way to fully delete/disable the sitecore analytics module?</p>