On this page
What this issue is
Typeform and Jotform forms are usually embedded with a script that loads the form in an iframe. An iframe is a window onto another website. The form and its thank-you screen belong to Typeform or Jotform, not to your page.
Your tags (GA4, Google Ads, Meta Pixel and others) run on your page. They can click-track your own buttons and see your own URL changes. They cannot see inside the iframe, and the URL of your page usually does not change after submission. So no thank-you page view happens and no conversion is recorded.
- Visitor lands on pageTags fire page_view normally
- Fills in embedded formHappens inside the iframe
- Submits formTypeform/Jotform receives it, parent page is not told
- Conversion tagNever fires
- Ad platform reportLead missing, campaigns optimise on bad data
The submit happens inside the iframe, so the parent page never hears about it.
Why it costs you leads or sales
The leads still arrive in Typeform or Jotform, so the form looks like it works. But your ad platforms see no conversions. Smart bidding in Google Ads and Meta's delivery learn from conversions, so with none they cannot tell which campaigns, keywords or audiences bring leads. Reports show a cost per lead that is far too high or no leads at all, and you may pause campaigns that actually work.
Example: 50 real submissions in a month, but the ad platform only records the few that reach a separate thank-you page.
How to check if your site has it
Find out how the form is embedded
Open the page, right-click the form and choose Inspect. If you see an <iframe> pointing to typeform.com or jotform.com (or a Typeform/Jotform embed script), you are affected unless you added event code.
Open a preview tool
Use Google Tag Manager Preview mode, GA4 DebugView or the Meta Pixel Helper extension.
Submit the form yourself
Use a clearly marked test entry, such as a name starting with TEST.
Look for a conversion event
If no generate_lead, Lead or similar event appears after submit, the conversion is not tracked.
Compare counts
Compare a week of form entries with conversions in GA4 and your ad platforms. A big gap points to this issue.
How to fix it
The idea is the same for both tools: the form sends a signal to the parent page when someone submits, your page catches it, and your tags fire. Typeform's embed library has an onSubmit callback. Jotform posts a message to the parent window that you can listen for.
<div id="tf-wrapper"></div>
<script src="https://embed.typeform.com/next/embed.js"></script>
<script>
window.dataLayer = window.dataLayer || [];
tf.createWidget('YOUR_FORM_ID', {
container: document.getElementById('tf-wrapper'),
onSubmit: function (event) {
window.dataLayer.push({
event: 'typeform_submit',
form_id: 'YOUR_FORM_ID'
});
}
});
</script>window.addEventListener('message', function (e) {
if (typeof e.origin !== 'string' || e.origin.indexOf('jotform.com') === -1) return;
if (typeof e.data === 'string' && e.data.indexOf('submission-completed') > -1) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: 'jotform_submit' });
}
});Create a Custom Event trigger
Triggers > New > Custom Event. Set the event name to typeform_submit (or jotform_submit).
Attach your tags
Add a GA4 Event tag (generate_lead), a Google Ads Conversion tag and a Meta Lead event to that trigger.
Preview, then publish
Submit a test entry in Preview mode and confirm the tags fire once.
Add the snippet to the page
Use a Custom HTML block on the page with the form, or a header/footer code plugin limited to that page.
Fire tags from the dataLayer event
If you use Google Tag Manager, follow the GTM steps. Otherwise call gtag('event', 'generate_lead') inside the callback.
Use an Embed element
Paste the snippet into an Embed element on the page, or into Page settings > Custom code (before </body>).
Publish the site
Custom code only runs after you publish.
Add custom code
Use Settings > Custom Code (Premium plan required) to add the listener to the form's page, or an HTML embed element.
Connect to your tags
Trigger your tags from the dataLayer event in Google Tag Manager, or use gtag inside the callback.
Add a Code Block or injection
Use a Code Block on the page, or Settings > Advanced > Code Injection for the footer.
Test on the live URL
Preview mode may not run injected code, so test on the published page.
Place the listener on the page with the embed
Add it after the embed script so the callback is registered when the form loads.
Call your tags directly if you have no tag manager
For example gtag('event', 'generate_lead') and fbq('track', 'Lead') inside the callback.
Before
- Form submits inside the iframe
- Parent page hears nothing
- No conversion in GA4 or ad platforms
After
- Form submit triggers a message to the parent page
- dataLayer event fires your tags once
- Conversions appear in GA4, Google Ads and Meta
How to confirm it's fixed
- Submit a test entry on the live page, not just in preview
- The dataLayer event appears once in GTM Preview
- GA4 DebugView shows generate_lead (or your event name) once
- Meta Pixel Helper shows Lead; Google Tag Assistant shows the Ads conversion
- The test entry also reaches Typeform/Jotform and your CRM or inbox
- Check again after 24 hours that conversions appear in reports
How to prevent it happening again
Embeds break quietly. Changing the embed type (for example from standard to popup), replacing the form, pasting a fresh embed code, or switching themes can drop your listener. Keep the tracking code next to the embed, note it in your site documentation, and re-test after any change to the form or page. Compare form entries with ad conversions each month.
How FunnelGuard handles this
FunnelGuard detects this issue only partly, because of iframe support. A robot visitor can run your journey on a schedule and check the steps and tracking hits on your own page, including the form page loading. It cannot reliably see inside or fully complete a third-party iframe form, so it may not confirm that the embedded submission fires your conversion tags.
To cover the rest by hand: submit a marked test entry after every change to the form or page, watch GTM Preview or GA4 DebugView for the conversion event, and compare monthly form entries with conversions in each ad platform. If your form can redirect to a thank-you page on your own site, FunnelGuard can monitor that page's tracking hits more fully. The Free plan covers 1 site and 2 journeys with daily checks, no card needed.
Questions people ask
Why are my Typeform submissions not showing as conversions in Google Ads?
The Typeform embed runs in an iframe, so your Google Ads tag on the parent page cannot see the submission. You need to use Typeform's onSubmit callback (or a redirect to a thank-you page) to trigger the conversion from your own page.
How do I track a Typeform embed in Google Tag Manager?
Add the Typeform embed SDK with an onSubmit callback that pushes a dataLayer event such as typeform_submit. In GTM, create a Custom Event trigger with that name and attach your GA4, Google Ads and Meta tags to it. Test in Preview mode.
How do I track Jotform submissions on my website?
Listen for the message Jotform sends to the parent window with window.addEventListener('message', ...), check the origin is jotform.com, and push a dataLayer event when a submission-completed message arrives. Alternatively, redirect to a thank-you page on your site and track that page.
Why does GA4 not see events inside an iframe?
Your page's GA4 tag only watches your own page. An iframe is a separate document, often on another domain, so clicks and submits inside it are not visible unless the iframe sends a message or you add tracking inside it.
Can I just track the thank-you page for an embedded form?
Yes, if the form redirects the visitor to a thank-you page on your own site and that page loads your tags. Check how the redirect behaves with your embed type, because it may load inside the iframe rather than the full page.
Why do I get duplicate conversions from my embedded form?
The listener or tag is probably added twice, for example in both the page and a tag manager, or the callback runs on every page load. Keep one source for the event and confirm one hit per submission in Preview mode.
Can FunnelGuard check Typeform or Jotform conversion tracking?
Only partly. FunnelGuard checks your page and its tracking hits on a schedule, but iframe support is limited, so it may not confirm a submission inside a third-party embed. Test those forms by hand after changes.
Related issues
- TRK-401Iframe-embedded checkout tracking not reaching parentFix guide
- TRK-403Calendly embed events not listened forFix guide
- TRK-400Tracking only in site header, funnel pages use blank templateFix guide
- TRK-398Page builder (Elementor/Webflow) custom code not publishedFix guide
- TRK-399ClickFunnels/GHL funnel step missing tracking codeFix guide
- TRK-389SPA route change sends no page_viewFix guide