
Typeform Submissions Not Showing in GA4? Track Them with GTM

Quick answer
Typeform loads inside an iframe on your page, and Google Tag Manager cannot see inside an iframe. GTM’s built-in Form Submission trigger listens for the browser’s native submit event, which never fires across that boundary — so your tags stay silent while leads keep coming in. Typeform does announce each submission, though: it sends a form-submit message to the parent page. The fix is a small listener tag in GTM that catches that message and pushes a form_submission event into the dataLayer. From there, a generated container takes over: a GA4 generate_lead event, a Google Ads conversion and a Meta Lead event all fire on that one trigger. Generate the container with the GA4 form submission recipe, import it, add the listener, and test one real submission in Preview before you trust the numbers.
Why Typeform submissions never reach GA4
The setup looks finished. GTM is installed, the Typeform embed works, people complete the form, and the responses land in Typeform. But GA4 shows no generate_lead events, Google Ads reports no conversions, and Meta Events Manager is empty. Nothing is broken in the usual sense — the tracking was built for a form that does not exist on your page.
A normal HTML form lives in your page’s document. When someone submits it, the browser fires a submit event that GTM’s Form Submission trigger can hear. A Typeform embed is different: it is a separate document from form.typeform.com loaded inside an iframe on your page. The submit happens inside that document, on Typeform’s domain, and the browser’s same-origin rules keep it there. Your container never sees a submit event, so a tag built on the Form Submission trigger has nothing to fire on. It is not a misconfiguration you can fix by retargeting the trigger — the event the trigger listens for simply never reaches your page.
The same trap catches the other common shortcuts. GA4’s Enhanced Measurement watches for form interactions on your page, and it cannot see inside the iframe either, so no automatic form_submit event arrives. And if your form is not embedded at all — a button that links out to yourform.typeform.com — there is no parent page to listen on in the first place, and the listener in this guide has nothing to attach to. Embedded and linked-out forms need different fixes, and the first diagnosis step is knowing which one you have.
Calendly embeds have the same problem — the booking completes inside an iframe — and the same listener pattern fixes it; the Calendly guide covers that case.
How Typeform talks to your page
Typeform cannot let your page read inside its iframe, but it does send messages out of it. When you embed a form, Typeform posts messages to the parent window as the respondent moves through the form. Three of them matter for tracking:
| Message type | When it is sent | What it carries |
|---|---|---|
form-started |
The respondent answers the first question | formId |
form-screen-changed |
Each time the respondent moves to the next question | formId, the screen reference |
form-submit |
The respondent completes and submits the form | formId, and responseId in most embed versions |
Two details in that table decide whether your setup works. First, the message type uses a hyphen — form-submit — while the dataLayer event you push in response is yours to name. The generated container from the builder listens for form_submission, with an underscore, so the listener must push exactly that name; pushing form-submit or form_submit into the dataLayer fires nothing, because no trigger is listening for it. Second, the message only exists while the form is embedded. A linked-out form sends no messages to your site at all.
Diagnose first: four checks before you change anything
Most Typeform tracking failures are one of four things, and each has a different fix. Work through the checks in order — the fix in the next section assumes the first check passes.
| Check | How to tell | What it means |
|---|---|---|
| 1. Embedded or linked out? | Open the page and inspect the form area: an embed is an iframe from form.typeform.com; a link-out is a button to yourform.typeform.com |
Linked out means the listener cannot work — use the thank-you redirect method instead |
| 2. Is GTM on the page with the embed? | Open GTM Preview on that page and confirm the container loads | If Preview never connects, the container is missing from that page and no tag can fire |
| 3. Does a listener exist? | In GTM, look for a Custom HTML tag that listens for form-submit messages |
No listener means nothing turns the submission into a dataLayer event — that is the gap this guide closes |
| 4. Does the event reach the dataLayer? | In Preview, submit a test response and watch for form_submission in the dataLayer |
No event means the listener is missing, misnamed or scoped to the wrong pages; an event with no tags firing means the tags or the trigger are the problem |
The fix, step by step
The fix has two halves. The builder generates the container — the GA4, Google Ads and Meta tags, already wired to a Custom Event trigger for form_submission. The listener supplies the push that trigger is waiting for. Neither half works without the other: the container listens for an event nothing pushes, and a listener pushing an event no tag is wired to changes nothing. The recipe pages say this outright: the container “listens for it, it doesn’t generate it”.
Step 1 — Generate the container for the form_submission event
Open the builder and pick WordPress as the platform, then Google Analytics 4, Google Ads and Meta as the tools, and form_submission as the event. Enter your own tracking IDs — the GA4 measurement ID, the Google Ads conversion ID and the Meta pixel ID — then generate and download the container file. Use sample IDs only in any screenshot you share; the figures below use sample values.







Step 2 — Import the container into GTM (Merge, never Overwrite)
In GTM, go to Admin, then Import Container, choose the downloaded file, and pick Merge into a new workspace. Overwrite would replace your existing container with this one file and delete everything already in it. Merge adds the new tags, triggers and variables alongside what you have. Then open Preview before you publish anything — the next steps are all verified there.
The figures below show the site’s own live container, Tag Manager Builder (GTM-5NF3RF2P), as an example of what a generated container looks like once imported. They are the site’s real container, shown read-only — they do not show a Typeform listener, because the listener is a tag you add to your own container, not part of the generated file.




Step 3 — Add the Typeform listener tag
This is the half the builder cannot generate, because it belongs to your page, not to the container template. Create a Custom HTML tag in GTM and paste in this listener:
<script>
window.addEventListener("message", function(event) {
if (event.origin !== "https://form.typeform.com") return;
if (event.data.type === "form-submit") {
window.dataLayer.push({
event: "form_submission",
form_id: event.data.formId,
response_id: event.data.responseId || ""
});
}
});
</script>
Three things in that code are doing the work. The origin check means only messages genuinely from Typeform are accepted — without it, any other iframe on the page could fire your conversion tags. The form-submit test is the message Typeform actually sends; the hyphen is Typeform’s, not a typo. And the event pushed to the dataLayer is form_submission, the exact name the generated container’s trigger listens for. If you push form_submit instead, the trigger never matches and nothing fires — the single most common mistake in this setup, and the hardest to spot, because the listener tag itself fires correctly in Preview while the conversion tags stay silent.
For the trigger on the listener tag itself, fire it on the pages that carry the embed. All Pages is fine on a small site with one form; on a larger site, limit it to the form pages so the listener is not running everywhere. Save the tag, then continue — the conversion tags already exist from the import, so there is nothing else to build for the submission itself.
Step 4 — Add the two variables
Create two Data Layer Variables so the form and the response can be told apart later. The first reads form_id — useful the moment you embed a second form, because you can then condition a trigger on one form only, for example a quote form but not a feedback survey. The second reads response_id, which Typeform sends with most embeds and which doubles as a deduplication key: passing it as the transaction ID to Google Ads lets Google drop a duplicate if the same submission is ever counted twice. Name them clearly, for example “DLV – Typeform Form ID” and “DLV – Typeform Response ID”, and add form_id as a parameter on the GA4 tag so it shows up in your reports.
Step 5 — Point GA4, Google Ads and Meta at the same trigger
The imported container already has the three destination tags wired to the form_submission Custom Event trigger. Open each one and check what it carries before you publish:
- GA4: the event tag sends your form submission to GA4. Send it as
generate_lead— the standard lead event — withform_idas a parameter, rather than as a custom event name nobody will recognise in reports. If the generated tag uses a different event name, rename it here. - Google Ads: the conversion tag needs the conversion ID and label of a conversion action you created in Google Ads for the lead. Create the action first if it does not exist, then check the tag carries the same ID and label — a tag pointing at a deleted or mistyped action records nothing.
- Meta: the tag sends a Lead event to the pixel. Check the pixel ID matches the one on the rest of the site, and keep the Conversion Linker tag on All Pages so the click IDs Meta needs for attribution survive.
Do not send personal data in any of these tags. The listener pushes only the form ID and the response ID — never the respondent’s name, email or phone number. Ad platforms ask for customer details only through their own consented channels, and a lead event does not need them.
Step 6 — Mark the lead as a conversion in GA4
A GA4 event is not a conversion until you say it is. In GA4, go to Admin, then Data display, then Events, find generate_lead after your first test submission, and mark it as a key event. In Google Ads, set the conversion action to Primary so it feeds bidding. Until this step is done, the data flows but nothing counts — which is the second most common reason a “working” setup reports zero conversions.
The other two ways to track Typeform — and when to use them
The listener is the most direct fix for an embedded form, but it is not the only one. Which method fits depends on what you can change: the embed code, or only the form settings.
| Method | How it works | Best when | Watch out for |
|---|---|---|---|
| 1. postMessage listener (this guide) | A Custom HTML tag in GTM catches Typeform’s form-submit message and pushes form_submission to the dataLayer |
The form is embedded and you want GA4, Google Ads and Meta from one trigger | Needs the listener tag; useless if the form links out instead of embedding |
| 2. Embed SDK onSubmit callback | The JavaScript embed is created with createWidget and an onSubmit callback that pushes the event — and hidden fields can carry the gclid with the response |
You want the click ID stored with each response, so qualified leads can be uploaded back to Google Ads as offline conversions later | Needs the JavaScript embed, not the copy-paste snippet; the callback must be a global function, not defined inside a module or closure |
| 3. Thank-you redirect | Typeform redirects to a thank-you page on your own domain on completion, and a Page View trigger on that URL is the conversion | You cannot touch code, or your plan includes redirect on completion | Reloads, bookmarks and shared links over-count; add noindex to the page, keep it out of the sitemap, and never put the respondent’s email in the URL |
If you only need one method, use the listener. Move to the SDK callback when attribution matters more than simplicity — storing the gclid with the response is what makes offline conversion uploads possible. Use the redirect only when the other two are out of reach, and accept a few percent of over-count rather than pretending it is exact.
Track the steps too — but never as conversions
The form-screen-changed message is worth catching for a different reason: it shows where people give up. Add a second branch to the listener that pushes a step event with the form ID and the screen reference, and send it to GA4 as its own event. A funnel exploration over those steps shows the exact question where respondents drop off, which is usually a question worth rewriting or removing.
The rule is absolute, though: never attach a Google Ads conversion — or a Meta conversion — to the step event. One visitor answering twelve questions would count as twelve conversions, and your cost per conversion would collapse into fiction overnight. Steps are for diagnosis in GA4. Only the submission is a conversion.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
| Nothing fires in Preview at all | The form links out to Typeform’s domain instead of embedding, or GTM is not on the page with the embed | Embed the form, or switch to the thank-you redirect method; confirm the container loads in Preview |
| The listener fires but no conversion tag fires | Event name mismatch — the listener pushes form_submit while the container listens for form_submission |
Push exactly form_submission; the postMessage type and the dataLayer event name are different things |
| Events pushed in the console never appear in GTM | Typeform’s own GTM integration is connected on the form, and it renames the dataLayer to googleTagManager |
Disconnect Typeform’s native GTM integration and use the listener instead — or push to the renamed object, which ties you to that integration |
| Conversions fire for other iframes on the page | The listener has no origin check, so any iframe’s messages are accepted | Keep the event.origin === "https://form.typeform.com" check in the listener |
| Every submission counts twice | A manual GA4 snippet and the GTM tag both fire, or the listener and a thank-you redirect both count the same submission | Remove the manual snippet; pick one counting method per form |
| GA4 DebugView is empty while Preview shows the event | Consent Mode is holding the tag, an ad blocker is running, or the measurement ID is mistyped | Check consent state first, test in a clean browser profile, and verify the measurement ID character by character |
| Google Ads shows far more conversions than Typeform responses | A conversion action is attached to the step event, or the same submission is counted on every question | Attach Google Ads only to the submission event; use response_id as the transaction ID so duplicates are dropped |
| Enhanced Measurement reports form submits you cannot explain | GA4’s automatic form tracking is also firing for native forms on the same page | Turn off Enhanced Measurement form interactions and rely on the deliberate event you control |
Verification checklist
| Check | Where | Pass means |
|---|---|---|
| Submit a test response | GTM Preview | form_submission appears in the dataLayer with the right form_id |
| Confirm the event in GA4 | GA4 DebugView | generate_lead arrives with the form_id parameter |
| Confirm the Google Ads conversion | Google Ads, Conversions | The conversion action records the test and shows recent activity |
| Confirm the Meta event | Meta Events Manager, Test Events | One Lead event per submission, with the right pixel |
| Submit twice and reload the thank-you page | All three destinations | Still one conversion per real submission — no duplicates from reloads |
| Submit the second form, if you have one | GTM Preview | form_id changes with the form, so triggers conditioned on one form stay accurate |
Work through the list. A form that passes all six has no tracking gap left to find — and if a small gap remains, the rest is consent and ad blockers, the healthy few percent. If the problem is a different form type rather than Typeform, the same shape applies: find what the form actually pushes, match the trigger to it, and verify in Preview. The WooCommerce purchases guide covers the same pattern for stores, where the missing event is a purchase rather than a lead.
Frequently asked questions
Why doesn’t GTM’s Form Submission trigger work with Typeform?
Because the trigger listens for the browser’s native submit event on your page, and a Typeform submission happens inside an iframe on Typeform’s domain. The submit event never crosses the iframe boundary, so the trigger has nothing to hear. The fix is a listener that catches Typeform’s own form-submit message and turns it into a dataLayer event the trigger can match.
What is the Typeform postMessage event called?
The message Typeform sends on completion has the type form-submit. It also sends form-started when the first question is answered and form-screen-changed on every question change. Your listener checks for form-submit, then pushes a dataLayer event — form_submission if you are using the generated container, because that is the name its trigger listens for.
Can I track Typeform submissions without writing code?
Yes, with the thank-you redirect: set the form to redirect to a thank-you page on your domain and count that page view as the conversion. It needs no code, but reloads and bookmarks over-count, so add noindex to the page and keep it out of the sitemap. Typeform also offers its own GA4 and Google Ads integrations under Connect, which need no GTM at all — keep GTM for reporting if you use them.
My listener pushes events but GA4 shows nothing. Why?
Check three things in order: the event name pushed must match the trigger exactly (form_submission, not form_submit); Consent Mode must not be holding the tag; and Typeform’s own GTM integration must not be connected, because it renames the dataLayer to googleTagManager and your pushes go nowhere GTM can see. Also verify the measurement ID — a single wrong character sends the data to a property nobody watches.
Does the listener work with a Typeform popup or slider embed?
Yes. Popup, slider and standard embeds all send the same postMessage events to the parent page, so the same listener catches them. What does not work is a plain link to the form on Typeform’s domain — with no embed on your page, there is no parent window for the message to reach.
How do I tell which form was submitted when I have several?
Use the form_id the listener pushes. Create a Data Layer Variable for it, add it as a parameter on the GA4 tag, and add a condition to the trigger — for example, fire the quote-form conversion only when form_id equals that form’s ID — so a feedback survey never counts as a lead.