• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

Tracking Hubspot Form Submissions in Google Analytics

DavidBarnes
Member

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.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

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.

Isaac Takushi

Associate Certification Manager

View solution in original post

4 Replies 4
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

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.

Isaac Takushi

Associate Certification Manager
claretta20
Participant

Hi this link no longer works- do you have another? 

0 Upvotes
Jordanwywm
Member

The first link in the instruction is broken and goes to a 404 page

0 Upvotes