Collecting data from non hubspot forms is an all or nothing scenario. I'd like to be able to limit the collection of non-hubspot-form data to just certain forms. This could be done by URL, or even a form id or something.
We use HubSpot for prospects and new clients, and due to all forms creating contacts we end up with heaps of existing clients in our contact database 😞
I agree with this. It would be a great addition if we can exclude specific non-hubspot forms data getting created as contacts. It can be a simple setting or a class in the form itself like .hs-exclude and the hubspot crawler can simply ignore that.
This is so simple yet would save us so many headaches. We have a form to invite users into our app and it adds those email addresses to the cookied contact as secondary emails. It just needs a simple CSS class that stops it from tracking this form or a section to add a form id or page URL.
I can't understand how this is not possible... If we're not able to choose which forms and how the integrate, the installation of the tracking code becomes pretty redundant...
Such a simple thing to bake into the JS tooling... exclude by some data-attribute in the form, or as others have said by id or url or something. Why is HS not prioritizing implementing this??
Hey folks, I was struggling with this too, as you can see I post on Jan 9 looking for hubspot to do something about this. I'm not sure if this is a new addition to their code, but after digging into the forms collection js that is included on your page when you have the hubspot js snippet I found the following
hs-do-not-collect="true"
If you add this to your <form> tag as either the plain attribute like above, or with a data- prefix as in 'data-hs-do-not-collect="true"' their js will skip intercepting that form's submissions.
This seems to have worked for us to stop polluting contacts with unrelated emails.