The SDEs are session based, hence, there is no need to report the SDEs on each page anew but only once per session. It is highly recommended to report the SDEs at the beginning of the session (as soon as the info exists, report on it). In case there is any additional information about the user during the session, you may send the same SDEs again in order to enrich the existing data with the new information.

Sending an SDE multiple times during a session

Consider the following implementation on a customer page:

Page property1 Value property2 Value property3 Value
Page A a1 a2 [Not supplied]
Page B b1 [Not supplied] b3

A visitor has been to page A, then moved to page B. How will the Engagement attributes be updated? The behavior depends on the Engagement Attribute (EA) type.

Behavior Behavior description Engagement attributes Example Output
Update Properties Updates existing info, maintaining previous values of attributes that were not supplied in latest update Personal Info (personal)
Customer Info (ctmrinfo)
Marketing Info (mrktInfo)
Customer Info:
property1: b1
property2: a2
property3: b3
Append New Item Appends new item each time EA is sent Viewed Product (prodView)
Visitor Error (error)
Transaction (purchase)
Searched Content
Service Activity (service)
Product 1:
property1: a1
property2: a2
Product 2:
property1: b1
property3: b3
Replace Item Updates existing info, does not maintain previous values of attributes that were not supplied in latest update Cart update Cart:
property1: b1
property3: b3

Note on Update Properties: During chat, the UI will show the aggregation of the SDE as shown in the Example Output column. When retrieved when the chat is "historical", after the chat has been closed, only the last version of the SDE will be shown. When requesting SDEs via Engagement History API, all updates for the SDE will be retrieved with a timestamp.