Lead Capture Tools

AbbeyFMO
Membre

Can 'Collected Forms' work with my AJAX form?

Résolue

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 Votes
1 Solution acceptée
roisinkirby
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Can 'Collected Forms' work with my AJAX form?

Résolue

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

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
roisinkirby
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Can 'Collected Forms' work with my AJAX form?

Résolue

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 Votes