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 Zendesk help.

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.

<script type="text/javascript">  window.setTimeout(function() {    $zopim.livechat.button.show();    $zopim.livechat.window.show();    $zopim.livechat.bubble.show();    //You can add more APIs on this line  }, 30000); //time’s in milliseconds - 30 seconds = 30000</script>

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.