Developer/IT > Whisbi API > API Reference > Events > General

General

Events that trigger both in the Engage and the Sell solution.

NameDescriptionRequired
checkScoreBeforeWidgetLoaded function The widget checks whether or not the customer has configured any score provider, if there is a positive result it triggers this event to allow customer determine whether or not load the Widget. Triggered: Before the Widget gets loaded.
Exceptions: If the customer does not respond after the configured timeout it continues with the normal flow loading the Widget. Returns: start/stop
Optional
widgetLoaded function The Whisbi widget script was loaded properly Location: Widget loaded
Triggered: Every time a landing is loaded or reloaded regardless of whether the floating button is visible or not or if the landing is set to auto open. Returns: cookieGuid
Optional
floatingButtonShown function The floating button appears on the client’s landing Location: Whisbi floating button
Triggered: Every time the floating button is shown even after the sidebar has been closed.
Optional
floatingButtonUnfolded function The floating button unfolds, showing the speech bubble Location: Whisbi floating button
Triggered: Every time a landing is loaded or reloaded and the speech bubble is shown.
Optional
floatingButtonFolded function The floating button folds, hiding the speech bubble Location: Whisbi floating button
Triggered: Every time a landing is loaded or reloaded and the speech bubble is hidden.
Optional