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

Product Removed from Cart

Definition#

A product_removed_from_cart event is recorded when a visitor removes a product or multiple products from their shopping cart on your website.

Usage#

This event is commonly used on e-commerce websites to track product removals from the shopping cart. When a visitor clicks the "Remove" or "Delete" button associated with a product in their cart, the product_removed_from_cart event is triggered.

Common schema#

The event is accompanied by a detail object containing information about the removed product(s). The detail object must include the following properties:
detail.currencyrequired
The currency in which the product's price is expressed (e.g., EUR).
detail.valuerequired
The total value of the removed product(s), usually calculated as the current price multiplied by quantity. (Use a dot as the decimal separator).
detail.productsrequired
An array containing details of the removed product(s). Each product detail is an object following 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

Example#

Modified at 2025-05-29 10:44:31
Previous
Product Added to Wishlist
Next
Cart Viewed
Built with