New Suggested 9/18/2025

1

votes

Chat widget evolution

Hi,

It would be great if we can filter categories from the Lightweight chat widget at the bottom like this example, also choose the title of the widget
<script>

    //All settings are OPTIONAL. Remove them to use the defaults
var hdWidget = {
        widgetTitle: "Support chat", //change the title of the widget
        categoryId: 42, //pre-selected category in the widget. Get the ID from the admin panel
        showCategories: 42,43,48, //Show only these categories
        hideCategory: 0, //"1" to hide category select box, works only if you pass categoryId
        autoShow: 0, //auto show the widget after X seconds. "0" to disable auto showing
        email: "", //prefilled user email if you already know it in your app
		showKbArticles: 1, //show suggested KB articles after user opens new chat
		bgColor: "#3b82f6", //color of the widget
    };
    
    //you can also open or close the widget programmatically
    //by calling hdWidget.toggleWidget() anywhere in your code
</script>
<scriptsrc='https://example.net/helpdesk/js/support-widget-light.js'defer></script>

Thanks.

Log in to comment...