Tracking forms in GTM


@AChristensen2 wrote:

Thank you for answering!
We have a lot of different forms and are constantly adding new forms to the website, so I would like a solution which listens after some kind of identifyer, so I don’t have to constantly change the tracking, hence adding new form ids. Is it possible? Can I add some kind of identifyer to the form in HubSpot or is there another solution?


Unfortunately if you only want to capture some forms as you have mentioned, then you will have to set this up on a case by case basis where you want to track the forms. Otherwise you would setup tracking to look at all form submission events. You could capture the hs-form-guid to populate an event parameter and then use Google Data Studio to show reporting per form or if you want to use a form across multiple pages, you could also use the event parameters to capture the URL or other pieces of information to dissect in Data Studio.