HubSpot shows new contacts every day. Google Ads shows zero form conversions. Nobody got an error, and nobody noticed for weeks. I keep finding this after a form is rebuilt in HubSpot's updated forms editor.
HubSpot form tracking in GTM needs a listener that knows both form versions. New forms send hs-form-event:on-submission:success, legacy forms still send hsFormCallback, and one Google Tag Manager Custom HTML tag can listen for both, push one hubspot_form_submit event and feed GA4, Google Ads Enhanced Conversions and Meta.
Think of two radio stations. The old listener is tuned to one, and the new forms broadcast on the other. The radio works fine, it just hears nothing. I fix this as a done-for-you HubSpot form tracking setup. Below is the five-step version of the fix.
Step 1: Check which HubSpot form version your page runs
Open the page with the form in Chrome, right-click, choose Inspect and open the Console tab. Type HubSpotFormsV4 and press Enter. If you get an object back, that page runs new forms. Then type HubSpotForms. An object there means the page also has legacy forms, and many sites have both.
Then open Marketing, then Forms in HubSpot, and note which forms were built or rebuilt in the updated editor. Keep that list. You will test each kind later, and it tells you which listener should fire on which page.
Do this:
- Open the page with your form and open the Chrome console.
- Type HubSpotFormsV4. An object means new forms.
- Type HubSpotForms. An object means legacy forms are on the page too.
- In HubSpot, open Marketing, Forms and note which forms use the updated editor.
- Make sure GTM is installed on every page that shows a HubSpot form.
Step 2: Find the old listener and pause it after you test
In GTM, search your tags for hsFormCallback or onFormSubmitted. That is your old listener. Write down the event name it pushes and the tags that use it, because you will point those tags at the new trigger. My GTM container analyzer shows which tags already fire for your forms, so it is quick to spot.
Do not rely on GTM's built-in Form Submission trigger for HubSpot embeds. It often never fires for these forms, and when it does it can count failed submits too. Keep the old tag until the new one passes testing, then pause it so you do not count leads twice.
Do this:
- Search GTM tags for hsFormCallback and onFormSubmitted.
- Note the event name it pushes and every tag that uses it.
- Do not switch to the built-in Form Submission trigger.
- Keep the old tag running until the new listener is tested.
- Pause the old tag after the test, so each lead counts once.
Step 3: Add one listener tag that hears both new and legacy forms
This is the tag that fixes the problem. It is a Custom HTML tag with two listeners inside. New forms fire hs-form-event:on-submission:success on the window. Legacy forms send the hsFormCallback message. Both paths push the same hubspot_form_submit event, so everything after this step works the same for both.
The success event for a new form has no email in it, so the tag asks HubSpot for the field values with getFormFieldValues() and for a unique ID with getConversionId(). It also counts each submit only once. The full code is in my blog post, and there is a ready page with the code and a setup video: my ready HubSpot form listener. Read the code once before you paste it.
Do this:
- In GTM, go to Tags, New, Custom HTML and paste the listener code.
- Set the trigger to Initialization, All Pages, so it loads before the form embed.
- Name the tag cHTML HubSpot Form Listener and save it.
- If your email field has a custom name, add that name to the pick() list in the code.
- Leave the old listener running until Step 4 is tested.
Step 4: Send the lead to GA4, Google Ads and Meta, then test both form types
Create a Custom Event trigger for hubspot_form_submit and data layer variables for form_id, form_version, conversion_id, user_data.email and user_data.phone_number. Add a GA4 generate_lead tag with form_id and form_version as parameters and mark it as a key event. Never send the email or phone to GA4. For the event itself, my my HubSpot and GA4 guide has more detail.
Add a Google Ads Conversion Tracking tag on the same trigger. Use conversion_id as the Transaction ID and turn on user-provided data for Enhanced Conversions. For Meta, fire Lead with conversion_id as the event ID. Then click Preview, submit a test on a new form and on a legacy form, and check form_version in the Data Layer tab. Submit with a required field empty and confirm nothing fires. If you serve visitors in Europe or the UK, test your banner with my Consent Mode checker.
Do this:
- Create the Custom Event trigger for hubspot_form_submit and the five data layer variables.
- Add the GA4 generate_lead tag with form_id and form_version, and mark it as a key event.
- Add the Google Ads tag with conversion_id as the Transaction ID and user-provided data on.
- Add the Meta Lead tag with conversion_id as the event ID.
- Test one new form and one legacy form in Preview, and check that a failed submit fires nothing.
Step 5: Close the loop with HubSpot CRM data and compare the numbers weekly
A form fill is only the first signal. Send qualified leads and closed deals from HubSpot back to Google Ads as offline conversions, so bidding learns from revenue and not just form fills. My my offline conversion guide for HubSpot shows one way to do it with Google Sheets.
Then check the numbers every week. Compare the contacts HubSpot created from the form with the GA4 generate_lead events for the same dates. A small gap is normal. Double the contacts means two listeners are running, and fewer usually means a redirect or a consent problem. If you want someone to check the whole funnel, see what a HubSpot tracking specialist does for clients.
Do this:
- Send qualified leads and closed deals back to Google Ads as offline conversions.
- Compare HubSpot contacts from the form with GA4 generate_lead every week.
- If numbers double, look for the old listener still running.
- If numbers drop on one form, check for a redirect that leaves the page before the tags fire.
- Check on multi-step forms that only the final success event counts.
Quick answers
Why did my HubSpot form tracking stop working in GTM?
Most likely the form was built or rebuilt in HubSpot's updated forms editor. New forms do not send the old hsFormCallback message, so a listener waiting for it never fires and shows no error. Add a listener for hs-form-event:on-submission:success.
How do I know if my site uses new or legacy HubSpot forms?
Open the page, open the browser console and type HubSpotFormsV4. An object means new forms. Type HubSpotForms to check for legacy forms. Many sites have both.
How do I get the email from a new HubSpot form for Enhanced Conversions?
The success event has no field values. Call HubSpotFormsV4.getFormFromEvent(event).getFormFieldValues(), which returns a promise. Field names are prefixed, like 0-1/email, so match the part after the slash. Send the email only to Google Ads and Meta.
Which GA4 event should I use for HubSpot form leads?
Use generate_lead with form_id and form_version as parameters and mark it as a key event. Never send the email or phone number to GA4.
Key takeaways
- New HubSpot forms and legacy forms send different signals, and many sites have both.
- An old listener that waits for hsFormCallback fails quietly on new forms.
- One GTM Custom HTML tag on Initialization can listen for both and push one hubspot_form_submit event.
- Use the conversion ID as the Google Ads transaction ID, and send the email to Google Ads only, never to GA4.
- Test one new and one legacy form, pause the old listener, then compare HubSpot contacts with GA4 every week.
Summary
HubSpot form tracking in GTM needs one listener for both form versions. Forms from the updated forms editor do not send hsFormCallback, so old listeners stop firing without errors. This guide is for marketers and agencies running HubSpot forms with Google Ads. The five steps: check the form version in the console, find and pause the old listener, add one Custom HTML listener, send hubspot_form_submit to GA4, Google Ads and Meta then test, and close the loop with HubSpot CRM data.
Want the full guide with the complete listener code, the test list and the troubleshooting section? It is here: https://mdniamul.com/blog/hubspot-form-tracking-gtm-new-legacy-forms/
Do your HubSpot contacts and your Google Ads form conversions match for last week?
MD Niamul
Conversion Tracking and Web Analytics Specialist, Digital Soldier Agency







