
Jotform & Elementor Forms Not Showing in GA4? Track Them with GTM

Quick answer
Your Jotform or Elementor form submits, the entry lands in your inbox, but GA4 shows no leads and Google Ads reports no conversions. The cause is different for each form, but the shape of the problem is the same: the success happens somewhere GTM’s standard triggers cannot see. Jotform usually runs inside an iframe on Jotform’s own domain, so nothing on your page can hear the submission — the fix is a listener that catches the submission-completed message Jotform posts to your page. Elementor Pro forms submit by AJAX and never reload the page, so GTM’s built-in Form Submission trigger never fires — the fix is a listener for the submit_success event Elementor fires only after the server accepts the form. Both listeners push one shared form_submission event into the dataLayer, and from there a generated container takes over: one GA4 generate_lead event, one Google Ads conversion and one Meta Lead event, all firing on that one trigger. Generate the container with the GA4 WordPress form submission recipe, import it, add the listener for your form, and test one real submission in Preview before you trust the numbers.
Why Jotform and Elementor forms go missing in GA4
The setup looks finished. GTM is installed, the form works, people complete it, and the entries arrive. 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.
Jotform and Elementor break tracking in opposite ways, which is why one guide covers both and why a single fix never works for both. Jotform’s problem is a boundary: the form lives in a separate document on Jotform’s domain, embedded in your page through an iframe. Your GTM container runs on your domain and cannot see anything inside that iframe — no clicks, no fields, no submit. The submission happens, the thank-you screen loads inside the iframe, and your conversion count stays flat. Elementor’s problem is timing: the form is on your own page, but Elementor Pro cancels the browser’s normal submit, sends the data in the background with AJAX, and shows the success message without reloading. No page reload means no native submit event, and GTM’s built-in Form Submission trigger has nothing to hear.
This is the same shape of problem as the Typeform guide, the HubSpot guide and the Calendly guide on this site — the form’s success happens somewhere GTM’s standard triggers cannot see — except here the two forms need two different listeners. Jotform needs a postMessage listener on the parent page; Elementor needs a jQuery listener for its own success event. Both push the same form_submission event, so one container covers both.
The second trap is counting the wrong moment. A submit button click is not a lead. A validation failure is not a lead. A spam submission is not a lead. Jotform only posts its message after a completed submission, and Elementor only fires submit_success after the server accepts the form. Every method in this guide counts that moment and nothing else.
Which signal each form gives you
Before you write any code, work out which form you have and how it is embedded — for Jotform, the embed type decides whether the listener can work at all.
| Form | How it runs on your page | Success signal to listen for | What it carries |
|---|---|---|---|
| Jotform (iframe embed) | Form loads in an iframe from Jotform’s domain | postMessage with submission-completed plus the form ID, posted to the parent window |
Form ID only — no field values, no email |
| Jotform (script embed) | Script renders an iframe underneath | Same submission-completed postMessage |
Form ID only |
| Jotform (full source embed) | Form markup inlined into your page, no iframe | No postMessage is sent — there is no child document to send one | Nothing — track it like any native form on your own page |
| Elementor Pro form | Form widget on your page, AJAX submit | submit_success (jQuery event on the form) — only after the server accepts the submission |
Form name and Form ID from the form element |
Three details in that table decide whether your fix works. First, Jotform’s message is a plain string that starts with submission-completed followed by the form ID — your listener must check the message origin is Jotform before trusting it, or any page on the internet could push a fake lead into your dataLayer. Second, the full-source embed is the exception that proves the rule: if your Jotform form is embedded as full source code, there is no iframe, no session break and no message, and the listener below will never fire — you do not need it. Third, Elementor fires error instead of submit_success when validation fails, so listening to the success event is what keeps failed attempts out of your lead count.
Diagnose first: four checks before you change anything
Do not rebuild the container yet. Four checks take five minutes and tell you which half of the setup is actually broken — the container half or the listener half.
| Check | What to look for | What it tells you |
|---|---|---|
| 1. Which form, and how is it embedded? | View the page source where the form sits. An <iframe> pointing at Jotform means an iframe embed; a <script> from Jotform means a script embed (still an iframe underneath); Elementor forms sit in your own page markup as a normal form element. |
An iframe means the postMessage listener. Full-source Jotform or an Elementor form means the listener for that form — and the wrong listener will silently never fire. |
| 2. Does the page reload when you submit? | Submit the form and watch the address bar. A reload means a normal page post; no reload means AJAX (Elementor) or an iframe thank-you screen (Jotform). | No reload means the built-in Form Submission trigger can never work — you need a listener. A reload means the built-in trigger or a thank-you page URL can work, and a listener is the wrong tool. |
| 3. Does Preview show the event after a submit? | Open GTM Preview, submit the form, and watch the event list on the left. Look for form_submission. |
If the event appears, the listener works and the problem is downstream — a tag, a trigger condition, or Consent Mode. If it never appears, the listener is missing or listening for the wrong signal. |
| 4. Is GA4 counting something else as a lead? | In GA4, open Reports, Engagement, Events and look for form_submit as well as generate_lead. |
form_submit is GA4’s Enhanced Measurement counting the attempt. If it is there and generate_lead is not, your custom tracking is missing and the automatic count is the only signal — and it counts attempts, not successes. |
If check 3 shows form_submission in Preview but GA4 still shows nothing, skip to the verification checklist — your problem is a tag, a variable or a consent setting, not the form. If the event never appears, work through the fix below.
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”. Both forms push the same event name, so one container covers every form on the site — the form_tool parameter tells you which form each lead came from.
Step 1 — Generate the container
Open the builder and choose WordPress as the platform, then GA4, Google Ads and Meta as the tools, and select the Form Submission event. Enter your GA4 Measurement ID, your Google Ads Conversion ID and label, and your Meta Pixel ID. Keep the Advanced defaults as they are — Consent Mode off, Enhanced Conversions off, Debug off, Cross-Domain off — unless your site already needs one of them on. Generate and download the container file. The builder’s WordPress event picker offers 21 events — 11 conversion and 10 engagement, with Form Submission first under Conversion; you only need Form Submission for this fix, so leave the rest unselected and the container stays small and readable. For this exact build — WordPress with GA4, Google Ads and Meta and only the Form Submission event — the generated container has 4 tags, 2 triggers and 1 variable. The WordPress hub lists every WordPress recipe by tool and event, and the recipe index covers all four platforms.







Step 2 — Import it with Merge, never Overwrite
In GTM, go to Admin, then Import Container. Choose the downloaded file, pick your workspace, and select Merge — not Overwrite. Overwrite replaces the whole container with the imported file and deletes every tag you already have. Merge adds the new tags, triggers and variables alongside the existing ones. After the import, open Preview and confirm the container still contains your existing tags before you publish anything.
Step 3 — Add the Jotform listener
Create one Custom HTML tag in GTM, fire it on All Pages (or on the pages that hold the form), and paste the listener below. It waits for the message Jotform posts when a submission completes, checks the message really came from Jotform, and pushes one form_submission event with the form ID. It pushes the form ID and the tool name only — never submitted field values, which GA4 does not allow as event parameters and which you do not need for a conversion count.
<script>
(function () {
window.dataLayer = window.dataLayer || [];
window.addEventListener('message', function (event) {
if (event.origin !== 'https://www.jotform.com' &&
event.origin !== 'https://form.jotform.com') { return; }
var data = event.data;
if (typeof data !== 'string') { return; }
if (data.indexOf('submission-completed') !== 0) { return; }
var formId = data.replace('submission-completed', '').replace(/[^0-9]/g, '');
window.dataLayer.push({
event: 'form_submission',
form_tool: 'jotform',
form_id: formId
});
});
})();
</script>
Two warnings from people who have debugged this in production. First, the origin check matters: without it, any embedded content on the page could push a fake submission into your dataLayer. If your Jotform account is on the EU data centre, the iframe origin is eu.jotform.com — add it to the origin check. Second, this listener does not work for the full-source embed — there is no iframe and no message — and it does not work if you paste it inside Jotform’s own GTM integration, which runs in the iframe’s context and starts a separate session. The listener belongs in your own container, on your own page.
Step 4 — Add the Elementor listener
Create a second Custom HTML tag in GTM, fire it on All Pages, and paste the listener below. It waits for Elementor’s submit_success event and pushes the same shared form_submission event, carrying the form’s name and ID so you can tell forms apart in GA4. It needs jQuery, which WordPress loads on almost every Elementor site — if your theme has removed jQuery, the listener silently does nothing, so check the console for jQuery is not defined before assuming the form is at fault.
<script>
(function () {
if (!window.jQuery) { return; }
window.dataLayer = window.dataLayer || [];
jQuery(document).on('submit_success', 'form', function () {
var form = jQuery(this);
window.dataLayer.push({
event: 'form_submission',
form_tool: 'elementor',
form_id: String(form.attr('id') || ''),
form_name: String(form.attr('name') || '')
});
});
})();
</script>
Give every Elementor form a stable Form name and Form ID in the widget settings first — without them, every form reports as blank and you cannot tell which form produced a lead. The listener is delegated to the form element, so this is the form that was submitted and the name and ID come from that form. And do not attach the conversion to the button click instead: a click counts empty fields, validation errors and double clicks, and Elementor fires submit_success only after the server accepts the submission, which is the only moment worth counting.
Step 5 — Variables, trigger and tags
The generated container already contains the GA4 generate_lead tag, the Google Ads conversion tag and the Meta Lead tag, all wired to a Custom Event trigger for form_submission. Add two Data Layer Variables so the form details travel with the event: one reading form_tool and one reading form_id. Attach them as parameters on the GA4 event tag — form_tool tells you Jotform from Elementor, form_id tells you which form — and leave the Google Ads and Meta tags on the same trigger. Then mark generate_lead as a key event in GA4 (Admin, Data display, Key events) so it appears in your conversion reports.


Step 6 — Google Ads and Meta on the same trigger
Do not build a second listener for Google Ads or Meta. The same form_submission trigger fires all three tags, which is the whole point of the shared event: one submission, one trigger, three destinations, one count each. In Google Ads, use the conversion action the builder created and check its status after a test submission — if it flips to “No recent activity”, the tag is not the first suspect; check the trigger and the listener first, because creating a duplicate conversion action only compounds the problem. In Meta, the Lead event lands in Events Manager on the same trigger; if it never arrives, check the Meta tag fired in Preview before touching the pixel.
Step 7 — The thank-you redirect alternative (Jotform only)
If the listener will not work for you — for example, your Jotform plan or embed setup blocks the message — Jotform can redirect to a thank-you page on your own site after submission (Settings, Thank You Page, Redirect to an external link). Point it at a thank-you page on your domain and fire the GA4, Google Ads and Meta tags on a Page View trigger for that URL. It works, but it has two known weaknesses: the page fires if anyone opens the URL directly, so keep it out of search and navigation; and Jotform lets you append field values such as an email address to the redirect URL, which GA4’s terms do not allow in URLs — do not append personal data. The listener in Step 3 is the better method whenever it is available.
Step 8 — Test one real submission before you trust the numbers
Open GTM Preview, submit each form once with test details, and watch the event list. You should see form_submission appear, then the GA4, Google Ads and Meta tags fire under it. In GA4, open DebugView and confirm generate_lead arrives with the right form_tool and form_id. Submit a second time with a required field empty: nothing should fire, because Elementor fires error instead of submit_success and Jotform sends no message for a failed submission. Only publish the container when both tests behave.


Which method to use — and which to avoid
Four ways to track these forms circulate in guides and forums. Only two of them count real leads.
| Method | What it actually counts | Verdict |
|---|---|---|
postMessage / submit_success listener → dataLayer (this guide) |
Submissions the form provider accepted | Use this |
| Thank-you page redirect (Jotform) | Page views of the thank-you URL, including refreshes and direct visits | Workable fallback, noisy — keep the page hidden |
| GTM installed inside the Jotform iframe | Conversions in a separate session, with no click ID from your site unless cross-domain linking is set up | Avoid — the session break is the problem, not the fix |
| Click trigger on the submit button, or GTM’s built-in Form Submission trigger | Clicks and attempts, including validation failures; often never fires at all on AJAX and iframe forms | Avoid — inflated or missing counts |
| Jotform’s built-in Google Analytics widget | Nothing in GA4 — it was built for Universal Analytics, which no longer processes data | Avoid — dead integration |
Eight mistakes that break Jotform and Elementor tracking
| Mistake | What happens | Fix |
|---|---|---|
| Listening for the message without an origin check | Any embedded content can push fake submissions into your dataLayer | Accept messages only from Jotform’s origins, as in Step 3 |
| Using the Jotform listener on a full-source embed | No message is ever sent, so the listener never fires and you debug code that is working | Check the embed type first — full source needs native-form tracking, not a listener |
| Counting the button click instead of the success event | Empty fields, validation errors and double clicks all count as leads | Count only submission-completed / submit_success |
| Installing GTM inside the Jotform iframe | Conversions land in a separate session with no click ID, so Google Ads cannot attribute them | Keep GTM on your own page and listen for the message there |
| Trusting Jotform’s GA widget | It targets Universal Analytics and sends nothing usable to GA4 | Remove it and use the listener |
Leaving Enhanced Measurement form_submit as your lead metric |
GA4 counts attempts, not successes — your lead numbers are inflated | Use generate_lead from the listener and ignore form_submit for leads |
| Elementor forms with no stable name or ID | Every lead reports as blank and you cannot tell forms apart | Set a Form name and Form ID on every form before testing |
| Expecting Enhanced Conversions from the Jotform iframe method | The email never reaches your page, so there is nothing to hash | Use the thank-you redirect with a URL parameter only if you accept its trade-offs, or enhance via the Google Ads API instead |
Verification checklist
| # | Check | Pass looks like |
|---|---|---|
| 1 | GTM Preview, submit the Jotform form | form_submission appears with form_tool = jotform and the right form ID |
| 2 | GTM Preview, submit the Elementor form | form_submission appears with form_tool = elementor and the right form name |
| 3 | Submit with a required field empty | No event fires — validation failures are not leads |
| 4 | GA4 DebugView after a test submission | generate_lead arrives with form_tool and form_id parameters |
| 5 | GA4 key events | generate_lead marked as a key event |
| 6 | Google Ads conversion action status | Shows recent activity after a test submission |
| 7 | Meta Events Manager, Test Events | Lead event arrives from the browser on the same trigger |
| 8 | GA4 Events report, 24 hours later | generate_lead count matches form entries; form_submit is higher and ignored for leads |
If the same form also exists as a native WordPress form, the WordPress forms guide covers Gravity Forms, WPForms and Contact Form 7 with the same shared-event pattern. If your form loads in an iframe from another provider, the Typeform guide and the HubSpot guide use the same listener shape with a different message to catch.
Frequently asked questions
Why do my Jotform submissions not show in GA4?
Because the form runs inside an iframe on Jotform’s domain. Your GTM container cannot see inside it, so no submit event ever reaches your page. Jotform posts a submission-completed message to the parent window when a submission finishes — a listener in your own container catches it and pushes a form_submission event to the dataLayer, and your GA4 tag fires from that.
Why do my Elementor form submissions not show in GA4?
Because Elementor Pro submits by AJAX and never reloads the page, so GTM’s built-in Form Submission trigger has nothing to hear. Elementor fires a submit_success jQuery event only after the server accepts the form — a listener catches it and pushes the same shared form_submission event. Button-click tracking is not a substitute: it counts validation failures as leads.
Does Jotform integrate with Google Tag Manager?
Not in the way most people expect. Jotform offers a GTM integration that loads your container inside the iframe, but conversions there start a separate session with no click ID from your site, so Google Ads cannot attribute them. The working method is the opposite: keep GTM on your own page and listen for Jotform’s postMessage. Jotform’s own support team recommends this listener approach.
Can I track Jotform submissions with the thank-you page redirect instead?
Yes. In Jotform, set the Thank You Page to redirect to a page on your own site and fire your tags on a Page View trigger for that URL. It is a workable fallback, but the page also fires on refreshes and direct visits, so keep it out of search and navigation — and never append an email address to the redirect URL, which GA4’s terms do not allow.
Why is my Google Ads conversion showing “No recent activity” after a form submission?
Usually the tag never fired, not the conversion action. Check GTM Preview first: if form_submission never appears, the listener is the problem; if it appears but the Google Ads tag does not fire, the trigger or the conversion ID is. Do not create a duplicate conversion action — it only compounds the problem.
Do I need a separate container for Jotform and Elementor forms?
No. Both listeners push the same form_submission event, so one generated container covers both — the form_tool parameter tells you which form each lead came from. Generate it once with the GA4 WordPress form submission recipe and add both listeners to it.