Tracking Hubspot Form Submissions in Google Analytics


Is it possible to track Hubspot form submissions in GA?

Looking into how this can be accomplished. From what I can tell there's no way to add a class or id to each form.


Welcome, @DavidBarnes.

Yep, it's possible to modify a HubSpot form's embed code and add a GA callback within the onFormSubmit event.

Here are some related articles:

You'll have to embed the form within a custom HTML module on your template or page rather than the default Form module to modify the embed code.