Blog

HubSpot Form Events: What Can GA4 Measure?

By
The Reform Team
Use AI to summarize text or ask questions

GA4 can track HubSpot form activity, but a submit event does not prove a lead was saved. Fire generate_lead only after HubSpot confirms success: 1 accepted submission = 1 lead event, when consent allows.

Keep these four stages separate:

  • Engagement: A visitor starts the form or moves through multi-step form stages.
  • Submission attempt: A visitor tries to submit, but errors may prevent completion.
  • Accepted submission: HubSpot confirms receipt.
  • Qualified lead: The contact meets the criteria set in the CRM.

Use GA4 to compare form drop-off, pages, campaigns, and devices. Use HubSpot to verify submissions and lead status. Test the live form, prevent duplicate events, keep personal data out of analytics, and compare counts using the same form ID and date range.

HubSpot Form Events in GA4: From Start to Confirmed Lead

HubSpot Form Events in GA4: From Start to Confirmed Lead

Track Hubspot forms with Google Tag Manager and Google Analytics 4 (2025)

What GA4 Can Track on HubSpot Forms

Browser events and CRM outcomes tell different stories. Here’s what GA4 can observe on a HubSpot form - and where its tracking stops.

Form Starts, Submission Attempts, and Lead Events

With Enhanced Measurement’s form interactions enabled, form_start records the first detected form interaction in a session - not every field edit. form_submit records a detected submit action, not HubSpot acceptance. It can fire even if validation fails or the submission never reaches HubSpot.

Test both events on the live HubSpot embed. Consent settings, JavaScript, and custom wrappers can affect detection. Multi-step progress and field-level interactions need custom tracking. Use these signals to distinguish form starts, submission attempts, and confirmed leads.

generate_lead is a GA4 recommended event that you implement yourself. It isn’t an automatic form event. Before setting it up, define what confirms a lead: the success signal, form ID, consent rule, and duplicate filter. Keep accepted submissions separate from qualified leads, and give each event the same meaning across reports.

Check the built-in parameters, too. form_id comes from the form’s HTML ID, form_name comes from its name, and form_destination comes from its destination URL. The form_submit event can also include submit button text. Verify these values in DebugView and event details before using them in reports. Document custom parameters such as form_key and form_step, then register them as custom dimensions before reporting on them.

Which Metrics Belong in HubSpot or GA4?

Agree on which platform owns each metric before building dashboards.

Metric HubSpot coverage GA4 coverage Source of truth
Stored submissions and processed CRM outcomes Stores form submissions and field-level responses; confirms processed submissions and associated CRM outcomes Needs a carefully implemented success signal; form_submit alone cannot prove HubSpot acceptance HubSpot
Form starts Provides form views and form-performance reporting Measures observed form_start interactions GA4 for behavioral starts
Submission attempts May record only accepted submissions, not every failed browser-side attempt Measures observed form_submit events GA4 for attempts; HubSpot for accepted records
Traffic attribution Includes source or campaign data when captured in HubSpot Reports acquisition dimensions such as source, medium, campaign, page, device, and session context GA4 for web acquisition; HubSpot for CRM attribution
Contact properties Stores contact and submission fields and can create or update CRM records Should not receive personal or contact-field values HubSpot
GA4 key events Does not define GA4 key events Selected events, such as a confirmed generate_lead, can be marked as key events GA4

Coverage reflects each platform’s reporting role, not identical counting.

Before comparing totals, align date ranges, time zones, form identifiers, and counting rules. Attribution may still differ: GA4 acquisition reports and HubSpot contact-source reports use different contexts. Consent and identity differences also affect collection. Marking an event as a GA4 key event does not automatically update HubSpot contacts, lifecycle stages, qualification, or revenue.

Set Up HubSpot Form Events in GA4

With the measurement boundary set, map each HubSpot embed to the GA4 event it can support.

Start with a GA4 property, a web data stream, and the HubSpot form’s stable ID. Before naming events, document the embed type, how the form renders, and what counts as success.

Choose Automatic Detection or Success-Based Tracking

Choose tracking based on the live embed, not just the page. Test GA4 automatic form detection separately for embedded, asynchronous, dynamically rendered, and multi-step forms. With form detection enabled, GA4’s enhanced measurement can collect form_start and form_submit.

To track confirmed completion, use the HubSpot success callback: hs-form-event:on-submission:success for newer forms or the applicable legacy onFormSubmitted callback. Attach listeners before the form renders, and send only allowlisted parameters after success is confirmed.

Button clicks and onBeforeFormSubmit can help track attempts or diagnose issues, but they don’t confirm completion. Treat success as acceptance only. Keep one tracking path for behavior and another for confirmed completion.

Track Multi-Step Form Progress

Track step views, validation errors, submission attempts, and final success separately. Use HubSpot’s navigation callbacks where available. Attach stable, non-sensitive parameters such as form_id, step_number, step_count, and a controlled error category like required_field or invalid_format.

Never forward field values or raw error messages. A next-button click counts as a step view only when the next step actually appears. Only the final success state should trigger the lead event.

Define completion at that final success state, then test it before relying on GA4 reports.

Define One Lead Event and Prevent Duplicates

With step tracking separate, tie lead firing to the final success state. Use one success condition and one lead event per flow. Keep form_submit for behavior, and fire generate_lead only for an accepted submission.

Register the success listener once and add a duplicate-prevention guard for each form instance. Block repeated callbacks and overlapping triggers, but reset the guard for a later valid submission. A blanket “once per page” rule can block legitimate repeats.

Don’t let tag initialization or a page reload after success send another lead event. Store deduplication IDs in HubSpot or your CRM; GA4 won’t deduplicate generate_lead on its own.

Validate Form Events Before Publishing

Once you’ve defined the success rule, test it on the live embed before publishing. Check only the milestones your embed exposes: render, first interaction, validation failure, submission attempt, and accepted submission.

Test Successful and Failed Submissions

Use synthetic test data, and add custom attempt, error, and progress events only if the embed supports them. Each accepted submission should fire one generate_lead. Failed submissions should fire none.

Test condition Expected event Events that must not fire Verification method
Valid submission One generate_lead after acceptance Duplicate lead events Check GA4 DebugView and the matching HubSpot submission record
Missing required fields Validation-error event generate_lead Leave each required field blank; check validation and tag firing
Invalid email format Validation-error event generate_lead Check the validation message and sanitized event parameters
Network or server failure Submission-attempt event generate_lead without confirmed acceptance Block the request in browser developer tools or use a controlled failure
Repeated Submit clicks At most one lead event per accepted submission Duplicate generate_lead for the same submission Compare requests and tag firings
Reload, back/forward, or reopened confirmation URL Page-view events, if configured A new generate_lead without a new submission Watch DebugView while repeating each action
Multiple forms on one page Events with the submitted form’s ID Another form’s lead event Submit each form separately and inspect identifiers and listeners
Embedded or dynamically loaded form Render/start events, then success after acceptance Lead events on render; duplicate events after initialization Test delayed loading, modals, and each embed type used
Multi-step progress or early exit One progress event per meaningful milestone generate_lead before final acceptance Check step order, then abandon before completion
Valid resubmission after failure or success One lead event for the new accepted submission Replayed failure or duplicate success events Correct the error or submit again; compare HubSpot submissions and GA4 events

Verify Events in DebugView and HubSpot

Use Google Tag Manager Preview to inspect triggers, data-layer messages, and tag firing. Check request timing and failures in browser developer tools. Then enable debug mode and review event order, names, counts, and parameters in GA4 DebugView. Different timeline events aren’t automatically duplicates - compare their names and trigger conditions first.

Inspect only allowlisted parameters. Check payloads, URLs, and debug output for names, email addresses, phone numbers, and free-text responses, even when using synthetic data. Keep form responses out of analytics, and use safe error categories instead.

For each test, record the form ID, timestamp, expected outcome, GA4 events, and HubSpot submission result. DebugView confirms that GA4 received an event - not that HubSpot accepted the submission. Verify acceptance in HubSpot’s submission records.

If the embed behaves differently than expected, test HubSpot’s standalone form URL to isolate the issue. Repeat these checks after changes to fields, embeds, consent settings, or tags. During the same test pass, confirm that no personal data reaches GA4.

Keep Personal Data Out of GA4

Once you’ve validated the event flow, set limits on what each event can send. Define allowed parameter names and values before dispatch, and apply those rules to form_start, form_submit, and generate_lead. Consent to measure traffic does not permit personal data in GA4 events.

Allowlist Parameters and Remove Personal Data From URLs

Allow only stable, non-identifying form IDs, step numbers, outcomes, and approved categories. Reject everything else, including filenames, payloads, callback objects, and raw errors. Apply the same rules to custom dimensions, user properties, and identifiers. Exclude CRM IDs unless they’re approved for analytics use.

Leaks can happen outside the event payload, too. Use POST or async handling with a clean thank-you path:

/thank-you

Keep personal data out of URLs, titles, referrers, links, and campaign values. Limit UTM values to campaign names only.

Hashed email is still off-limits in standard GA4 fields. Don’t put hashed contact details in ordinary GA4 parameters or user IDs. Google’s user-provided-data features follow separate rules.

Next, control when events can fire. Connect Google Tag Manager tags and custom form listeners to your site’s consent setup. When analytics consent is required, block GA4 event dispatch until consent is given. Honor rejection and withdrawal updates, too.

Test before a choice, after consent, after rejection, and after withdrawal. Check requests and cookie behavior in each state. Consent mode can change how Google tags behave when storage is denied; Google may still send reduced cookieless measurement in some cases.

Consent changes can shift GA4 totals without changing HubSpot lead volume. GA4 numbers may change; HubSpot remains the source of lead truth.

Build GA4 Funnels and Compare HubSpot Reports

Analyze Funnels by Page, Campaign, and Device

After validation, open GA4 Explore → Funnel exploration to see where users enter and leave the form flow, or how they navigate conditional routing steps. Build a funnel from form_start to generate_lead, adding optional step or attempt events only when their delivery is reliable. Use GA4 funnel results to analyze behavior and HubSpot counts to track accepted submissions.

Apply the same form_id filter to every step. Compare landing-page path, session campaign, source/medium, and device category. Use form dimensions to track one form across multiple pages, and avoid submission IDs. Mark generate_lead as a key event only for accepted submissions.

What you want to measure Event or record Platform Interpretation
Drop-off form_start without a later generate_lead GA4 Check delivery, consent, blockers, and timing before calling it abandonment.
Campaign-driven accepted leads generate_lead segmented by campaign GA4 Compare which campaigns turn form engagement into accepted submissions, using consistent campaign scope.
Accepted submissions Stored submission record HubSpot Counts submissions, not unique people or qualified leads.

Before acting on a large drop-off, check the affected segments. Compare segments using the start-to-lead completion rate, then use step completion rates to find friction, such as by simplifying actions within the form.

Missing events can look like abandonment. Verify the segment in DebugView, browser network requests, and HubSpot. Then compare the GA4 funnel counts with HubSpot’s accepted submissions.

Explain Differences Between GA4 and HubSpot Totals

Use the same form ID and date range when comparing GA4 lead events with HubSpot accepted submissions. Compare generate_lead event counts - not funnel user counts. Check consent, delivery failures, duplicate callbacks, repeat submissions, processing delays, and attribution differences. Start with aggregate counts before breaking results down by campaign. This helps separate collection gaps from attribution differences.

Keep the units separate: a GA4 event is an analytics signal; an accepted submission is a stored form occurrence; a unique contact is one CRM record; a new contact is newly created; and a qualified lead meets your CRM criteria. Aggregate comparisons can show gaps, but they don’t guarantee exact agreement or establish individual matches.

Conclusion: Track Behavior in GA4 and Confirm Leads in HubSpot

GA4 tracks behavior; HubSpot confirms accepted submissions and lead qualification. Keep form starts, attempts, accepted submissions, and qualified leads separate. Send one generate_lead event per accepted submission when consent allows, and block duplicates. Failed attempts should never trigger this event.

Final checklist:

  • Remove personal data from parameters, URLs, page titles, and debug payloads.
  • Apply consent controls before sending analytics events.
  • Mark only the confirmed submission event as the GA4 key event.
  • Compare GA4 lead-event counts with HubSpot submission records, and review qualification separately. Document expected gaps and investigate new ones.

FAQs

How can I distinguish form abandonment from tracking gaps?

Use Reform analytics as your baseline. It records activity before browser-side tracking issues can interfere. A gap of less than 5% compared with GA4 is usually normal. A 10–15% difference often points to a tracking issue.

Clicks with no matching CRM submission events often suggest genuine abandonment. To check, compare accepted-submission records against success events. Also document possible undercounts caused by ad blockers, privacy settings, and cookie consent banners.

How do I prevent duplicate leads without blocking resubmissions?

Use your CRM’s built-in deduplication instead of blocking form resubmissions. HubSpot matches contacts by email address, so a submission with the same email updates the existing record rather than creating a duplicate.

For API integrations, use an idempotency key to prevent duplicate records when requests are retried. Trigger GA4 events only after success is confirmed - not on every click. Give each submission its own ID for accurate conversion tracking, and keep lead qualification in your CRM.

How can I troubleshoot form errors without exposing personal data?

Use Google Tag Manager (GTM) Preview to test both successful and failed form submissions. Fire GA4 submission events only after confirmed success, not when someone clicks the submit button. In GA4 DebugView, check that parameters contain only non-sensitive identifiers, such as form_id or form_name.

Never send field answers or contact details to GA4. Keep personal data out of query strings and parameters, too. Check the browser console for JavaScript errors or network failures without logging user data.

Related Blog Posts

Use AI to summarize text or ask questions

Discover proven form optimizations that drive real results for B2B, Lead/Demand Generation, and SaaS companies.

Lead Conversion Playbook

Get new content delivered straight to your inbox

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
The Playbook

Drive real results with form optimizations

Tested across hundreds of experiments, our strategies deliver a 215% lift in qualified leads for B2B and SaaS companies.