HubSpot form differentiate by name not only ID

davidrichard3
Member

I'm using the generated script for creating a HubSpot Form. However, I would like to have different name for each of the forms I'd use (i need this for use in Google Analytics).  Currently all I have to distinguish them is the ID, is there a way to add name as well?

gzolehana

0 Upvotes
3 Replies 3
webdew
Top Contributor | Diamond Partner

Hi @davidrichard3 ,

Hubspot forms not provide the option to add the custom id or class. you can set up the event in the gtm dashboard and can add the current class of the form. Please Refer:- https://www.hallaminternet.com/using-google-analytics-event-tracking/
https://medium.com/@dillonjones/the-easiest-way-to-setup-hubspot-form-tracking-in-google-analytics-a...

Hope this helps!


If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards. 

FIys
Member

In hubspot form I am also facing the same issue while making it and need to understand am I doing something wrong or there is an error in the code? Please guide me to solve it and fix it in myNafaz  project.

0 Upvotes
CSong4
Member

In hubspot shape I am also dealing with the same problem even as making it and want to recognize am I doing some thing wrong or there may be an errors in the code? please help  me I am still waiting.

0 Upvotes