Shopping Cart

Cart and Order Events

Trait Name Description
productAdded visitor adds a product to the cart.
productRemoved a product is removed from the cart.
cartViewed the cart is viewed.
cartUpdated Triggered when quantity or content of the cart changes.
cartCleared Triggered when the cart is cleared
checkoutStarted checkout process begins (first step of checkout).
checkoutStep Triggered when the visitor proceeds to a specific step in checkout.
orderCompleted a purchase is successfully completed.
orderCanceled order is canceled after being placed.

productAdded

Fire this event when a visitor adds a product to their shopping cart.

Example:

ppopAPI.sendTraits('productAdded', {  product_id: '2345445',  sku: '345-2',  category: ['summer', "woman", "dress"],  name: 'Blue dress with flowers',  brand: ["designMe"],  variant: ["blue", "flowers"],  size: "S",  price: 190,  quantity: 1,  currency: "USD",  position: 1,  url: 'https://www.example.com/product/path',  image_url: 'https://www.example.com/product/path.jpg',  customP: ['myPar1', 'myPar2'] }); 

productRemoved

remove product from the shopping cart


Continue Learning:

Explore how Powerpop tracks wishlist interactions in the next guide — Wishlist Events.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.