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 Developer Community









                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl 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





                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now