Add events to the XDM | Community
Skip to main content
May 27, 2022
Solved

Add events to the XDM

  • May 27, 2022
  • 1 reply
  • 765 views
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. 
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by gchung

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.

1 reply

gchungAdobe EmployeeAccepted solution
Adobe Employee
June 1, 2022

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.