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

Bhavik is a .NET developer with over 9 years of experience, focusing on Sitecore CMS for the last 3 years. He has worked on several Sitecore CMS projects in both single-site and multi-site scenarios, and truly enjoys how extensible it is. He has a passion for problem solving and using technology to create engaging websites and applications. Bhavik is a Sitecore Technology MVP, 2015 and 2016.

Explore topics:

Other Blog Posts from Bhavik Patel