Complete Guide To Calendly Form Tracking with GTM & GA4

Calendly is a widely used tool for scheduling events. Whether we embed Calendly forms on our website or share direct Calendly links, it’s crucial to track customer interactions and gather data for our marketing funnel. In today’s tutorial, I’ll provide a comprehensive guide on tracking various types (embedded and external) of Calendly forms. We’ll cover the way to collect user-inputted data during the form submission process, ensuring you have a complete understanding of your users’ activities.

Calendly Form GTM DataLayer Code

<script>
/**
* Author: Md Hasanuzzamna
* Linkedin: https://linkedin.com/in/md-h
* Youtube: https://youtube.com/@leomeasure
* Email: info@leomeasure.com
*/

window.addEventListener('message', function(event) {
    if(event.origin !== 'https://calendly.com') return;
  
    window.dataLayer = window.dataLayer || [];
    dataLayer.push(event.data);
});
</script>

Leave a Comment

Your email address will not be published. Required fields are marked *

Contact Us

Please contact us for expert guidance & personalized solutions to maximizing the potential of Google Analytics for your business.

Send Us A Message