Sitecore Analytics informs anonymous users and group members

I'm trying to set up a report in Sitecore Analytics that will report the number of visitors separated by members / non-members. I looked at the Visitor and Visites tables, but as far as I can see, it says nothing about whether he was an anonymous user or not. Do I need to set up a visitor profile to get what I want, or is there an easier way?

+4
source share
1 answer

DMS has a field for this, Visitors .ExternalUser, but you need to write code to populate it. Include this code in your login handler:

if (Tracker.IsActive) { Tracker.Visitor.ExternalUser = Sitecore.Context.User.DisplayName.ToLower(); } 

Then you can compare the number of visitors with this field, filled with the total number of visitors.

+5
source

Source: https://habr.com/ru/post/1444236/


All Articles