Force contact options in widget
Hi,
I'm sorry in advance for my bad English, we are a French team 🇫🇷Â
We have added custom code to our Widget to show the 2 contact options when the user opens the widget on the site. When the chat is online, the user can choose between initiating a discussion or sending a message via the contact form. We would like to force the appearance of these 2 options even when no agent is online. With just the indication "Chat offline" as we can see when the user opened the widget and just before starting the chat no agent is available.
Here's what we would always like to have as information:
When agents are online :Â
When agents are offline :Â
Because currently, when no agent is online, the user only sees the contact form, and we think it would be interesting to let people know that the chat is offline to offer the second option of the contact form.
Here is the code we are currently using below the widget code. Could you tell me what I could add to force these contact options please? :
<script type="text/javascript">zE('webWidget', 'setLocale', 'fr');window.zESettings = {   "webWidget": {      "launcher": {         "mobile": {            "labelVisible": true         },         "label": {            "*": "Aide"         },         "chatLabel": {            "*": "En ligne"         }      },      "contactOptions": {         "enabled": true,         "chatLabelOnline": {            "*": "Tchat en direct"         },         "chatLabelOffline": {            "*": "Tchat hors ligne"         },         "contactFormLabel": {            "*": "Envoyer un e-mail"         }      },      "contactForm": {         "title": {            "*": "Formulaire de contact"         }      },      "chat": {         "offlineForm": {            "greeting": {               "*": "Nous sommes hors ligne actuellement. Laissez nous un message."            }         },         "title": {            "*": "Tchat en direct"         }      },      "color": {         "theme": "#ffffff",         "launcher": "#e6e6e6",         "launcherText": "#000000",         "button": "#000000",         "header": "#000000"      }   }}</script>
Sorry if my request is not very clear.Â
Thanks in advance 😉
-
Hi Sébastien,
The ability to force the Chat contact option in the widget while agents are offline is not currently possible. I spent some time trying out code variations, but our team was able to confirm that no code combination will allow for that right now, as this would result in offering both the Chat offline form and the contact form.
There is not an existing feedback request for this functionality, but if you'd like to create one, you can post in our Feedback on Chat topic. Here's information on how to write an effective feedback post.
I hope that helps clarify things, but let me know if you have any questions!
Please sign in to leave a comment.
1 Comments