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?