Add analytics

Out of date

Your Web Checkout implementation provides you with CheckoutAnalyticsMiddleware.

This middleware tracks the following:

  • checkoutUrlChange: This event is triggered every time the website loads a different URL.
  • orderSuccessful: This event is triggered as soon as the JavaScript bridge event PaymentCompleted is received.
  • webCheckoutApplePay: When you have Apple Pay enabled, this event is triggered when your payment website triggers the applePay event and the paymentcompleted event.