Skip to content

Research · 8 min read

How to Track Calendly Conversions in GA4 Without Losing the Page That Started Them

By Tim Boluwatife · Updated

Short answer

When a booking finishes on calendly.com, GA4 records it in a new session, so the page that started the visit is lost. To track Calendly conversions in GA4 and keep that page, embed Calendly on your own site and fire your own event from its calendly.event_scheduled message. Use cross-domain measurement for domains you control, and back both up with your CRM's original source and a "How did you hear about us?" question.

When we pulled 12 months of GA4 data from 46 B2B SaaS sites we've worked with, 14 of them (30%) couldn't tell us which page started their bookings or sign-ups. For most of the 14, the booking finished on Calendly, cal.com or an app domain, and GA4 recorded it as a brand-new visit.

That gap is easy to miss, because the conversions still show up. The bookings are counted, the totals look fine, and the landing page for many of them is the booking page itself. You can't see whether a demo came from the homepage, a pricing page or a blog post, so you can't tell which pages to build more of.

For most sites, the fix is a settings change or a few lines of code. Below is why it happens, what it looked like across the 46 sites, and four ways to track Calendly conversions in GA4 without losing the source.

Why Calendly bookings lose their landing page in GA4

GA4 identifies visitors with first-party cookies, and each domain gets its own. When a visitor moves from your site to calendly.com, Calendly's pages can't read your site's cookies. In Google's words, without cross-domain measurement, a visitor who crosses domains is counted as "two users and two sessions instead of one."

Calendly's native GA4 integration makes this visible. It sends events like invitee_meeting_scheduled to your GA4 property from Calendly's own scheduling pages. Those events arrive in a new session that starts on the Calendly page, and Calendly's help article says that without UTM tags, GA4 shows the source as (direct).

So the booking gets counted, but GA4 credits it to a direct visit that started on Calendly. The visit to your site that led to it sits in a separate session with no conversion at all. Cal.com bookings behave the same way, and so do products where the sign-up or trial finishes on an app domain.

What the tracking gap looked like across 46 sites

We scanned every GA4 property with a specific demo, meeting, trial or sign-up event: 46 in all. Fourteen couldn't link conversions to a landing page, so we left them out of our study of which page types start B2B SaaS demos.

Where the conversion finishedSitesWhat went wrong
Calendly (calendly.com)6Booking event fired on calendly.com in a new session, with Calendly as the landing page
cal.com153% of bookings completed on app.cal.com
The product's app domain4Sign-up or trial event fired on the app domain in a new session
A separate sales subdomain1Demo event fired on the subdomain in a new session
Other tracking problems2One demo event also fired on gated report downloads; the other had a (not set) landing page for most conversions

One of the six Calendly sites also ran its sign-ups through an app domain, so it had both problems. Twelve of the 14 came down to a conversion finishing somewhere GA4 treated as a separate visit.

Three more sites made it into the study on their demo events, but their trial or sign-up events had the same app-domain problem. Two others had demo events that stopped firing partway through the year, and one site's demo event also fired on an ebook form. GA4 doesn't flag any of these as errors, so they only surface when someone checks the events by hand.

Fix 1: Embed Calendly and fire your own event from calendly.event_scheduled

The most dependable fix is to keep the booking on your own page. Embed Calendly inline, listen for the message it sends when someone books, and fire your own GA4 event from your site, in the same session as the rest of the visit.

Calendly's embed notifies the parent window with window.postMessage() at each step of the booking. The events are calendly.profile_page_viewed, calendly.event_type_viewed, calendly.date_and_time_selected and calendly.event_scheduled, plus calendly.page_height for resizing. You want calendly.event_scheduled, which fires when the booking is complete.

If your site loads GA4 with the Google tag (gtag.js), a listener like this does the job:

<script>
  window.addEventListener("message", function (e) {
    if (e.origin !== "https://calendly.com") return;
    if (e.data.event === "calendly.event_scheduled") {
      gtag("event", "demo_booked");
    }
  });
</script>

The origin check follows Calendly's own example, and it stops other sites' messages from firing your event. We picked the event name demo_booked, so use whatever name fits your setup. If you use Google Tag Manager instead, replace the gtag line with window.dataLayer.push({ event: "demo_booked" }) and fire a GA4 event tag from a Custom Event trigger.

Then mark demo_booked as a key event, GA4's term for a conversion. Once the event has come through, go to Admin in GA4, then Events under Data display, and click the star next to it. If you also run Calendly's native integration, stop treating invitee_meeting_scheduled as a key event, or each booking will count twice in your key-event totals.

A few details catch people out:

  • Use the inline embed, not a plain iframe. Calendly's help article says iframes don't support event tracking through postMessage. The docs describe these events for the inline embed, so test a pop-up embed before relying on it.
  • The payload is thin. The calendly.event_scheduled payload carries the scheduled event's URI and the invitee's URI. It doesn't include the invitee's name or answers, so don't plan to read form fields from it.
  • cal.com works the same way. Its embed lets you listen with Cal("on", { action: "bookingSuccessfulV2", callback }). Cal.com's embed events list bookingSuccessfulV2 as the replacement for the deprecated bookingSuccessful, and warn that a booking that fires it may not be confirmed yet.

Fix 2: Use GA4 cross-domain measurement for domains you control

When the conversion finishes on a domain you own, like an app domain, a sales subdomain or a separate booking site, GA4's cross-domain measurement keeps the visit in one session. It passes a _gl linker parameter on links and forms between your domains, so the next domain can pick up the same IDs.

Set it up in GA4 under Admin, then Data streams (under Data collection and modification). Choose Web, open your web stream, click Configure tag settings, then Configure your domains. Add each domain as a condition and click Save. Google's setup guide has the full steps, and it recommends the setup for subdomains too.

Three requirements decide whether it works:

  • Every domain needs the same Google tag. The tag on each domain must use the same G- ID from the same web data stream. An app that runs its own separate GA4 setup won't join up.
  • The _gl parameter has to survive. Redirects that drop query parameters strip it, and so can links that navigate with JavaScript. Click through from your site and check that _gl appears in the destination URL.
  • Consent still applies. GA4 only sets its first-party cookies when the visitor consents, so some journeys will stay split.

Calendly's own domain is the awkward case. You can't add your own Google tag to calendly.com, and Calendly's GA4 help article doesn't say whether its pages read the _gl linker. If you try adding calendly.com to your domain list anyway, book a test meeting and check that the landing page carries over. The embed in Fix 1 is the route Calendly documents.

If Calendly sends invitees back to a thank-you page on your site, also add calendly.com under List unwanted referrals in the same tag settings, so GA4 doesn't credit the return visit to Calendly.

Fix 3: Use your CRM's original source

Your CRM may already know where the visitor started, even when GA4 doesn't. In HubSpot, Original Traffic Source records the first web source HubSpot knows a contact came from, and the First page seen property records the first page they viewed. Both come from HubSpot's own tracking, so a session break in GA4 doesn't reset them.

We used these HubSpot fields to measure what templates and free tools are worth in revenue, tracing nearly 20,000 contacts at one company from first page to won deal.

There's one catch. Contacts created by an integration, an import or a salesperson usually have no page history, and HubSpot notes that ad blockers can block its tracking cookies. So check how your booking tool creates contacts. One common setup puts a short CRM form in front of the calendar, so the contact is created by a tracked form before the booking.

Fix 4: Add a "How did you hear about us?" question

A self-reported answer survives every tracking break, and it captures channels that tracking misses entirely. Calendly lets you add up to 10 custom questions to each event type, including dropdowns, so you can ask it on the booking form itself.

The answers can tell a very different story from your analytics. Across four companies, buyers credited AI assistants for 11% of leads, while HubSpot's tracking credited AI for 3%. 89% of the buyers who credited AI had been filed under Direct, Organic Search or another channel, which is how AI search brings in more leads than tracking shows.

Use a dropdown with clear options, such as Google search, an AI assistant, a review site, a referral, LinkedIn and Other. Treat the answers as a floor, because not everyone fills them in and people remember the touchpoint that stood out.

How to check the fix worked

Book a test meeting from a normal page on your site, not from the booking page directly. Check GA4's Realtime report for your new event, then look at your landing-page report a day later and confirm the booking sits against the page where you started. GA4's standard reports can take up to 24 hours to show a new key event.

After that, check your demo event every week or so. The quiet failures we found, events that stopped firing or fired on the wrong form, would have shown up in a weekly look at the event count and the pages it fires on.

What these fixes won't do

They won't fix the past. Everything here applies from the day you make the change, so a year of split sessions stays split. Cookie consent, ad blockers and device switching will also keep some bookings unattributed, which is why the CRM source and the "How did you hear about us?" answer are worth having alongside GA4.

Once the tracking is clean, the data gets useful fast. You can see which landing pages start demos, and which blog posts convert and which only bring traffic.

If you want help tying your demos back to the pages and searches that started them, our B2B SEO service reports on demos and revenue, not just traffic. You can also book a discovery call and we can look at where your tracking breaks.

About the author

Tim Boluwatife is the founder of OthAgency. He has spent about seven years in SEO, working on 60+ B2B SaaS brands across SEO, AEO and GEO, and he judges search on the pipeline it brings in.

Questions people ask

Does Calendly's GA4 integration need a paid plan?

Yes. As of November 2026, Calendly lists the Google Analytics integration on its Professional, Standard, Standard Plus, Teams, Teams Plus and Enterprise plans, for Owners and Admins. You can connect one GA4 Measurement ID per Calendly organization.

Can I track Calendly bookings with Google Tag Manager?

Not through Calendly's own integration, which doesn't connect to Google Tag Manager directly. You can still use Tag Manager on your own site: push a dataLayer event when the embed sends calendly.event_scheduled, and fire your GA4 event tag from a Custom Event trigger.

Will these fixes recover my old Calendly data?

No. The changes only apply to bookings from the day you make them, and marking an event as a key event in GA4 doesn't change historic data. Your CRM's original source fields and any "How did you hear about us?" answers are the best record of past bookings.

What should I name my GA4 booking event?

Use a specific name that only fires on a booking, like demo_booked, rather than a generic form event. Generic events such as form_submit fire on every form, which is why we left them out of our study. Standard GA4 properties can mark up to 30 events as key events.

Tell us your revenue goal.⁠ We'll show you where search gets you there.⁠

Book a discovery call, and we'll follow it up with an initial analysis of your site, your competitors, and where you stand today. Then you'll get a game plan that shows where search can bring in more pipeline.