Tracker.Current.Interaction.Referrer is empty

When I click on the link that links to my Sitecore site, I expect it to Tracker.Current.Interaction.Referrerbe populated. However, it is not. I know that there is a scenario in which you do not get Referrer: https://stackoverflow.com/a/166778/

The strange thing, however, is that it HttpContext.Current.Request.UrlReferrer.Hostcontains a link in my case. So why doesn't Sitecore Tracker know about this? And more importantly, how do I understand this?

+4
source share
1 answer

It turns out that Tracker.Current.Interactionnot reset if you came from another referrer. It is saved in the session. It sets only Tracker.Current.Interaction.ReferrerifTracker.Current.Interaction == null

, , Tracker.Current.Interaction.Referrer, .

0

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


All Articles