Hi, I see that in HubSpot external form data colleciton and contact creation is a global setting. This is already a bit annoying but that said didnt seem like a big issue until recently I noticed that when people use the password reset on the website it creates an account for them even if they type the wrong email in. Does anyone know how to stop HubSpot plugin or JavaScript from preventing a specific page from loading those scripts or perhaps tell it to not collect data from that form? This may be impossible but I figured asking if anyone found a workaround to this? Thanks!
Hey @JHarburg - thanks for posting in the Community!
I’d like to tag in a few Community experts to see if they have any insight on whether or not there’s a workaround for this particular instance. @Phil_Vallender, @Mike_Eastwood, and @alyssamwilie - any thoughts here?
Shane, Senior Community Moderator
Hey @JHarburg,
The easiest fix is to turn off “Collect data from website forms” entirely in your HubSpot account (Marketing > Forms > Non-HubSpot Forms tab). That stops it site-wide, no more junk contacts from reset pages.
For just that one page, add this JS snippet right before the HubSpot tracking code loads: var _hsq = window._hsq || []; _hsq.push([‘doNotTrack’]);. It blocks tracking and form capture completely there without messing up the rest of your site. If it’s a HubSpot hosted membership page, tweak the template to skip loading the tracking script conditionally.
No perfect per page toggle exists, but this combo works for most folks. Hit me up if you need code tweaks!
Did my answer help? Please mark it as a solution to help others find it too.