Making the widget pop up after a certain amount of time
Note: This guide applies only to the Chat widget from Chat-only accounts, not from Chat+Support accounts. See About Chat account types in the Chat Help Center.
You can make the widget pop up after a certain amount of time via API. To do so, add the code shown below after the widget code. The widget will then appear after 'x' number of milliseconds.
//You can add more APIs on this line
}, 30000); //time’s in milliseconds - 30 seconds = 30000
The number '30000' in the above example is in milliseconds, which means the widget will popup up after 30 seconds.
Optional: You can set the widget setting position to 'Do Not Display'. This hides the widget from any part of your website. Though the widget is hidden, it will show-up once the API reaches the 'x' number of seconds.