1. Calculated facets

Engagement measures

Version:

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:

PropertyCalculation logic
TotalInteractionCountIncremented by one.
TotalValueIncremented by the new interaction’s EngagementValue
MostRecentInteractionStartDateTimeReplaced by the new interaction’s StartDateTime
MostRecentInteractionDurationReplaced by the new interaction’s Duration
TotalInteractionDurationIncremented by the new interaction’s Duration
AverageInteractionDurationRepresents TotalInteractionDuration / TotalInteractionCount
If you have suggestions for improving this article, let us know!