Engagement measures

The engagement measures facet is a calculated facet that stores information about a contact’s interaction duration and total engagement value. The engagement measures facet is represented by the Sitecore.XConnect.Collection.Model.EngagementMeasures class.

Calculation logic

The following table describes the calculation logic applied to each property when a new interaction is saved to xConnect:

Property

Calculation logic

TotalInteractionCount

Incremented by one.

TotalValue

Incremented by the new interaction’s EngagementValue

MostRecentInteractionStartDateTime

Replaced by the new interaction’s StartDateTime

MostRecentInteractionDuration

Replaced by the new interaction’s Duration

TotalInteractionDuration

Incremented by the new interaction’s Duration

AverageInteractionDuration

Represents TotalInteractionDuration / TotalInteractionCount