Track successful HubSpot form submissions in GA4
A practical tracking checklist for HubSpot forms, Google Tag Manager, and GA4 that starts with successful submissions—not button clicks.
By Dillon Jones · · 3 min read
Start with the form you actually have
HubSpot has more than one form embed version, so don’t paste a listener from an old tutorial and assume it will fire. Confirm whether the site uses updated forms, a legacy embed, or a custom form that sends data to HubSpot. Look up the documented success event or callback for that implementation.
If the form is embedded in a frame, don’t assume the parent page can read the fields or clicks inside it. Use the documented form event interface instead. A useful tracking event reflects a confirmed submission, not merely an attempt.
Keep the event small
Push a dedicated event into the GTM data layer after success. Give it a stable name and pass only the metadata you need, such as a non-personal form identifier. Build a GTM custom-event trigger for that event and send a matching GA4 event. If this submission is your lead event, consider GA4’s recommended generate_lead event.
Never send emails, names, phone numbers, or free-text form values to GA4. Check the setup against your consent rules and avoid leaking personal information through thank-you-page URLs.
Test the ways it can go wrong
In GTM Preview, submit successfully and confirm the tag fires once. Then fail validation; it shouldn’t fire. Try a second form on the same page, repeat the flow with consent declined, and check the event and parameters in GA4 DebugView when analytics is permitted.
If a thank-you page and a submission listener both report the same lead, choose one source of truth. Compare the live event with HubSpot records afterward. Totals won’t always match because of consent, blocked scripts, and reporting rules, but you should be able to explain why.
Leave a map behind
Record the form version, trigger, consent behavior, conversion owner, and a short test procedure. When someone swaps the embed six months later, they’ll know how to verify that the reporting still works.
Further reading
Dillon Jones
Digital marketing strategist and founder of FoundHive. More about me.