Skip to main content

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

ParameterTypeDescription
eventRemoveFromCartEventContains the properties for the Remove From Cart event
Returns:

PayloadBuilder

PayloadBuilder to be sent to