How to trigger a chat after the user clicks on the widget


2 Comentarios

  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    Hi Harvey,

    Although there is no native trigger condition to do what you want, you should be able to use a combination of two Javascript APIs to achieve what you want.

    First, you will want to use the$zopim.livechat.window.onShow callback URL to detect when the window is open. From there, you will want to add a tag using

    From there, you just create a trigger that fires based on the tag being present and just ensure that it is set to fire only once per visitor. 



  • Mohamed
    Acciones de comentarios Permalink



    So I've tried to apply the trick you recommended but the problem is that the tags wouldnt be added until the conversation is initiated (got this info from the zendesk support team). But even if they are added on the window show event before any messages are sent, the trigger is run when the widget is loaded ; meanwhile the tags are added when the widget is clicked so the tag condition would be never satisfied! Is there any way around this?

    Thanks a lot.


    -- Mohamed


Iniciar sesión para dejar un comentario.

Tecnología de Zendesk