Sitecore 8 MVC需要@ Html.Sitecore()。VisitorIdentification()吗?

时间:2022-08-31 23:34:58

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

在Sitecore 8 MVC布局/视图中是否仍需要对VistorIndentification()进行以下调用?

@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.

即使没有它,页面访问似乎也会在Tracker.Current.Contact.System.VisitCount和Experience Profile信息中进行跟踪。

What feature or tracking ability is dependant on this?

什么功能或跟踪能力取决于此?

1 个解决方案

#1


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:

我不认为没有它你的网站会破坏,但我强烈建议添加它以获得完整的xDB支持。没有它,我相信你的所有流量都可能被视为“机器人”而不会被跟踪。一些使用访客标识引用的文章:

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/

#1


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:

我不认为没有它你的网站会破坏,但我强烈建议添加它以获得完整的xDB支持。没有它,我相信你的所有流量都可能被视为“机器人”而不会被跟踪。一些使用访客标识引用的文章:

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/