Cart Checkout Completed
Cart Checkout Completed Event
This document describes the Out-Of-The-Box (OOTB) Cart Checkout Completed event schema. This event should be sent when a user successfully completes the checkout process with the items in their cart. It's crucial for tracking conversions and can be used to end cart abandonment sequences.
Event Key
| Event Key | Event Name | Type |
|---|---|---|
ootb_cart_checkout_completed | OOTB Cart Checkout Completed | Simple event |
Event Structure
The mandatory properties (tenant, timestamp, event, and customer) are required for all events and documented in detail on the Mandatory Properties page.
Below is the JSON structure for the context-specific properties of the OOTB Cart Checkout Completed event.
{
"context": {
"ootb_session_id": "248rhdbuw2her1",
"ootb_cart_id": "C-20244030X",
"ootb_item_count": 7,
"ootb_total_cart_value": 328.93,
"ootb_currency": "USD",
"ootb_item_name_0": "Wireless Mouse",
"ootb_item_image_0": "[https://example.com/images/wireless_mouse.jpg](https://example.com/images/wireless_mouse.jpg)",
"ootb_item_quantity_0": 1,
"ootb_item_link_0": "[https://example.com/product/wireless-mouse](https://example.com/product/wireless-mouse)",
"ootb_item_name_1": "Gaming Keyboard",
"ootb_item_image_1": "[https://example.com/images/gaming_keyboard.jpg](https://example.com/images/gaming_keyboard.jpg)",
"ootb_item_quantity_1": 1,
"ootb_item_link_1": "[https://example.com/product/gaming-keyboard](https://example.com/product/gaming-keyboard)",
"ootb_item_name_2": "USB-C Charging Cable",
"ootb_item_image_2": "[https://example.com/images/usb_c_cable.jpg](https://example.com/images/usb_c_cable.jpg)",
"ootb_item_quantity_2": 2,
"ootb_item_link_2": "[https://example.com/product/usb-c-cable](https://example.com/product/usb-c-cable)"
}
}
Parameters
Mandatory fields are marked with an asterisk (*).
| Parameter Key | Parameter Name | Type | Description |
|---|---|---|---|
ootb_session_id | OOTB Session ID | String | Identifier for the user’s browser or app session. |
ootb_cart_id* | OOTB Cart ID* | String | Unique identifier for the cart instance. |
ootb_item_count* | OOTB Item Count* | Number | Total number of distinct items in the cart. |
ootb_total_cart_value* | OOTB Total Cart Value* | Number | Aggregate cart value at checkout time. |
ootb_currency* | OOTB Currency* | String | ISO currency code (e.g., "USD"). |
ootb_item_name_0* | OOTB Item Name 0* | String | Name of the item at index 0. |
ootb_item_image_0* | OOTB Item Image 0* | String | Image URL for the item at index 0. |
ootb_item_quantity_0* | OOTB Item Quantity 0* | Number | Quantity of the item at index 0. |
ootb_item_link_0* | OOTB Item Link 0* | String | Link to the product detail page for the item at index 0. |
ootb_item_name_1* | OOTB Item Name 1* | String | Name of the item at index 1. |
ootb_item_image_1* | OOTB Item Image 1* | String | Image URL for the item at index 1. |
ootb_item_quantity_1* | OOTB Item Quantity 1* | Number | Quantity of the item at index 1. |
ootb_item_link_1* | OOTB Item Link 1* | String | Link to the product detail page for the item at index 1. |
ootb_item_name_2* | OOTB Item Name 2* | String | Name of the item at index 2. |
ootb_item_image_2* | OOTB Item Image 2* | String | Image URL for the item at index 2. |
ootb_item_quantity_2* | OOTB Item Quantity 2* | Number | Quantity of the item at index 2. |
ootb_item_link_2* | OOTB Item Link 2* | String | Link to the product detail page for the item at index 2. |
ootb_item_name_3* | OOTB Item Name 3* | String | Name of the item at index 3. |
ootb_item_image_3* | OOTB Item Image 3* | String | Image URL for the item at index 3. |
ootb_item_quantity_3* | OOTB Item Quantity 3* | Number | Quantity of the item at index 3. |
ootb_item_link_3* | OOTB Item Link 3* | String | Link to the product detail page for the item at index 3. |
ootb_item_name_4* | OOTB Item Name 4* | String | Name of the item at index 4. |
ootb_item_image_4* | OOTB Item Image 4* | String | Image URL for the item at index 4. |
ootb_item_quantity_4* | OOTB Item Quantity 4* | Number | Quantity of the item at index 4. |
ootb_item_link_4* | OOTB Item Link 4* | String | Link to the product detail page for the item at index 4. |
ootb_item_name_5* | OOTB Item Name 5* | String | Name of the item at index 5. |
ootb_item_image_5* | OOTB Item Image 5* | String | Image URL for the item at index 5. |
ootb_item_quantity_5* | OOTB Item Quantity 5* | Number | Quantity of the item at index 5. |
ootb_item_link_5* | OOTB Item Link 5* | String | Link to the product detail page for the item at index 5. |
ootb_item_name_6* | OOTB Item Name 6* | String | Name of the item at index 6. |
ootb_item_image_6* | OOTB Item Image 6* | String | Image URL for the item at index 6. |
ootb_item_quantity_6* | OOTB Item Quantity 6* | Number | Quantity of the item at index 6. |
ootb_item_link_6* | OOTB Item Link 6* | String | Link to the product detail page for the item at index 6. |
Explanation
- event: Set to
ootb_cart_checkout_completedto signify that a user has successfully purchased the items in their cart. - context:
- This event captures a snapshot of the entire cart at the moment of conversion.
ootb_cart_idandootb_session_idlink the conversion to the user's journey.- The indexed item parameters (
ootb_item_name_0throughootb_item_link_6) allow for the capture of up to seven distinct items from the cart, providing rich data for post-purchase analysis and communication.
Updated about 1 month ago
