Interaction Properties

Format in Sitecore 8.x

In Sitecore 8.x, information about an interaction is stored directly on the interaction document.

The following is an example an interaction document:

    "_id" : NUUID("e6e71462-a5a6-4348-b4b5-22d4763462d1"),
    "_t" : "VisitData",
    "ContactId" : NUUID("d18a31d2-2144-4cfb-b460-c24b68e236fb"),
    "StartDateTime" : ISODate("2018-01-01T10:00:00.000Z"),
    "EndDateTime" : ISODate("2018-01-01T10:10:00.000Z"),
    "ChannelId" : NUUID("61634ec6-57ed-44e1-9cb4-5f43abd1d5fd"),
    "CampaignId" : NUUID("484e735f-371a-40cc-87fa-8f6d047dcf80"),
    "EngagementValue" : 1,
    "DeviceId" : NUUID("d9990609-6943-4a57-b2c2-400e0f3beded"),
    "UserAgent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",

Format in Sitecore 9

In Sitecore 9, interaction data is stored directly on the interaction:


Mapping Details

Mapping definition MongoDB to xConnect Interaction Mappings > MongoDB Interaction to Interaction Model
Value to write to target object Property on target object
CampaignId from source object CampaignId
ChannelId from source object ChannelId
DeviceId from source object DeviceProfile
EndDateTime from source object EndDateTime
EngagementValue from source object EngagementValue
StartDateTime from source object StartDateTime
UserAgent from source object UserAgent