Skip to main content
1 of 2
Cristi Vulturar
  • 2.3k
  • 2
  • 7
  • 28

You don't need to explicitly convert Sitecore.Tracking.Analytics.Contact to XConnect.Contact as this is done on session end through the conversion pipelines described here https://doc.sitecore.com/developers/93/sitecore-experience-platform/en/conversion-pipelines.html.

XConnect.Contact is used to save/load contact data to xConnect as shown on the diagram https://doc.sitecore.com/developers/93/sitecore-experience-platform/en/tracking-and-xconnect.html.

The Sitecore Tracker uses Sitecore.Analytics.Tracking.Contact to track and identify contacts and their interactions during their visit to the CD instance, it does not use the xConnect model. You should use this model if you wish to modify the contact values in session before being saved into xDB.

Cristi Vulturar
  • 2.3k
  • 2
  • 7
  • 28