Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
Hi, our Hubspot form is embedded as an iframe on a Wix website, and the conversion has been tracked using Hubspot event listener.
It worked fine for a year until the end of last month (Oct 2022). It stopped tracking in Google Ads for about 4 days, but started working again at the beginning of this month. However, it stopped working again 6 days ago. I tested that GTM container loaded correctly but the conversion is still not tracked in GTM or Google Ads.
Does anyone have suggestions on how I can fix this? Thank you.
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
Joining this thread to see if there has been any feedback from HubSpot or if @derekcavaliero had the chance to do some more testing.
I am working with a customer who experienced the same thing around Oct last year. I am no GTM expert myself, so just wondering if there is a way to troubleshoot/fix the issue of form submissions not reigstering as conversions in GA?
Cheers
Frank
Found my comment helpful? Great! Please mark it as a solution to help other community users.
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
Hi @DSchmidt14 I've found that using the existing form listener script, but without pushing the 'hs-form-guid' into the dataLayer, has now been working. We've been using it for several weeks and so far, so good, no issues at all; so basically the same as your script but with this line removed:
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
@EMartin51 / @DSchmidt14 I do not see these same issues you are describing, if anything it is likely related to a form redirecting the page before the event/conversion is able to complete.
For what it is worth, I have clients using (and referencing) the event.data.id and it does not impact our ability to properly fire conversion scripts. This is likely a specific issue with your configuration and not the callback functioning incorrectly.
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
We're a maerkting agency experiencing the same issue - dozens of our clients are using the same script; was working fine for years, and now they're all having issues and it seems to have stopped working entirely during the last 30 days or so. So definitely not a one-off, I've tried modifying the script but the listener doesn't recognise any of the callbacks I've tried. Pretty bad, I hope they release an update on https://legacydocs.hubspot.com/global-form-events or address it here - or if anyone has found a fix, that would be great 🙂
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
We're also an agency and use these callbacks in some proprietary software and haven't had any issues with them in that same timeframe. Can you DM me some additional URL examples so I can take a deeper look?
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
@DSchmidt14 The issue you have is that you are embedding a form that is embedded in another page via a manual <iframe>. That would mean that the postMessage event that the form emits on submit is happening in the context of the info.discoveryspotlight.com/entertainment-education-endowment page. You should check GTM to see what your trigger conditions are for using that dataLayer event - perhaps something did change (even if small) that is causing issues. The form callbacks seem to be working as intended.
Hubspot form conversion stopped tracking in Google Ads / Google Tag Manager
Interesting, if that is the case then HubSpot changed something on their end with how the global callbacks work - which would be very bad for a lot of businesses that rely on these features working as described in their docs. Let me run some tests and see if I can replicate.