Events
The Selektable SDK communicates with the widget iframe using the browser’spostMessage API.
You don’t need to handle these events directly. The SDK manages them automatically. This reference is for debugging purposes.
Key events
The SDK handles several categories of events between your page and the widget:| Category | Description |
|---|---|
| Lifecycle | Widget loading, opening, and closing |
| Product data | Sending product information to the widget |
| Cart actions | Add to cart, view cart, and checkout interactions |
| Identity | Passing visitor identity to the widget |