chatbutton.click() callback not triggered when chat is started after chat window opened by trigger

chatbutton.click() callback not triggered when chat is started after chat window opened by trigger

I'm trying to invoke a function whenever a visitor is starting a chat with out agents. This does work using $zoho.salesiq.visitor.chat but unfortunately this only works for chats initiated by the visitor without any triggers. 

We are using an intelligent trigger to open the chat window, whenever a visitor decides to initiate a chat after the window has been opened by the trigger the previous function does not get invoked. As a way to get around this behaviour I figured I would use $zoho.salesiq.chatbutton.click to invoke said function instead, however this only seems to work before the intelligent trigger as well, not after.

Is there a different way to approach this when using intelligent triggers?



    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方