I am in the habit of using the onFormSubmit attribute with hubspot forms to allow Google Tag Manager to send an event to Google Analytics as follows.
window.dataLayer = window.dataLayer || ;
Has anyone else any experience with this or any suggestions about next steps? Any reason why it should not fire sometimes? I should say that whenever i test this myself it works just fine