We recently upgraded our project to Sitecore9 initial release from 7.2. We were re-compiling our code including latest Sitecore.Analytics.dll

We are getting this error

if (Tracker.IsActive) { Tracker.Visitor.ExternalUser = domainUser.ToLower(); }

Method not found: 'Sitecore.Analytics.Data.DataAccess.Visitor Sitecore.Analytics.Tracker.get_Visitor()'.

Can someone help me in resolving this?

1 Answer 1


It looks like you're trying to identify the contact. The code should be changed as per the documentation for Sitecore 9.0.x

Just an example, but it might look something like this

if (Tracker.Enabled && Tracker.Current != null && Tracker.Current.IsActive) { 
    Tracker.Current.Session.IdentifyAs("sitecoreextranet", domainUser.ToLower()); 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.