Webless emits DOM custom events with the
webless: prefix and a structured
event.detail payload.Add listeners after Webless initializes
Supported events
Session and initialization
Session and initialization
Search bar visibility
Search bar visibility
User interaction
User interaction
Payload shape
Example payloads
Performance and troubleshooting
Events are not firing
Events are not firing
- Make sure Webless finished initializing before you add listeners.
- Make sure your listener script appears after the Webless script.
- Make sure no browser console errors stop later scripts from running.
Visibility events fire too often
Visibility events fire too often
Debounce frequent events before forwarding them to your analytics service.