DEV Community

desertlion
desertlion

Posted on

Extend Qiscus Multichannel Widget Functionality with Custom Callbacks

In the previous part of the series, we have learned how to modify the display of our widget by using CSS. In this tutorial, I'll show you how you can extend the functionality of the widget by using custom callbacks.

By using custom callbacks, you can add more functionality for example if you want to log the user state to your own analytics server when the user has successfully logged in, or successfully opened a chat session.

For a detailed explanation, please check this interactive screencast

Basically, you just need to pass a parameter called Callbacks as a 2nd parameter to the Qismo object. Refer to the screencast above for a working example.

Top comments (0)