Recent searches


No recent searches

Can I delay the Web Widget from popping up?



Edited Jan 23, 2024


0

4

4 comments

Hello Luiz,

Thank you for the article and the code. Where does this go?

We use BigCommerce and the script looks like this:

0


image avatar

Dainne Kiara Lucena-Laxamana

Zendesk Customer Care

Hi Global One Technology

 

Try adding the code under 

<script type="text/javascript">

so it needs to be before the actual widget code. Let me know if you have any follow-up questions!

0


Is there a way in achieving this  in help center if we are using messaging?

0


image avatar

Gabriel Manlapig

Zendesk Customer Care

Hi James, 

Yes, if you want to add time to load the Messaging Widget in your Guide or Help Center portal, you can use the API script below: 

<script type="text/javascript">
  window.setTimeout(function() {
     zE(function(){
        zE('messenger', 'open');
    });
    //You can add more APIs on this line
  }, 10000); //time’s in milliseconds - 10 seconds = 100000
</script>

You can also refer to this API documentation for reference: Web Widget API
 
We hope this helps! Thank you!

0


Please sign in to leave a comment.