Turning Off Analytics in Sitecore 8.1

Bhavik Patel • 4/8/2016

How do you turn off analytics in Sitecore 8.1? I’ve been asked this question many times now, so I’ll write a quick post about it.

In previous versions of Sitecore 8 (prior to 8.1), this setting was in Sitecore.Analytics.config and was called “Analytics.Enabled”.

In Sitecore 8.1, this setting has now moved to Sitecore.Xdb.config and is called “Xdb.Enabled”.

For good measure, if you are going to turn off analytics (or rather xDB), make sure you also comment out the MongoDB connection strings in your ConnectionStrings.config file.

Bhavik Patel

Sitecore Technical Architect

Bhavik Patel is a certified Sitecore developer who has held Sitecore Most Valuable Professional (MVP) status since 2015. He has more than a decade of experience with enterprise-class Sitecore and Microsoft .NET framework development, including Sitecore integration with SharePoint and Business Intelligence solutions. He leads our Sitecore development practice, engineering enterprise-class Sitecore implementations for Government and commercial sector clients. He's an expert at using Sitecore Helix Framework to create re-usable architectures, streamline the integration of front-end development and provide the foundation for SEO-optimized Sitecore marketing websites.

Explore topics:

Other Blog Posts from Bhavik Patel