node-tracker.buildremovefromcart
Home > @snowplow/node-tracker > buildRemoveFromCart
buildRemoveFromCart() function
Build a Remove From Cart Event For tracking users removing items from a cart on an ecommerce site.
Signature:declare function buildRemoveFromCart(event: RemoveFromCartEvent): PayloadBuilder;
Parameters
Parameter | Type | Description |
---|---|---|
event | RemoveFromCartEvent | Contains the properties for the Remove From Cart event |
PayloadBuilder
PayloadBuilder to be sent to