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 KeyEvent NameType
ootb_cart_checkout_completedOOTB Cart Checkout CompletedSimple 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 KeyParameter NameTypeDescription
ootb_session_idOOTB Session IDStringIdentifier for the user’s browser or app session.
ootb_cart_id*OOTB Cart ID*StringUnique identifier for the cart instance.
ootb_item_count*OOTB Item Count*NumberTotal number of distinct items in the cart.
ootb_total_cart_value*OOTB Total Cart Value*NumberAggregate cart value at checkout time.
ootb_currency*OOTB Currency*StringISO currency code (e.g., "USD").
ootb_item_name_0*OOTB Item Name 0*StringName of the item at index 0.
ootb_item_image_0*OOTB Item Image 0*StringImage URL for the item at index 0.
ootb_item_quantity_0*OOTB Item Quantity 0*NumberQuantity of the item at index 0.
ootb_item_link_0*OOTB Item Link 0*StringLink to the product detail page for the item at index 0.
ootb_item_name_1*OOTB Item Name 1*StringName of the item at index 1.
ootb_item_image_1*OOTB Item Image 1*StringImage URL for the item at index 1.
ootb_item_quantity_1*OOTB Item Quantity 1*NumberQuantity of the item at index 1.
ootb_item_link_1*OOTB Item Link 1*StringLink to the product detail page for the item at index 1.
ootb_item_name_2*OOTB Item Name 2*StringName of the item at index 2.
ootb_item_image_2*OOTB Item Image 2*StringImage URL for the item at index 2.
ootb_item_quantity_2*OOTB Item Quantity 2*NumberQuantity of the item at index 2.
ootb_item_link_2*OOTB Item Link 2*StringLink to the product detail page for the item at index 2.
ootb_item_name_3*OOTB Item Name 3*StringName of the item at index 3.
ootb_item_image_3*OOTB Item Image 3*StringImage URL for the item at index 3.
ootb_item_quantity_3*OOTB Item Quantity 3*NumberQuantity of the item at index 3.
ootb_item_link_3*OOTB Item Link 3*StringLink to the product detail page for the item at index 3.
ootb_item_name_4*OOTB Item Name 4*StringName of the item at index 4.
ootb_item_image_4*OOTB Item Image 4*StringImage URL for the item at index 4.
ootb_item_quantity_4*OOTB Item Quantity 4*NumberQuantity of the item at index 4.
ootb_item_link_4*OOTB Item Link 4*StringLink to the product detail page for the item at index 4.
ootb_item_name_5*OOTB Item Name 5*StringName of the item at index 5.
ootb_item_image_5*OOTB Item Image 5*StringImage URL for the item at index 5.
ootb_item_quantity_5*OOTB Item Quantity 5*NumberQuantity of the item at index 5.
ootb_item_link_5*OOTB Item Link 5*StringLink to the product detail page for the item at index 5.
ootb_item_name_6*OOTB Item Name 6*StringName of the item at index 6.
ootb_item_image_6*OOTB Item Image 6*StringImage URL for the item at index 6.
ootb_item_quantity_6*OOTB Item Quantity 6*NumberQuantity of the item at index 6.
ootb_item_link_6*OOTB Item Link 6*StringLink to the product detail page for the item at index 6.

Explanation

  • event: Set to ootb_cart_checkout_completed to 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_id and ootb_session_id link the conversion to the user's journey.
    • The indexed item parameters (ootb_item_name_0 through ootb_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.