Discussions

Ask a Question
Back to All

How to Track Clicks on Kommo Live Chat Button with Google Tag Manager (GTM)

I am integrating the Kommo Live Chat button on my website and would like to track user interactions using Google Tag Manager (GTM). Since the chat button is loaded inside an iframe, GTM is unable to detect clicks directly.

Could you please provide guidance on:

Whether the chat button sends any JavaScript events that we can listen for (e.g., window.postMessage() or any callbacks)?
If not, is there a recommended method to track when users click the chat button using GTM?
Any alternative ways to pass data to GTM when the chat widget is opened?
I appreciate your help and look forward to your response.