Emits a custom application event that can be captured by the event collector.
The event is dispatched on window, so it is ignored outside browser environments or before an event collector has been started.
window
Optional
emitMonitorEvent('checkout:complete', { total: 49.99 }) Copy
emitMonitorEvent('checkout:complete', { total: 49.99 })
Emits a custom application event that can be captured by the event collector.
The event is dispatched on
window, so it is ignored outside browser environments or before an event collector has been started.