eventType
The eventType property allows you to define the type of event you send using the Web SDK. This field ultimately populates the xdm.eventType field. It is valuable when you want to differentiate the event types that you send to Adobe.
Adobe provides some predefined event types that you can use. See Available values for eventType in the XDM user guide for a full list of predefined values. You can also use your own values if preferred.
If you set both type here and xdm.eventType in the xdm object, the value in this field takes priority.
Set the eventType string property when running the sendEvent command.
alloy("sendEvent", {
"xdm": adobeDataLayer.getState(reference),
"type": "commerce.purchases"
});
Event type using the Web SDK tag extension
The Web SDK tag extension equivalent of this property is the Type drop-down menu when configuring a ‘Send event’ action.
recommendation-more-help
1ae86b30-e55e-49c1-ab11-9d0356a5f3e1