Callbacks
Use the following callbacks to get notified on certain state changes of the Gleap widget. This enables you to create an even deeper integration with Gleap.
On initialized
This allows you to get notified once Gleap is initialized and ready.
On notification count updated
This allows you to get updates on the unread notification count.
On open
This allows you to get notified once Gleap opens.
On close
This allows you to get notified once Gleap closes.
On product tour completed
This allows you to get notified once a product tour gets completed.
On conversation started
This allows you to get notified when the user starts a new conversation (with or without a bot workflow).
On feedback sent
This allows you to get notified once feedback is sent.
On outbound sent
This allows you to get notified once a survey got answered.
On flow started
This allows you to get notified once a Gleap flow is started.
On error while sending feedback
This allows you to get notified if an error occurs while Gleap is trying to send a feedback item.