JS tracking code: How to avoid registering unrelevant forms

Hello,

I have the JS tracking code set up on my public website (handle by my own code), on the private part (same code/url than public) and the blog (handle by Hubspot). I use the chat and tracking.

On public site and private chat, I use tracking code for the chat feature. On the private side, the chat feature is used as support chat. Problem is that for example when a user connect to his account, he use the email + password form, which is registered by Hubspot, I don’t want that happening. Same thing for all the forms in the private part of the site.

Is there a way to prevent the JS tracking code form listening to form submit event ? Maybe all at once or just some forms ?

Thank you :slightly_smiling_face:

Hey @Belibaste !

Welcome to the forums!

I want to introduce you to this guy who is a freaking rock star (don’t tell him I said that) @tjoyce

Sir, how would you go about this?

@dennisedson - you’re the real rockstar here… but I still want my chicken parm

Hi @Belibaste - This solution by @garrett9 seems the most promising.

https://community.hubspot.com/t5/Lead-Capture-Tools/Ignore-a-specific-non-Hubspot-form-from-being-collected/td-p/246957

Garrett, do you know if this workaround is still valid?

Still using it currently, so yep!

Hi

Thank you for your answers. I have find this which is exactly what I needed, thanks to @tjoyce : Use non-HubSpot forms