Checkout Started Event
To report an event when a customer begins the checkout process.
Function Interface
events.checkoutStarted(checkoutStarted:CheckoutStartedEventParameter)
CheckoutStartedEventParameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| currency | string | ✔ | The store currency, following the ISO 4217 standard. |
| totalAmount | string | ✔ | The total value of the viewed products. |
| items | Item[] | ✔ | The items that are in the cart during the checkout. Refer to the Item resource page for details. |
Example
preparing...