Knowledge Base
HomeMain site
HomeMain site
General SetupWebsite Snippets
API Endpoints
General SetupWebsite Snippets
API Endpoints
  1. Ecommerce Events
  • Customer Data
  • Ecommerce Events
    • Product Viewed
    • Product Added to Cart
    • Product Added to Wishlist
    • Product Removed from Cart
    • Cart Viewed
    • Checkout Started
    • Billing Address Added
    • Shipping Details Added
    • Payment Method Selected
    • Checkout Completed
  • Lead Generation Events
    • Lead Create
  1. Ecommerce Events

Checkout Completed

Definition#

A checkout_completed event is recorded when a visitor completes a purchase on an e-commerce website, indicating a successful transaction.

Usage#

This event is commonly used in e-commerce tracking setups to monitor completed transactions. When a user completes the checkout process and makes a purchase, a checkout_completed event is triggered.

Common schema#

The event is accompanied by an detail object containing information about the checkout products(s).
The detail object must include the following properties:
detail.unique_idrequired
The unique identifier of a transaction.
detail.currencyrequired
The currency in which the checkout value is expressed (e.g., EUR).
detail.valuerequired
The total value of the event usually represents the order value. (Use dot as decimal separator).
detail.tax_valuerequired
Tax cost associated with a transaction.
detail.productsrequired
An array containing details of the products in the checkout process. Each product detail is an object with a standard structure.
Expand product object common schema
product
Product or service details
id
string 
required
Product ID
sku
string 
optional
Product SKU
name
string 
required
Product name
type
enum<string> 
required
Specifies the product type. This helps differentiate how the product behaves in the e-commerce system (e.g., whether it can be delivered, has variants, or is a bundle of items).
Allowed values:
simplevariablevirtualbundlesubscriptionexternal
Default:
simple
variants
array[object (variant) {17}] 
required
Product variants
>= 1 items<= 20 items
id
string 
required
Variant ID
sku
string 
optional
Variant SKU
gtin
string 
optional
Variant Global Trade Item Number
mpn
string 
optional
Variant Manufacturer Part Number
ean
string 
optional
Variant European Article Number
name
string 
required
The name of the variant.
Match pattern:
^[\w\d\s\-]+$
price_base
number 
required
Base/original price of product variant
>= 0
Multiple of:
0.01
price
number 
required
Current price of product variant
>= 0
Multiple of:
0.01
tax_included
boolean 
required
Prices include tax
Default:
true
tax_percent
integer 
required
Tax percent
>= 0<= 100
Multiple of:
1
quantity
integer 
required
Variant quantity.
>= 1
Default:
1
Example:
1
Multiple of:
1
properties
array[object (property) {2}]  | null 
optional
Additional properties that provide more details about the product or its options, such as size, color, material, or configuration.
stock_status
string 
optional
Stock status of variant
>= 1 characters
Examples:
truefalsein stockout of stock
Match pattern:
^[\w\d\s\-]+$
stock_location
string 
optional
Stock location of variant
added_at
integer 
optional
Product variant added timestamp in milliseconds
Example:
1748505040077
url
string <uri>
optional
Example:
https://www.example.com/product-variant-page
images
array[string <uri>]
required
brand
string 
required
Product Brand/Manufacturer
categories
array [object {2}] 
optional
An ordered array of categories representing the taxonomy or hierarchy the product belongs to. The first item must be the top-level category, followed by subcategories in order.
name
string 
required
Category Name
Examples:
FIRST_CATEGORYSECOND_CATEGORY
id
optional
Category ID
url
string <uri>
optional
Product url
Example:
https://www.example.com/product-page
image
string <uri>
optional
Product main image url
Example:
"http://example.com/images/product-main-image.jpg",
coupons
array[object (coupon) {7}] 
optional
Coupon objects scoped to a specific product, applied exclusively to that product.
name
string 
required
Coupon name
Example:
PRODUCT_COUPON_NAME
value
number 
required
Coupon value
>= 0
Example:
10.99
Multiple of:
0.01
currency
string 
required
Currency in 3-letter ISO 4217 format.
Example:
EUR
Match pattern:
^[A-Z]{3}$
tax_percent
string 
required
Tax percent applied to the coupon value
tax_included
boolean 
required
If the coupon value includes taxes
id
optional
Coupon ID
type
string 
required
detail.shippingrequired
The shipping details (e.g. Ground, Air, Next-day) selected for delivery of the purchased item.
Expand shipping object common schema
delivery
name
string 
required
Delivery or shipping name
Example:
PRODUCT_COUPON_NAME
value
number 
required
Delivery/shipping cost
>= 0
Example:
10.99
Multiple of:
0.01
currency
string 
required
Currency in 3-letter ISO 4217 format.
Example:
EUR
Match pattern:
^[A-Z]{3}$
tax_percent
string 
required
Tax percent applied to this delivery/shipping value
tax_included
boolean 
required
If the delivery/shipping value includes taxes
id
optional
Delivery or shipping internal ID
Any of
> 0
Multiple of:
1
type
string 
required
The delivery method type. Examples include standard, express, store_pickup, or digital.
Examples:
standardexpressdigital
detail.paymentsrequired
The payment details selected.
Expand payment object common schema
payment
name
string 
required
Payment name
Example:
PRODUCT_COUPON_NAME
value
number 
required
Total amount paid using this payment method
>= 0
Example:
10.99
Multiple of:
0.01
currency
string 
required
Currency in 3-letter ISO 4217 format.
Example:
EUR
Match pattern:
^[A-Z]{3}$
id
optional
Payment ID
Any of
type
string 
required
Type of payment
detail.couponsoptional
An array containing details of the coupons associated with the event.
Expand coupon object common schema
coupon
name
string 
required
Coupon name
Example:
PRODUCT_COUPON_NAME
value
number 
required
Coupon value
>= 0
Example:
10.99
Multiple of:
0.01
currency
string 
required
Currency in 3-letter ISO 4217 format.
Example:
EUR
Match pattern:
^[A-Z]{3}$
tax_percent
string 
required
Tax percent applied to the coupon value
tax_included
boolean 
required
If the coupon value includes taxes
id
optional
Coupon ID
Any of
type
string 
required

Example#

Modified at 2025-05-29 10:45:40
Previous
Payment Method Selected
Next
Lead Generation Events
Built with