Shopify: Automatically tracked when the cart page or cart drawer is viewed.
JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| items | array | Yes | Products in cart (see Item Object) |
| value | number | No | Total cart value |
| currency | string | No | ISO 4217 currency code |
When to Fire
- Cart page load
- Cart drawer/sidebar open
- Mini-cart expansion
Related Events
- add_to_cart — When adding items to cart
- product_removed_from_cart — When removing items
- initiate_checkout — When starting checkout