VisitorIdentification 控件的目的是什么? [英] What is the purpose of the VisitorIdentification control?
问题描述
我的 Sitecore starterkit 网站在每个布局的头部包含以下控件.有人可以解释它的目的是什么以及是否需要它?我在 Sitecore SDN 上找不到关于它的任何信息...
My Sitecore starterkit website contains the following control in the head of each layout. Can someone explain what it's purpose is and whether or not it's needed? I could not find any information on it on the Sitecore SDN...
<sc:VisitorIdentification id="VisitorIdentification" runat="server" />
控件的输出:
<link href="/layouts/System/VisitorIdentification.aspx" rel="stylesheet" type="text/css" />
样式表的内容:
.sc_visitor {
}
推荐答案
参见 Analytics配置参考,第 4.1.5 段VisitorIdentification Web 控件".
See Analytics Configuration reference, paragraph 4.1.5 "The VisitorIdentification Web control".
以防万一关于链接变得过时:
Just in case the link about becomes obsolete:
VisitorIdentification Web 控件可帮助 Sitecore 分析引擎识别机器人.这VisitorIdentification
Web 控件生成引用空 CSS 的 HTML 元素资源.Sitecore 分析引擎使用此请求来帮助区分机器人与实际用户.
The VisitorIdentification Web control helps the Sitecore analytics engine identify robots. The
VisitorIdentification
Web control generates an HTML <link>
element that references an empty CSS
resource. The Sitecore analytics engine uses this request to help differentiate robots from actual users.
有关自动机器人检测的更多信息,请参阅自动机器人检测部分.
For more information about automatic robot detection, see the section Automatic Robot Detection.
重要
为了协助分析引擎识别机器人,请在所有的网页控件中包含 VisitorIdentification
你的布局.例如:
To assist the analytics engine in robot identification, include the VisitorIdentification
Web control in all of
your layouts. For example:
<sc:VisitorIdentification runat="server" />
这篇关于VisitorIdentification 控件的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!