Webchat V2 visibility

Hi,

Our customer would like to have the Widget (webchat v2) enabled only for some pages in his website.

Also, depending on the page, we would like to set a different time to auto invite.
If we are under Products page, we want to set 5 seconds as time to auto invite and for About page, 10 seconds ...

image

  1. What is the best way to Hide/enable the widget for some pages/URLs ?
  2. Since the JS file holding the configuration of the widget, I am wondering how I can make this parameter (timeToInviteSeconds) variable depending on which page triggered the chat interaction.

Thank you in advance,

Regards,

CHARAF

Only include the code for the widget on the pages where you want to use it.

The config is a JS object. You can use variables to set properties.

Thank you for the reply

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.