Send a CONFIRM event to Sitecore CDP
Provides the required attributes and a JSON example of how to send a CONFIRM
event to Sitecore CDP (Data model 2.0)
The CONFIRM
event captures the confirmation of purchased products. It is a vector of the products that are confirmed to be in the cart before the payment is made.
To send a CONFIRM
event to Sitecore CDP, use the following attributes:
Attribute | Description | Type | Example(s) | Required/optional |
---|---|---|---|---|
| The channel captured on each page the guest visited. | string (uppercase) |
| Required |
| The type of event. | string (uppercase) |
| Required |
| The language captured on each page the Guest visited. | string (2 letter ISO 639 language code) |
| Required |
| The type of currency. | string (3 letter ISO 4217) |
| Required |
| The name of the webpage the guest visited. | string |
| Required |
| The point of sale (storefront) captured on each page the guest visited. | string (predefined by the client) |
| Required |
| The ID of a browser generated by Sitecore CDP. | string (UUID) |
| Required |
| A JSON array containing a list of
| JSON array |
| Required |
| The item ID of the product to be confirmed as purchased. | string |
| Required |
The following JSON example demonstrates how to send a CONFIRM
event:
{ "channel": "WEB", "type": "CONFIRM", "language": "EN", "currency": "EUR", "page": "home page", "pos": "spinair.com", "browser_id": "56860bff-94ba-4d84-aa37-2b5a83d5411b", "product": [{ "item_id": "FLIGHT_1" }, { "item_id": "FLIGHT_2" }, { "item_id": "BAG_1" }, { "item_id": "SEAT_1" }] }