Conversion tracking in new form editor

JAalbers

The new form editor doesn't support conversion tracking when embedding the form on external pages. It should be a basic functionality of this editor, because now you can't send conversions to Google Ads and other platforms. 

Please also check this forum thread.

8 Replies
jjones41
Contributor

+1 We do quite a lot of form collection for upsell/cross-sell. We create ne contact records only rarely. Because of that, source tracking for form submissions is extra tedious. However, we could get pretty good data from GA4 through GTM with the HubSpot form listening script. The new form editor offers a much better user experience for as since it allows us to conditionally redirect on submission. For the user's sake, we are using that new functionality, but it is hurting our source tracking.

HKotara
Participant

We were hoping to upgrade our whole site by both (1) recreating all the forms in the new form editor and (2) updating the analytics tagging to be triggered from the form itself rather than our frontend website code using the form listener events. 

 

Very disappointing that it's not possible and that the external tracking functionality wasn't considered before launching the new form editor. 

MABlackford
Member | Platinum Partner

Just ran into this same issue, and it still does not work in GTM. This is just the latest in the trend of Hubspot "upgrades" breaking everything else around the functionality. 

DTran70
Member

It's embarrassing this wasn't scoped for launch. There's dozen of articles about this very topic. 

 

If it hasn't been implemented by now, something tells me it's next gonna come

Chris_Bronc
Participant

Is there any other way to capture those?
Using Gtm form submit event makes no sense, becase its sent without validation.

The only way I can think of is adding a thank you page.

 

JAalbers
Contributor

@Chris_BroncOne possible solution is to redirect users to a specific URL after form submission. You could create a generic thank-you page and pass relevant information via URL query parameters, such as ?form_id=1&prev_url=/form-page&form_title=Title. These parameters can then be used to identify which form was submitted, for example, by including them in a GA4 event for tracking purposes.

RobertColson
HubSpot Employee

Hi all, HubSpot employee here!

I've researched internally, and our team suggests that the new form editor (i.e., Forms 2.0) uses a different event name. Kindly refer to the New Form Global Events doc to set up form events with GTM. For anything dev- or troubleshooting-related to this topic, it would be best to consult HubSpot Developer Support or the Developer Community.

 
benoitd9
Member

Thank you Robert! The documenation was helpful thanks for sharing.

 

window.addEventListener('hs-form-event:on-submission:success', (event) => {
    console.log('User successfully submitted the form!');

});