Widget ID
(Last Updated On: January 9, 2017)

SnapEngage lets you define multiple instances of your chat with different settings depending on the context in which each will be used. Only one Widget can be active on a page at any given time; the active Widget can be manipulated with the .setWidgetId() function.

For example, you might have one Widget for your Support staff, and another Widget for your Sales Team; you might make one Widget for English speakers, and another for Spanish speakers.

What is my Widget ID?

Each of these instances is given its own Widget ID, a unique string of alphanumeric characters. You can see the Widget ID of each of your widgets by first logging in to your Admin Dashboard and then visiting the Advanced section of the Get the Code tab.

The primary method for manipulating the active Widget is:


See the .setWidgetId() documentation.