Skip to main content
This section summarizes the events exposed by the Client SDK library.
When using the Global-e Module platform, make sure to incorporate the following line prior to registering for the events detailed in this section. Note that the correct queue name for event registration is “glegem” (and not “gle”).
OnBeforeWelcome
This event occurs before the Welcome pop-up is displayed.
OnWelcomeShown
The OnWelcomeShown event is fired when the welcome pop-up is shown to the customer.
See ???.
OnChangeShippingCountryClicked
The OnChangeShippingCountryClicked event is fired when the “change shipping country” link on the welcome pop-up is clicked.
For more information.
OnBeforeSwitcher
The OnBeforeSwitcher event is fired before the country and currency pop-up is shown.
For more information, see ???.
OnWelcomePopupClosed
The OnWelcomePopupClosed event is fired after the welcome pop-up is closed.
For more information, see ???.
OnShippingSwitcherClosed
The OnShippingSwitcherClosed event is fired after the country and currency pop-up is closed.
For more information, see ???.
OnCheckoutStepLoaded
The OnCheckoutStepLoaded event is fired twice when the checkout is first loaded. then when it is complete.
OnClientEvent
The OnClientEvent is fired when the customer interacts with the checkout.
For more information, see ???
QuerySessionValidity
The QuerySessionValidity event is used to cause the checkout session to expire after a specified amount of time.
Note:
  • If this feature is not implemented, the checkout will stay open indefinitely until the shopper clicks the place order button. Once the timer expires, a pop-up will redirect the customer back to the cart page.