How do I make the Messaging Chat Widget pop up automatically after the website loads

Avec réponse


Publication le 23 nov. 2022


0

7

7 commentaire

Hi John,

If you're using Help Center portal you will need to paste the code inside the script.js template. For reference, please see below screenshot:


I hope that helps. Thank you!

0


That is helpful, but which file within my help center contains that snippet?

0


Hi John,
 
You will need to insert the zE script / code after the messaging web widget snippet code. For reference, please see below screenshot:
 

I hope that helps!
 

0


Where do I insert this code in my template to have this happen?

0


If you want to add time to load Messaging Widget

<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>

 

0


It works well, Thank you!

To whom it may concern:

<script type="text/javascript">
  zE(function(){
        zE('messenger', 'open');
    });
</script>

0


Hi Izdine,
 
At the moment there's no option to trigger the Messaging widget to pop up after a minute. But, you can work with your developer to keep the widget open. You can provide them this developer documentation API that you can add to the Messaging snippet code to keep the widget open:
 
Web Widget API
 
I hope this helps! Thank you!
 

0


Vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication