Yes, you can display a message in Zendesk live chat when someone clicks on the widget. This can be achieved by using a combination of custom code and a chat trigger.
To do this, you need to use theonShow(callback)
function to detect when the widget window is opened. Then, you can use a JavaScript command to add a tag. Finally, create a chat trigger that fires based on the presence of this tag, ensuring it only fires once per visitor. This setup allows you to control when messages appear in the chat. For more detailed instructions, you can refer to theZendesk Chat triggers conditions and actions reference.
To prevent the Zendesk chat widget from opening automatically, you can use custom code and triggers to control its behavior. By using theonShow(callback)
function, you can detect when the widget is opened. You can then add a tag using a…
TheonShow(callback)
function in Zendesk live chat is used to detect when the chat widget window is opened. This function is part of the custom code you can use to control the behavior of the chat widget. By usingonShow(callback)
, you can…
Creating a chat trigger in Zendesk based on a tag involves using custom code and the chat trigger settings. First, use a JavaScript command to add a tag when the chat widget is opened. Then, in the Zendesk chat settings, create a trigger that fires…