node-tracker.addtocartevent
Home > @snowplow/node-tracker > AddToCartEvent
AddToCartEvent interface
An Add To Cart Event For tracking users adding items from a cart on an ecommerce site.
Signature:interface AddToCartEvent
Properties
Property | Type | Description |
---|---|---|
category? | string | (Optional) The category of the product |
currency? | string | (Optional) The currency of the product |
name? | string | (Optional) The name of the product |
quantity | number | The number added to the cart |
sku | string | A Product Stock Keeping Unit (SKU) |
unitPrice? | number | (Optional) The price of the product |