Why doesn't my Google Ads conversion fire on an embedded HubSpot or Calendly form, and how do I track it?

TofuAnswer by the Tofu team · checked

Empty painted wooden picture frames leaning in rows, each one framing the ones behind it

Because the scheduler or form often runs inside an iframe from another domain, and the Google tag on your page can't see what happens inside it. A thank-you message in the frame loads no URL on your site, and Tag Manager's form trigger sees no submit. To fix it, redirect people to a thank-you page on your own domain, or listen for the tool's own event (Calendly's calendly.event_scheduled, HubSpot's form submission events) and fire your Google Ads conversion from that. HubSpot can also send form submissions to Google Ads itself.

Ask Tofu next

Pick a question and Tofu Ads Agent answers it in chat.

As of November 2026.

Why can't my Google tag see a form inside an iframe?

Browsers keep pages from different domains apart. MDN, Mozilla's developer docs, says that when two documents don't share an origin, the references between them give "very limited access" to each other's window, and they should talk through window.postMessage. Calendly's scheduler is served from calendly.com, so the Google tag and Tag Manager on your page can't watch its buttons or fields. Calendly also says its plain iframe embed doesn't support "event tracking via postMessage," so use its JavaScript embed code if you want to track bookings.

Are HubSpot forms in an iframe?

It depends on the form. HubSpot says a legacy form set as raw HTML "will render as a raw HTML element on your external page as opposed to inside an iframe." Raw HTML needs a Marketing Hub or Content Hub Professional or Enterprise subscription, and "only forms built using the legacy form editor can be set as raw HTML." HubSpot's help doesn't say how forms from its updated editor render. To check yours, right-click the form on your live page, choose Inspect, and see whether it sits inside an <iframe> element.

Why doesn't my Tag Manager form submission trigger fire?

It can't see inside a frame from another domain, and Google's help for it doesn't cover iframes. Google says the Custom Event trigger's most common use is form submissions that don't behave the default way. It fires on an event your page pushes to the data layer, and both fixes below use it. For triggers, consent banners and the Conversion Linker on forms you host yourself, see why Google Ads leads suddenly drop.

What's the simplest way to track it?

Send people to a thank-you page on your own domain after they submit, and count that page load. Google says URL-based conversions are "best for simple tracking of page loads." Make sure the Google tag is on that page.

  • HubSpot: a legacy form's post-submit options include redirecting to a HubSpot page or an external URL. HubSpot says this setting applies to "forms embedded on non-HubSpot pages or shared as standalone pages only."
  • Calendly: edit the event type, select More options, expand Confirmation page, and under After booking choose Redirect to an external site. It's on Calendly's paid plans. Calendly's article doesn't say how the redirect behaves inside an embed, so book a test meeting from your page.

Leave Calendly's Pass event details to your redirected page off unless you strip the details first. It adds the invitee's name and email to the URL, and Google says the Google tag "automatically passes the user's current URL to Google." If Google finds email addresses in URLs its tags receive, it can send a breach notice and disable your data segments.

How do I track a Calendly booking without a redirect?

Listen for Calendly's message on your page and fire the conversion from it. Calendly's JavaScript embed posts calendly.event_scheduled to your page when someone books. With Tag Manager:

  1. Add this script to the page that holds the embed:
<script>
  window.dataLayer = window.dataLayer || [];
  window.addEventListener("message", function (e) {
    if (e.origin === "https://calendly.com" && e.data.event === "calendly.event_scheduled") {
      window.dataLayer.push({ event: "calendly_booked" });
    }
  });
</script>
  1. In Tag Manager, create a Custom Event trigger with the event name calendly_booked.
  2. Add a Google Ads Conversion Tracking tag with your Conversion ID and Conversion label from Google Ads, and fire it on that trigger.

The origin check follows Calendly's own example, so other sites' messages can't fire your conversion. The message carries only the addresses (URIs) of the event and invitee records, not the invitee's details.

How do I track an embedded HubSpot form without a redirect?

Use HubSpot's form events the same way. Forms built in HubSpot's updated editor fire hs-form-event:on-submission:success on your page when a submission succeeds:

<script>
  window.dataLayer = window.dataLayer || [];
  window.addEventListener("hs-form-event:on-submission:success", function () {
    window.dataLayer.push({ event: "hubspot_form_submitted" });
  });
</script>

Legacy forms post a message instead. HubSpot's example listens for message events where event.data.type is hsFormCallback and event.data.eventName is onFormSubmitted. Push the same data layer event from there, then add a Custom Event trigger and your Google Ads conversion tag as above.

Can HubSpot send form submissions to Google Ads for me?

Yes, with Marketing Hub Starter, Professional or Enterprise. Connect Google Ads in HubSpot, go to Marketing, then Ads, click Create, select Conversion event and pick Form submission as the trigger. If you have no Google pixel in HubSpot yet, click Add pixel; HubSpot places it on pages that have its tracking code. The first time, HubSpot asks you to accept Google's customer data terms. The limits: with a Google Ads manager account (MCC), "the form data won't sync," and synced conversions show in "All conversions" only if they "can also be attributed to a Google Ads campaign." If you already added the Google Ads tag to your site's code by hand, don't also install it through HubSpot, or HubSpot says it "will fire twice."

Can I use Calendly's Google Analytics integration instead?

You can, but test it first. On paid plans, Calendly sends booking steps to GA4 as events, including invitee_meeting_scheduled, and its route to Google Ads is to mark that event as a key event and import it. Calendly's help warns that without UTM parameters the source shows in GA4 as "(direct)," and that "if they reject cookies, some activity might not be tracked," so book a test meeting and check what GA4 records before you bid on it. GA4 and Google Ads also count conversions differently; see why Google Ads and GA4 conversions don't match.

How do I check the new conversion works?

Open Tag Assistant from the conversion action's status in Google Ads, submit the form or book a test meeting, and watch for the conversion. Set the action to count One conversion per click. Google says that for leads, "usually only one, unique lead per ad click likely adds value," and it keeps a booking from counting twice. If the status still reads Unverified or Tag inactive, or the action is a Secondary action, see is my demo conversion actually being tracked. If Tag Assistant can't find your Google tag at all, see why the Google tag isn't detected on your website.

What about bookings that never touch my website?

No tag sees those. A prospect who books from a Calendly link in a sales email never loads your page. To credit those leads to ads, send them back from your CRM with offline conversion import or enhanced conversions for leads; see why offline conversions aren't showing in Google Ads.

Where Tofu fits

Tofu Ads Agent (our product) can set up a Google conversion event for a page visit or a click, such as the thank-you page you redirect to after a HubSpot form or a Calendly booking. It also runs a conversion tracking audit for Google Search and connects to HubSpot or Salesforce. It doesn't write the listener scripts above, change your HubSpot or Calendly settings, or set up HubSpot's conversion event sync for you.

Sources (21)

Related resources