Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Booking not passing UTMs to Calendly or Cal.com: how to fix it

CNV-250Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

UTMs are tags such as utm_source and utm_campaign added to a URL so analytics knows where a visitor came from. Click IDs such as gclid (Google Ads) and fbclid (Meta) do a similar job for ad platforms.

Calendly, Cal.com, Acuity and GoHighLevel calendars run on their own domain or inside an iframe (a page embedded in your page). The iframe cannot read your page URL. A plain link to the booking page does not carry the parameters either. So the data stops at your site.

Where the campaign data is lost
  1. Ad clickURL has utm_source and gclid
  2. Landing pageParameters still in the URL
  3. Click Book a callLink or embed has no parameters
  4. Calendar toolOpens with no source data
  5. Booking recordedShows as direct or unknown

The visitor arrives with UTMs, but the booking tool never receives them.

Why it costs you leads or sales

The booking still happens, so nothing looks broken. The damage is in your reporting and ad optimisation. Booked calls from paid campaigns appear as direct or referral traffic, so your best campaigns look weaker than they are.

Ad platforms learn from conversions they can match to a click. If the click ID is lost, the booking cannot be attributed, and bidding works with less data. You may cut budget on campaigns that actually bring calls.

Bookings by reported sourceExample numbers
Bookings by reported source (example)Paid ads (actual): 40 bookings; Paid ads (reported): 6 bookings; Direct (reported): 34 bookings0153140634Paid ads (actual)Paid ads (reported)Direct (reported)bookings

Example: 40 bookings really came from paid ads, but only 6 were attributed to them because UTMs were lost.

How to check if your site has it

Test the path by hand
  1. Open your landing page with test parameters

    Visit yourpage.com/?utm_source=test&utm_medium=cpc&utm_campaign=booking_check in a private window.

  2. Click the booking button

    Follow it to the calendar, whether it opens a new page, a popup or an inline embed.

  3. Inspect what the calendar received

    For a new page, look at the address bar for utm_ values. For an embed, right-click it, choose Inspect, and look at the iframe src attribute.

  4. Complete a test booking

    Check the booking record in the calendar tool and your CRM. Is the source filled in?

How to fix it

There are two jobs. First, pass the parameters into the booking link or embed. Second, if you measure in GA4, make sure the session continues across domains so the booking is credited to the original source.

Pass UTMs to the calendar by platform
  1. Copy the URL parameters into the booking link

    Use the script below. It adds utm_ values and gclid from the page URL to any link or iframe pointing at your calendar domain. Change the domain list to match your tool.

  2. Load it on pages with booking buttons

    Place it before the closing body tag, then reload with test parameters and re-inspect the link.

Append UTMs and click IDs to calendar links and iframesjavascript
(function () {
  var hosts = ['calendly.com', 'cal.com', 'acuityscheduling.com', 'link.msgsndr.com'];
  var keys = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','gclid','fbclid','msclkid'];
  var page = new URLSearchParams(window.location.search);
  var add = new URLSearchParams();
  keys.forEach(function (k) { if (page.get(k)) add.set(k, page.get(k)); });
  if (!add.toString()) return;
  function patch(el, attr) {
    try {
      var u = new URL(el.getAttribute(attr), window.location.href);
      if (!hosts.some(function (h) { return u.hostname.indexOf(h) !== -1; })) return;
      add.forEach(function (v, k) { u.searchParams.set(k, v); });
      el.setAttribute(attr, u.toString());
    } catch (e) {}
  }
  function run() {
    document.querySelectorAll('a[href]').forEach(function (a) { patch(a, 'href'); });
    document.querySelectorAll('iframe[src]').forEach(function (f) { patch(f, 'src'); });
  }
  run();
  setTimeout(run, 2000);
})();

How to confirm it's fixed

Confirmation checks
  • The booking link or iframe src contains your test utm_ values after the page loads.
  • A test booking shows the source and campaign in the calendar tool.
  • The same values appear on the contact or deal in your CRM.
  • The booking appears under the right source in GA4 or your ad platform.
  • Works on mobile and in a private window.
  • Pages without parameters still book normally.

How to prevent it happening again

This usually breaks when someone swaps the calendar tool, changes the embed type, edits the theme or moves tracking code. Treat the booking path as part of your tracking, not only the page design.

Prevention habits
  • Re-run the manual UTM test after any change to the booking button, embed or theme.
  • Keep the script in one place, such as your tag manager, and note it in your tracking documentation.
  • Add new calendar domains to the script's host list when you change tools.
  • Map UTM fields into your CRM so they are not dropped on sync.
  • Use a monitor that runs the journey on a schedule.

How FunnelGuard handles this

FunnelGuard detects this issue today. Its check covers cross-domain and UTM persistence: a robot visitor lands on your page with marked test parameters, follows the booking journey to the calendar, and checks whether the campaign data is still present on the next domain.

If a failure shows up, it is re-checked from a second region before one alert goes out. The alert includes a screenshot and a likely cause, and can go to email, Slack, Teams, WhatsApp, a webhook or PagerDuty. Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent. The free plan includes 1 site and 2 journeys with daily checks, and paid plans have a 3-day free trial.

Booking attribution

Before the fix

  • Calendar opens with a clean URL
  • Bookings show as direct or unknown
  • Ad platforms cannot match the booking to a click

After the fix

  • UTMs and click IDs are added to the link or iframe
  • Bookings carry source and campaign
  • Paid campaigns get credit for booked calls

Questions people ask

Why is my Calendly booking not showing UTM source?

The UTMs on your landing page are not passed to Calendly unless you add them to the booking link or widget. Calendly can only record UTM values it receives in the URL or widget settings. Append them with a script, then test a booking.

How do I pass UTM parameters to a Calendly embed?

Read the utm_ values from the page URL and add them to the Calendly link or iframe src before it loads. A short JavaScript snippet or a tag manager Custom HTML tag can do this. Then check the iframe src in your browser's Inspect tool.

Does Cal.com or Acuity keep UTM parameters from my website?

They can record parameters that reach them in the booking URL, but they do not fetch them from your site on their own. You need to pass them in the link or embed. Check each tool's documentation for which fields it stores.

Why do my booked calls show as direct traffic in GA4?

Often the session was lost when the visitor moved to the calendar domain and back. Without cross-domain measurement, GA4 may start a new session with no source. Set up cross-domain linking or fire the conversion on a thank-you page on your own domain.

Will gclid be passed to the calendar tool?

Only if you add it to the link yourself. The script in this guide copies gclid along with the UTMs. You also need your CRM or conversion setup to store it if you plan to upload offline conversions.

How do I test whether my booking button passes UTMs?

Open your page with test UTMs in a private window, click the booking button, and look at the address bar or the iframe src. Then complete a test booking and check the source field in the calendar tool and CRM.

Can FunnelGuard detect lost UTMs on my booking path?

Yes. Its cross-domain and UTM persistence check follows the journey with marked test parameters and looks for them on the next domain. A failure is re-checked from a second region before you get one alert.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: cross_domain / UTM persistence.

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.