Lead Capture Tools

AbbeyFMO
Member

Can 'Collected Forms' work with my AJAX form?

SOLVE

We recently relaunched our website in a custom CMS (Umbraco). We're custom building our forms. I'm testing the Collected Forms feature, and most of our forms are picked up just fine, but one form is not.

 

It's a form I had trouble tracking with GA/Tag Manager as it uses AJAX to submit, and doesn't push a form submit event into the data layer. Because of that it never triggers the GTM Event Listener and therefore, never creates a GA event/goal. I got around that by asking a developer to force an event with the name 'CalculatorSubmit' which I could use as my GTM trigger instead of the built in form listener.

 

So the question here is - is there a workaround I can do to get Hubspot collected forms to pick up on form submits?

0 Upvotes
1 Accepted solution
roisinkirby
Solution
HubSpot Product Team
HubSpot Product Team

Can 'Collected Forms' work with my AJAX form?

SOLVE

Hey @AbbeyFMO I'd reccommend submitting this query to the HubSpot Developers Forum, where our community of HubSpot and partner engineers will be able to investigate and suggest any best workarounds. 

 

Should it be of help, I also found this answer on GitHub: https://gist.github.com/hijonathan/9898070

View solution in original post

0 Upvotes
1 Reply 1
roisinkirby
Solution
HubSpot Product Team
HubSpot Product Team

Can 'Collected Forms' work with my AJAX form?

SOLVE

Hey @AbbeyFMO I'd reccommend submitting this query to the HubSpot Developers Forum, where our community of HubSpot and partner engineers will be able to investigate and suggest any best workarounds. 

 

Should it be of help, I also found this answer on GitHub: https://gist.github.com/hijonathan/9898070

0 Upvotes