PAYMENT event
The event data object for a PAYMENT event must include all the required attributes for event data objects plus the following attribute:
Attribute |
Type |
Description |
Example |
---|---|---|---|
|
string |
The payment method associated with a checkout. |
|
After you create this event data object, you can optionally extend this event using the extension data object. Then, you can send the event using the Engage.event()
function.
RequestResponse
const eventData = {
channel: "WEB",
currency: "EUR",
pointOfSale: "myretailsite/ireland",
language: "EN",
page: "home",
paymentType: "voucher"
}