Our company has 2 websites for example
https://www.mycompany.com
https://app.mycompany.com
The first one is our main public facing website whcih we want to track visits and form submissions on. The second is our application, our main SaSS product and here we just want to use Hubspot for customer feedback surveys.
The problem we have, is we need to include the Hubspot tracking code on both sites, however our main app has many web forms in it and they are filling our Hubspot account up with loads of “non-hubspot forms” and it is messing with a lot of our workflows.
I have looked into the workarounds and making the forms non compliant with hubspot is not really an option for us. We have a lot of forms and it would be too much maintenance.
Another work around to disable form tracking at account level will not work, since we still want to collect forms for the public facing site.
I had also tried the following code I found in a forum, but it didn’t seem to work.
// When the script loads, disable tracking as we do not want all page visits and form submissions in the app to show in hubspot
var \_hsq = (window.\_hsq = window.\_hsq \|\| \[]);
\_hsq.push(\["doNotTrack"]);
\_hsq.push(\[
"trackEvent",
{
id: "DisableFormTracking",
value: 0,
},
]);
So my question is, how can we have the Hubspot tracking code on https://app.mycompany.com but not track form submissions.