Forum Discussion

CharlieElliott's avatar
CharlieElliott
Copper Contributor
Dec 07, 2023

Microsoft Bookings Conversion Tracking with GTM

I would like to add a GTM listener to register a conversions via data layer. Is this possible with bookings embed? I've implemented it with Hubspot's booking tool, but cannot find info on how to listen for Microsoft's calendar tool.

 

Hubspot listener: (is there a similar listener I can add to monitor when bookings are made through microsoft's tool?)

 

<script>
window.addEventListener( 'message', function(event) {
  if ( event.data.meetingBookSucceeded ) {
          window.dataLayer.push({
        'event': 'hubspot-meeting-booked'
      });
  }
});
</script>

https://speedworksocial.com/hubspot-meetings-conversion-tracking/

 

Thanks!

Charlie

No RepliesBe the first to reply

Resources