Sitecore Analytics

2019-08-10 23:03发布

问题:

I am on 7.2 version and found that Sitecore.Analytics.Tracker.IsActive is false and Sitecore.Analytics.Tracker.Visitor.VisitorClassification is 0

Imp point to note here is that my Analytics is working for all admin pages but not for custom pages of my site

Can some one please provide some suggestions

Cheers LA

回答1:

Your pages should have a VisitorIdentification tag, so that Sitecore will be able to collect tracking information. Please make sure you have got a correct tracking tag being set up on your custom page layouts.Below are examples for WebForms and MVC versions of Sitecore(correspondingly).

WebForms:

<sc:VisitorIdentification runat="server" />

MVC:

@Html.Sitecore().VisitorIdentification()

More information (links):

http://www.letsdositecore.com/scvisitoridentification/ https://learningwiththecurve.wordpress.com/tag/analytics/

Hope that helps!

Update: Please also read a note (How to ensure that your analytic are turned on Sitecore) by this link https://goo.gl/n53XsO to see how it works