APIs & Integrations

ASavaliya
Participant

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hey All,

 

I use hubspot tracking code and i also set email as identity for hubspot contact.

but when some login my web app and this user are not in hubspot contact.

Then hubspot automatically created contact based on email id.

 

So i to to prevent this.

 

Thanks

Ankur Savaliya

0 Upvotes
1 Accepted solution
Oscar1
Solution
Contributeur de premier rang

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hey Ankur,

 

Not sure about this, as I'm not a developer. Something it might work out, if you've added the HubSpot tracking code with GTM, you can add an exclusion rule on this page so that the tracking code doesn't load there. It's not the cleanest solution but will do the work I reckon.

View solution in original post

4 Replies 4
Oscar1
Solution
Contributeur de premier rang

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hey Ankur,

 

Not sure about this, as I'm not a developer. Something it might work out, if you've added the HubSpot tracking code with GTM, you can add an exclusion rule on this page so that the tracking code doesn't load there. It's not the cleanest solution but will do the work I reckon.

Oscar1
Contributeur de premier rang

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hey @ASavaliya , basically you have to disable "collect data from website forms":

 

Captura de pantalla 2021-01-22 a las 9.14.17.png

 

Hope that helps!

ASavaliya
Participant

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hey @Oscar1 

 

I don't want to turn off non-hubspot form.So is there any other way to stop this by doing java script in my code.

 

Thank you

Ankur Savaliya

0 Upvotes
dennisedson
Community Manager
Community Manager

Prevent to add contact automatic form hubspot tracking code

SOLVE

Hi @ASavaliya !

I wonder if @Oscar1  or @IvanGil might have some ideas here

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes