Skip to main content
Webless emits DOM custom events with the webless: prefix and a structured event.detail payload.

Add listeners after Webless initializes

Supported events

Payload shape

Example payloads

Performance and troubleshooting

  • 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.
Debounce frequent events before forwarding them to your analytics service.