Ignore a specific non-Hubspot form from being collected
SOLVE
Hey there!
Is there an option to keep the "Collect data from website forms" option enabled, but to somehow mark a few forms to be skipped by the Hubspot form tracking JS code?
I vaguely recall there was some markup feature, but,forthelifeofme, I can't find any evidence to that.
Ignore a specific non-Hubspot form from being collected
SOLVE
I noticed that when you specify in HubSpot to collect info from non-HubSpot forms, it attempts to add the script collectedforms.js to your website. However, before doing so, it checks to see if it's already installed by using the document.getElementById method where the ID is CollectedForms-1234 (1234 is the ID at the end of your tracking script). Therefore, if you simply put any HTML element on your page with that ID, such as
<span id="CollectedForms-1234"></span>, it won't install the collectedforms.js file, meaning it also won't collect information on your non-HubSpot forms. While still a hack, it doesn't force you to change your forms, and it's much easier to conditionally add it based on where the user is in your app. Just be sure that this element exists statically on your website, and isn't loaded dynamically.
Ignore a specific non-Hubspot form from being collected
SOLVE
Although this feature is not yet available. This is a workaround I found useful, but you need Pro or higher in order to access workflows:
Basically, trigger is to be any form submissions on your specific Non-Hubspot form. Then, in my case I inputed a timestamp simply because I want to review any contacts that got created before that timestamp. Yet it might not be needed if you need not review them.
After this, I simply added a small delay, and chose the option to Delete Contact as an action.
Ignore a specific non-Hubspot form from being collected
SOLVE
I have a few WordPress forms that are integrated with hubspot. I don't want to create a contact for a particular form. for instance, for a form on my career page - I don't want to include the submissions as a marketing contact.
Where do I add the above code? as I cannot edit any non-hubspot form.
Ignore a specific non-Hubspot form from being collected
SOLVE
I noticed that when you specify in HubSpot to collect info from non-HubSpot forms, it attempts to add the script collectedforms.js to your website. However, before doing so, it checks to see if it's already installed by using the document.getElementById method where the ID is CollectedForms-1234 (1234 is the ID at the end of your tracking script). Therefore, if you simply put any HTML element on your page with that ID, such as
<span id="CollectedForms-1234"></span>, it won't install the collectedforms.js file, meaning it also won't collect information on your non-HubSpot forms. While still a hack, it doesn't force you to change your forms, and it's much easier to conditionally add it based on where the user is in your app. Just be sure that this element exists statically on your website, and isn't loaded dynamically.
Feb 4, 202211:36 AM - edited Feb 4, 202212:13 PM
Member
Ignore a specific non-Hubspot form from being collected
SOLVE
Strike what I asked below, definitely still valid! Thanks @garrett9
Hi @garrett9 does the above fix still apply? I've tried looking for collectedforms.js or any elements with an id like "CollectedForms-" but can't find either in the source...
Ignore a specific non-Hubspot form from being collected
SOLVE
This is the only solution that worked for me, the "hack" of inserting a label with a required field like "amex" and such, works partially... it doesnt register the submissions, but it still auto-creates the form on Hubspot, and notifications by email still arrive (weird).
Ignore a specific non-Hubspot form from being collected
SOLVE
This works well for one page. but I have 3 pages I need to remove these froms. Essentially we hire low wage workers and these days about 80% don't even show up for work so I don't want to add hundreds of people a month into Hubspot that don't serve a purpose.
Our website has clients dashboard login as well, we have implemented the hubspot tracking code on all pages of the website including the one which has the dashboard. We have several non-HubSpot forms in our dashboard that are not created in Hubspot. Now everytime a client fills one of those firms, Hubspot is capturing it and also sending an email for the same. How can we stop data getting collected from these forms automatically?