Expand my Community achievements bar.

SOLVED

Add events to the XDM

Avatar

Level 1
Can someone please guide me on how I can add events to the XDM in Web SDK? 
So far we have added props and evars, but haven't figured out how to add events like addToBag or productClick. 
 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

It will depend if the data collection is for AEP or Adobe Analytics.

 

For AEP as compared with Adobe Analytics, where events would be assigned based on event1,event2,etc

You would have to create a schema to capture the event as a string value or a measure data type where the value is 1 or 0.

A good starting point is to review the out of the box Field Groups otherwise you can always create your Schemas from scratch.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

It will depend if the data collection is for AEP or Adobe Analytics.

 

For AEP as compared with Adobe Analytics, where events would be assigned based on event1,event2,etc

You would have to create a schema to capture the event as a string value or a measure data type where the value is 1 or 0.

A good starting point is to review the out of the box Field Groups otherwise you can always create your Schemas from scratch.