Skip to main content
Jotform → GA4Integration guide

Connecting Jotform to GA4

Jotform holds the submission, and it is usually deployed in exactly the places where lead quality varies most. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Jotform submission before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Jotform to GA4: carrying the client_id into an iframe form

To send Jotform leads to GA4, add a hidden field for the client_id, read it with gtag's get command and append it to the iframe src. Send generate_lead from the Jotform webhook through Measurement Protocol with that client_id, rather than relying on Jotform's own Google Analytics option. Pass the form ID as a registered custom dimension.

A Jotform form embedded by iframe runs on Jotform's domain, so it cannot read your _ga cookie and the submission arrives with no client_id. Add a hidden field for it, read the client_id on your page with gtag's get command, and append it to the iframe src before the form loads. The script embed and the iframe embed need this done differently, so check which one each page uses.

If you have switched on Jotform's own Google Analytics option, check where those events land: they describe activity on Jotform's side and may not join to your site's sessions. Send generate_lead from the server instead. The submission webhook posts the fields, including your hidden client_id, and a Measurement Protocol call with that ID ties the lead to the visitor who clicked the ad.

Because Jotform accounts hold many forms, send the form ID or title as an event parameter and register it as a custom dimension. That is how you see that the scholarship application and the contact form have nothing in common, and it exposes the forms where the client_id field is empty on most submissions.

Jotform → GA4 · what breaks

Why this join usually fails — Jotform → GA4

  1. 01

    The GA4 client_id never reaches Jotform

    Hidden fields need the identifier on the URL, and Jotform's several embed methods behave differently. The full-page embed passes parameters; the iframe embed needs the parameter on the iframe source, which is a separate thing to update on every page.

  2. 02

    Many forms, inconsistent configuration

    Jotform accounts accumulate forms. The identifier gets configured on the one someone tested and not on the eleven others, so attribution looks random rather than broken.

  3. 03

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Jotform → GA4 · the fix

What working looks like — Jotform → GA4

  • The GA4 client_id on every submission

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Jotform → GA4 · architecture

How Jotform and GA4 actually connect

  1. 1

    Jotform holds the truth

    The submission carries every field plus any hidden ones. Jotform is often used across many separate forms in one account, so coverage across all of them — not just the main one — is what determines whether the numbers make sense.

  2. 2

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_id, captured at the visit and carried into the Jotform submission.

  4. 4

    The event source decides reliability

    Send server-side from the webhook. The thank-you page can be skipped, redirected or blocked, and Jotform's own redirect behavior differs by embed type.

  5. 5

    Deduplication at the destination

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Jotform → GA4 · normal or broken

Working vs. broken, side by side — Jotform → GA4

Normal, not a fault

  • The GA4 client_id present on the submission

  • Sent from the Jotform webhook on submission

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_id missing on most records

    Hidden fields need the identifier on the URL, and Jotform's several embed methods behave differently. The full-page embed passes parameters; the iframe embed needs the parameter on the iframe source, which is a separate thing to update on every page.

  • Sent from the browser

    Jotform accounts accumulate forms. The identifier gets configured on the one someone tested and not on the eleven others, so attribution looks random rather than broken.

  • Counted twice, or not at all

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Jotform → GA4 · diagnose

Diagnostic order — Jotform → GA4

  1. 01

    Count submissions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit every form in the account for the hidden field

    Not just the one that prompted the question. Inconsistent coverage across forms is the standard finding here.

  4. 04

    Check whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Jotform → GA4 · prove

How it gets proven — Jotform → GA4

Source of truth

Jotform's submissions table for the same window.

  • The GA4 client_id confirmed present on a live submission.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Hidden field confirmed populated on submissions from each embed type in use.

Jotform → GA4 · free audit

What we check in the free audit

  • Count submissions carrying the GA4 client_id
  • Follow one real conversion end to end
  • Audit every form in the account for the hidden field
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Jotform's submissions table for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Jotform → GA4 · when not to buy

When you don't need this — Jotform → GA4

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the GA4 client_id.
  • If you have one form and low volume, Jotform's native integrations are adequate.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Jotform → GA4 · what we deliver

What gets built — Jotform → GA4

  • Identifier capture into Jotform

    Add hidden fields to each form, populate them from the URL or the embed source, and audit every form in the account rather than assuming the pattern was copied.

  • Event source: the Jotform webhook on submission

    Send server-side from the webhook. The thank-you page can be skipped, redirected or blocked, and Jotform's own redirect behavior differs by embed type.

  • Dispatch to GA4

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • Reversals where they exist

    Nothing to reverse, but disqualified submissions should be filtered before sending.

Written guarantee

95%+ tracking accuracy

Measured against Jotform's submissions table for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Jotform → GA4 questions, answered

Jotform can add a Google Analytics tag to the form itself, but for attribution to your ad clicks the more reliable route is a hidden client_id field plus a server-side Measurement Protocol event from the submission webhook.

Free · 30 min

Get Jotform and GA4 joined properly

Free30 minutesNo obligation