Typeform and Jotform Conversion Tracking in GA4, Google Ads and Meta (GTM Guide)
Short answer: Both tools run inside an iframe, so GTM’s normal Form Submission trigger can’t see them. For Typeform, embed it with Typeform’s Embed SDK and use the
onSubmitcallback to push atypeform_submitevent to the dataLayer. For Jotform, set the form to redirect to a thank-you page on your site after submission and fire your conversions there. Then send one event to GA4 (generate_lead), Google Ads and Meta (Lead, with an event ID shared with Conversions API). Don’t track clicks on “Start” or “Submit” as conversions.
Typeform and Jotform are everywhere: quote requests, quizzes, applications and lead magnets. Both are easy to embed and both hide the actual submission inside an iframe on their own domain. That’s why so many accounts I audit either track nothing from these forms or track the wrong thing.
Typeform: use the Embed SDK callback
Typeform’s Embed SDK (the @typeform/embed script it gives you when you embed) lets you run code when a form is submitted. Embed the form with the SDK and add an onSubmit handler:
<div id="tf-quote"></div>
<script src="//embed.typeform.com/next/embed.js"></script>
<script>
window.tf.createWidget('YOUR_FORM_ID', {
container: document.getElementById('tf-quote'),
onSubmit: function (data) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'typeform_submit',
typeform_id: 'YOUR_FORM_ID',
typeform_response_id: data.responseId
});
}
});
</script>
If you use Typeform’s simpler HTML embed instead (the data-tf-* attributes), you can add data-tf-on-submit="yourFunction" and define that function to push the same dataLayer event.
Then in GTM:
- Create a Custom Event trigger for
typeform_submit. - Fire GA4
generate_leadwithform_name= your form ID. - Fire your Google Ads conversion and Meta
Leadon the same trigger. Use the response ID as the event ID so the Pixel and Conversions API can be deduplicated.
Quizzes and long forms: count the conversion only on submit. If you want drop-off data, Typeform’s own analytics show it better than extra GA4 events.
Typeform’s built-in tracking. Paid Typeform plans let you add Google Analytics, a GTM container or a Meta Pixel inside the form. That’s useful for forms people open on typeform.com, but for forms embedded on your site the SDK callback keeps everything in your own GTM, with your consent setup.
Jotform: redirect to your own thank-you page
Jotform embeds run in an iframe (or a script that creates one), and the most dependable way to catch a submission is a redirect:
- In Jotform, open Settings → Thank You Page and choose Redirect to an external link after submission.
- Enter a page on your site, for example
/thank-you/?form=quote. - In GTM, fire on that page:
- GA4
generate_lead(withform_namefrom the URL) - Google Ads conversion
- Meta
Lead
- GA4
- Keep the thank-you page out of search results and protect it against refresh double counts.
Passing data for enhanced conversions. Jotform can add form answers to the redirect URL. If you pass the email, read it on the thank-you page for Google Ads user-provided data, then remove it from the URL so personal data doesn’t land in GA4 page paths. A safer option for regulated businesses is to send conversions from your CRM or a webhook instead.
Capture the source before the form
Both forms can store hidden values. Add hidden fields for gclid, utm_source, utm_medium and utm_campaign, and fill them from the page URL (both tools support pre-filling from URL parameters). Then every response in Typeform or Jotform shows which campaign it came from, and you can import qualified leads into Google Ads later. See the offline conversion tracking guide.
Testing checklist
- Submit the form once in GTM Preview. The event should fire once.
- Submit with a validation error. Nothing should fire.
- Check GA4 DebugView and Meta Test Events.
- Reload the Jotform thank-you page: no second conversion.
Copy-paste listener: the Typeform listener (and listeners for other form and booking tools) is in my free GTM Listener Library.
Frequently Asked Questions
Why doesn’t GTM’s Form Submission trigger work for Typeform or Jotform?
The form is inside an iframe on another domain, so GTM on your page can’t see it being submitted. Use Typeform’s submit callback or Jotform’s redirect.
Can I track Typeform without changing the embed code?
Only with Typeform’s built-in integrations, which run inside Typeform. To fire tags from your own GTM, you need the SDK callback (or the data-tf-on-submit attribute).
Is a Jotform thank-you redirect bad for user experience?
No. Visitors land on a branded thank-you page on your site, which is a good place to set expectations (“We’ll reply within 24 hours”) or offer a booking link.
Should I send form answers to GA4?
No. Never send names, emails, phone numbers or free-text answers to GA4. Send the form name and, if useful, non-personal choices such as the service selected.
For other form tools, see my guides to WPForms, HubSpot forms and booking tools like Acuity and Tally. Need it done across client sites? See tracking for agencies.
Need this implemented, audited, or white-labeled?
Whether you are an eCommerce brand owner fixing signal loss or a digital marketing agency needing a senior analytics engineer under strict NDA, I deliver 24–48h SLA turnaround with 8.5+ EMQ match rates.



