Connecting Formstack to GA4
Formstack is used heavily in regulated industries, which means the forms frequently collect data that must never travel with a conversion event. 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 Formstack 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
Formstack in GA4: count submissions, never send answers
Embedded Formstack forms run in an iframe GA4 cannot see, so put the GA4 client_id in a hidden field at render and send the qualified lead from your CRM by Measurement Protocol with that client_id and submission ID, within about 72 hours. Google offers no BAA for GA4, so send counts and values only, never answers or sensitive page paths.
Google says it makes no representation that GA4 satisfies HIPAA and does not offer a business associate agreement for it, which matters because Formstack is so often the intake form for clinics, lenders and public agencies. A generate_lead event with a count and a value is fine. A parameter carrying a dropdown answer, a form name like "Medicaid eligibility" or a page path that names a condition is a disclosure, so check page_location and page_title on every page hosting a sensitive Formstack form, not just your event parameters.
Embedded Formstack forms run in an iframe on a Formstack domain, so the GA4 tag on your page does not see the submit. Populate a hidden field with the GA4 client_id at render, keep it on the submission, and send the qualified lead later from your CRM by Measurement Protocol with that client_id and the submission ID, never the answers. Measurement Protocol backdates only about 72 hours, so qualified leads post on the day the CRM qualifies them, not the day of the submit.
Check whether your Formstack form also has GA tracking switched on in its own settings. If both that and your server send the event, GA4 counts it twice, because Measurement Protocol has no deduplication.
Formstack → GA4 · what breaks
Why this join usually fails — Formstack → GA4
- 01
The GA4 client_id never reaches Formstack
Forms are frequently embedded or hosted on a Formstack domain, so the identifier must be passed in as a hidden field.
- 02
Form field content travelling with the conversion
It is easy to attach form data to an event and it is frequently a disclosure. In the regulated sectors that use Formstack most, a field value in a conversion payload can be protected information.
- 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.
- 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.
Formstack → GA4 · the fix
What working looks like — Formstack → 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
Formstack → GA4 · architecture
How Formstack and GA4 actually connect
- 1
Formstack holds the truth
The submission is a lead; the CRM decides whether it was a good one. What must not travel is the field content, which in healthcare, finance and government forms is frequently sensitive.
- 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
The identifier is the bridge
The GA4 client_id, captured at the visit and carried into the Formstack submission.
- 4
The event source decides reliability
Send qualified submissions as counts with a value if you have one. Never send field content.
- 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.
Formstack → GA4 · normal or broken
Working vs. broken, side by side — Formstack → GA4
Normal, not a fault
The GA4 client_id present on the submission
Sent from your CRM, joined to the 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
Forms are frequently embedded or hosted on a Formstack domain, so the identifier must be passed in as a hidden field.
Sent from the browser
It is easy to attach form data to an event and it is frequently a disclosure. In the regulated sectors that use Formstack most, a field value in a conversion payload can be protected information.
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
Formstack → GA4 · diagnose
Diagnostic order — Formstack → GA4
- 01
Count submissions carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Read the conversion payload and confirm it carries no field content
A count and a value may leave. The answers may not.
- 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.
- 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.
Formstack → GA4 · prove
How it gets proven — Formstack → GA4
Source of truth
Your CRM, with qualified submissions joined on the submission identifier.
- 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.
- Qualified submissions reconciled as counts, with the payload demonstrated to carry no field data.
Formstack → GA4 · free audit
What we check in the free audit
- Count submissions carrying the GA4 client_id
- Follow one real conversion end to end
- Read the conversion payload and confirm it carries no field content
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Your CRM, with qualified submissions joined on the submission identifier.
Free30 minutesNo obligation
Formstack → GA4 · when not to buy
When you don't need this — Formstack → GA4
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the GA4 client_id.
- If your forms collect nothing sensitive, this is an ordinary lead integration — but check rather than assume.
- 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.
Formstack → GA4 · what we deliver
What gets built — Formstack → GA4
Identifier capture into Formstack
Populate a hidden field with the identifier at render, and send only the fact of a qualified submission — never the field values.
Event source: your CRM, joined to the submission
Send qualified submissions as counts with a value if you have one. Never send field content.
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
Disqualified submissions reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your CRM, with qualified submissions joined on the submission identifier.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Formstack → GA4 questions, answered
Counting submissions without health details can be, but GA4 is not covered by a Google BAA, so nothing identifying a patient or their condition can reach it, including URLs and page titles. Have your compliance lead review what the event and the page carry.
Pass the GA4 client_id into a hidden field when the form loads and send the event server-side with it. Without it, the submission shows up as a new user under (direct)/(none).
Almost always because the GA4 client_id never reached the Formstack submission. Forms are frequently embedded or hosted on a Formstack domain, so the identifier must be passed in as a hidden field. Measure coverage before debugging the dispatch.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
Your CRM, joined to the submission. Send qualified submissions as counts with a value if you have one. Never send field content.
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.
More on Formstack → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
Using Formstack for bookings? How Formstack bookings get tracked end to end
RELATED GUIDES
Where Formstack → GA4 fits in the rest of your tracking
- Gravity Forms → GA4Connecting Gravity Forms to GA4
- Typeform → GA4Connecting Typeform to GA4
- Jotform → GA4Connecting Jotform to GA4
- Formstack → MixpanelConnecting Formstack to Mixpanel
- Formstack → PostHogConnecting Formstack to PostHog
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Paperform → GA4Connecting Paperform to GA4
- Ninja Forms → GA4Connecting Ninja Forms to GA4
Free · 30 min
Get Formstack and GA4 joined properly
Free30 minutesNo obligation
