Skip to main content
The RevenueHero JavaScript tracks and emits the following JavaScript events through the lifecycle of the meeting booking experience which can be captured using a sample message listener like the following to be used for actions like sending event to Google Analytics, Pixel, etc.
Example

MEETING_BOOKED

The event is sent when a meeting is booked successfully with the meeting payload
Payload

MEETING_RESCHEDULED

The event is sent when a meeting is rescheduled from the booking widget successfully with the meeting payload
Payload

CLOSE_ADD_GUEST

The event is sent when a prospect exits from the guest addition textbox
Payload

ADDING_GUEST

The event is sent when a prospect clicks on the Invite Guest button and lands in the guest addition textbox
Payload

ADDED_GUEST

This event is sent when a prospect adds a guest address in the guest addition textbox on the booking confirmation screen
Payload

RESIZE_IFRAME

The event is sent when the Iframe’s height change is detected on slots getting loaded
Payload

CLOSE_DIALOG

This event is sent when a prospect closes the pop-up scheduler
Payload

INIT_REDIRECT

This event is sent when the redirect timer starts
Payload

PAGE_LOADED

This event is sent when the scheduler with the booking time slots are displayed to the prospect
Payload

RESCHEDULE_CLICKED

This event is sent when a reschedule is initiated from the booking confirmation screen
Payload

PROSPECT_DISQUALIFIED

This event is triggered when a submission is disqualified
Payload