Skip to main content

Event information

Each event is fired per-tab when something happens in the SDK. In detail:
  • COUPON_PAGE_READY - fired when the tab navigates to a page where the SDK can run CAA.
  • COUPON_SESSION_STARTED - fired when the SDK begins automatically applying coupons on a tab.
  • COUPON_SESSION_RESUMED - fired when a tab reloads and CAA continues. Site specific, but stores like Bed Bath & Beyond reload the tab when a coupon is input. This event is fired since the UI and the couponing process continues on the tab after reload.
  • COUPON_SESSION_UPDATED - fired when the entire “session” of CAA has updated. I.e. a new coupon is being tested, or a previously tested coupon’s result is available. This provides incremental updates throughout the session lifecycle.
  • COUPON_SESSION_COMPLETED - fired when the entire “session” of CAA has completed. I.e. the entire set of coupons for a site are finished inputting.
  • USER_GENERATED_CODE - fired when the user inputs a coupon code into the tab manually after CAA has been completed.
  • PAGE_CLASSIFIED - fired when the SDK has classified the page automatically.
  • ORDER_EXTRACTED - fired when the SDK has extracted an order automatically.