Manipulating a Hosted Hubspot Form


Hi there,

I use the full hosted solution for hubspot, so my forms are displayed within hubspot Website Pages. I’d like to use the onFormSubmit attribute to record a conversion in AdWords before the user is directed to the external next page. I can see how to do this with external embedded forms, but can’t get my head around how to implement this on a form displayed on a hosted page.



Hi @Rob_Stevenson

You can’t directly modify the form itself, but there is an event named hsvalidatedsubmit that fires when the form passes validation and is about to submit. You can find some examples of using that event in this thread:


Thanks, this looks like it’s just what i need.