Skip to main content

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

PropertyTypeDescription
category?string(Optional) The category of the product
currency?string(Optional) The currency of the product
name?string(Optional) The name of the product
quantitynumberThe number added to the cart
skustringA Product Stock Keeping Unit (SKU)
unitPrice?number(Optional) The price of the product