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.