Question
We do not want the widget to open automatically. Is it possible to have a message appear in a live chat when somebody clicks on the widget?
Answer
This is possible with the combination of custom code and a trigger:
- Use the function onShow(callback) command to detect when the widget window has been opened.
- Use another Javascript command to add a tag.
- Create a chat trigger that fires based on the presence of the tag, and make sure that the trigger only fires once per visitor.
For more information, see this article: Zendesk Chat triggers conditions and actions reference.
0 comments