Cart Viewed Event

To report an event when a customer views their shopping cart.

Function Interface

events.cartViewed(eventParameter:CartViewedEventParameter)

CartViewedEventParameter

ParameterTypeRequiredDescription
currencystringThe store currency, following the ISO 4217 standard.
totalAmountstringThe total value of the viewed products.
itemsItem[]The items in the cart. Refer to the Item resource page for details.

Example

preparing...