Skip to main content
Fires when a visitor removes an item from their cart. This helps identify cart friction points and understand why shoppers don’t complete purchases.
Shopify: Automatically tracked when items are removed from cart.

JavaScript

window._upstack('track', 'product_removed_from_cart', {
  items: [
    {
      id: 'SKU_12345',
      name: 'Classic Cotton Tee',
      price: 34.99,
      quantity: 1
    }
  ],
  value: 34.99,
  currency: 'USD'
});

Properties

PropertyTypeRequiredDescription
itemsarrayYesProducts removed (see Item Object)
valuenumberNoValue of removed items
currencystringNoISO 4217 currency code

When to Fire

  • Remove button click
  • Quantity decrease to zero
  • Clear cart action