Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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

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.