Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Calendly embed bookings not tracked: how to listen for events

TRK-403Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

When you embed Calendly (inline, popup widget or popup text), the booking screens load from calendly.com inside an iframe. An iframe is a separate page inside your page. Your tags run on the parent page and cannot see clicks or form steps inside it.

Calendly does tell your page what happens. It sends browser messages (using window.postMessage) with names such as calendly.event_type_viewed, calendly.date_and_time_selected and calendly.event_scheduled. If nothing on your site listens for them, the booking is invisible to your tracking.

Why it costs you leads or sales

A booked call is often your main conversion. If it is not recorded, Google Ads and Meta see no results from your campaigns, so smart bidding has nothing to learn from and good campaigns look like they fail. Reports show traffic but no bookings, and you may cut spend on what works.

Where the booking signal gets lost
  1. Ad clickVisitor lands on your page
  2. Calendly embedVisitor picks a time
  3. Booking confirmedCalendly sends a message, no listener
  4. GA4 / Ads / MetaNo conversion event sent

The booking happens inside the iframe and nothing passes it to your tags.

Bookings made vs bookings reportedExample numbers
Bookings made vs bookings reported (example)Booked in Calendly: 40 bookings; Reported in Google Ads: 0 bookings01531400Booked in CalendlyReported in Google Adsbookings

Example: 40 people book in a month, but with no listener the ad platform reports none.

How to check if your site has it

Test whether your page hears Calendly
  1. Open your booking page

    Use a private window and open DevTools (F12).

  2. Paste a temporary listener

    In the Console, run: window.addEventListener('message', e => { if (e.data && e.data.event && e.data.event.indexOf('calendly.') === 0) console.log(e.data.event) })

  3. Make a test booking

    Pick a time and confirm. You should see calendly.event_scheduled logged. That only proves Calendly sends it.

  4. Check your tags

    In GA4 DebugView, Tag Assistant or Meta Pixel Helper, look for a booking event. If none appears, nothing on your site is forwarding it.

How to fix it

Listen for the message, check it comes from Calendly, then push an event. Calendly messages come from https://calendly.com, so check e.origin before acting.

Push a dataLayer event when a booking is madejavascript
window.dataLayer = window.dataLayer || [];
window.addEventListener('message', function (e) {
  if (e.origin !== 'https://calendly.com') return;
  if (e.data && e.data.event === 'calendly.event_scheduled') {
    window.dataLayer.push({ event: 'calendly_booking' });
  }
});
Add the listener on your platform
  1. Add a Custom HTML tag

    Paste the snippet above inside script tags. Trigger it on All Pages (or only the booking page).

  2. Create a Custom Event trigger

    Event name: calendly_booking.

  3. Attach your conversion tags

    Create a GA4 Event tag, a Google Ads Conversion tag and a Meta Pixel event (such as Schedule) using that trigger.

Without GTM: send directlyjavascript
window.addEventListener('message', function (e) {
  if (e.origin !== 'https://calendly.com') return;
  if (e.data && e.data.event === 'calendly.event_scheduled') {
    if (window.gtag) gtag('event', 'generate_lead', { method: 'calendly' });
    if (window.fbq) fbq('track', 'Schedule');
  }
});

How to confirm it's fixed

After the fix
  • Make a test booking and see calendly_booking appear in the GTM preview or dataLayer.
  • See the event in GA4 DebugView.
  • Confirm the Google Ads conversion tag fired in Tag Assistant.
  • Confirm Meta Pixel Helper shows Schedule.
  • Check the event fires once per booking, not twice.
  • Cancel the test booking.

How to prevent it happening again

Keep the listener in GTM so it survives theme changes. Re-test after you change the embed type, move the booking page, or switch Calendly accounts. Mark the booking as a conversion in GA4 and Google Ads so gaps show up in reports.

How FunnelGuard handles this

FunnelGuard detects this only partly. It can run your booking journey on a schedule, load the page with the Calendly embed, and check the tracking hits sent to platforms such as GA4, Google Ads and Meta. If your page stops sending those hits, you get an alert with a screenshot and a likely cause.

What it does not do is confirm that your Calendly listener code is correct, or complete a real Calendly booking inside the iframe. To cover the rest by hand, make a test booking after any change to the embed or tags and walk through the checklist above. You can start with the Free plan (1 site, 2 journeys, daily checks) or try a paid plan free for 3 days.

Questions people ask

Why is my Calendly booking not tracked in Google Analytics?

The Calendly embed runs in an iframe, so your GA4 tag on the parent page cannot see the booking. You need a listener for the calendly.event_scheduled message that sends a GA4 event when it arrives.

How do I track Calendly bookings in Google Tag Manager?

Add a Custom HTML tag with a message listener that pushes calendly_booking to the dataLayer when calendly.event_scheduled arrives. Then create a Custom Event trigger with that name and attach your GA4, Google Ads and Meta tags.

What is calendly.event_scheduled?

It is a message Calendly's embed sends to your page through window.postMessage when a visitor finishes booking. Your page can listen for it and use it as a conversion signal.

Can I track Calendly conversions with the Meta Pixel?

Yes. When the booking message arrives, call fbq('track', 'Schedule') or fire a Meta Pixel tag in GTM on your custom event.

Does the Calendly popup widget need a different setup than the inline embed?

The same message listener works for inline, popup widget and popup text embeds, since they all load Calendly in an iframe. Test each type you use.

Why does my Calendly conversion fire twice?

The listener is probably added twice, for example once in the theme and once in GTM, or on a page that reloads the script. Keep one listener and check the event count in a test booking.

Can FunnelGuard monitor my Calendly bookings?

Partly. It checks that your booking page loads and that tracking hits reach platforms like GA4, Google Ads and Meta. It does not verify your listener code or complete a real booking in the iframe, so test that by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.