Hubspot Livechat on Google Tag Manager

Hi @yudhi.hamzah,

While it’s not possible to track clicks to open the live chat widget in HubSpot, there may be a way in Google Tag Manager.

Most of the live chat modal is loaded through an iframe, so its elements can’t be tracked through GTM. The iframe exists within a div with the id hubspot-messages-iframe-container, however, so you may be able to create a click trigger with that id. See below.

[

Click ID Trigger.jpg1041x374 32.5 KB

](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/631ee9e90884fb1bc165be44818d0e1f9ecd31e4.jpeg)