On the following page: https://www.hellotalent.com/request-free-demo/ the form submit event does not always work. What is weird is that intensive test shows it works about 50% of the times.
We have inserted a slightly modified forms code to be able to better track what is happening and the form.onSuccess event is never called. In fact, when the form fails, the lead is not inserted, leading to think that the save2 endpoint is not called. The console shows no error related to the forms2 API nor the save2 endpoint.
Any idea ?
It's because you have other code (loaded via GTM) that's attempting to "decorate" the form and has a race condition that causes the native submit event to abort.
When using Marketo forms, make sure that all decoration/enrichment/pixels work within the Marketo API event model, not outside it.