Is @Html.Sitecore().VisitorIdentification() required with Sitecore 8 MVC?

Paul George picture Paul George · May 8, 2015 · Viewed 7.6k times · Source

Is the following call to VistorIndentification() still required within Sitecore 8 MVC layouts / views?

@using Sitecore.Mvc.Analytics.Extensions
@Html.Sitecore().VisitorIdentification()

Even without it, page visits appeared to be tracked in Tracker.Current.Contact.System.VisitCount and within the Experience Profile information.

What feature or tracking ability is dependant on this?

Answer

Jay S picture Jay S · May 9, 2015

I don't think your site will break without it, but I would highly recommend adding it in for full xDB support. Without it, I believe all your traffic may be treated as a 'robot' and will not get tracked. A few articles referencing using the visitor identification:

http://www.daveleigh.co.uk/sitecore-7-5-mvc-enabling-analytics-xdb/ http://www.daveleigh.co.uk/sitecore-xdb-and-setting-up-mongo-replica-sets/