DEPRECATED as of March 12th 2018. See switchWidget() for improved functionality.
var widgetId = '1234-5678-91011-1213-1415' SnapEngage.setWidgetId(widgetId);
Manually set the currently-active widget. A common use case would be offering chat buttons which are linked to separate widgets on a single page; for instance, creating one link that goes to your Help Desk widget, and another that goes to your Sales Team widget. Learn how to set that up right here.
|widgetId||String||The widget ID that you would like to dynamically set as the active widget on your website. You can find your widget ID inside the Admin Dashboard's Settings, by clicking the Get the Code tab. Scroll to the '(Advanced) Widget ID' section.|