Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 683 Bytes

File metadata and controls

26 lines (15 loc) · 683 Bytes

Home > @snowplow/node-tracker > buildAddToCart

buildAddToCart() function

Build a Add To Cart Event For tracking users adding items from a cart on an ecommerce site.

Signature:

declare function buildAddToCart(event: AddToCartEvent): PayloadBuilder;

Parameters

Parameter Type Description
event AddToCartEvent Contains the properties for the Add To Cart event

Returns:

PayloadBuilder

PayloadBuilder to be sent to