Microsoft Bookings Conversion Tracking with GTM

Copper Contributor

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

0 Replies