Help with HubSpot tracking across root/sub-domain forms

Hi All,

I’m hoping someone can get me pointed in the correct direction so that I can guide our development team on the best process here. Here is our use case:
1. We have a public-facing marketing website with HubSpot installed. This site (www.mystudio.io) has several HubSpot CTA’s installed. For instance the “Schedule Demo” buttons.

2. When a website visitor engages with a CTA (e.g. “Schedule Demo”) we can track all the varied bits of visitor data that are important to us. A contact is created and, for example, if they came to our site via a Google Ad, we are able to track the specific ad. Additionally, we are able to see a user’s journey throughout our website (i.e. the pages they visit, etc). This is working great.

3. However, when a user clicks “Start Free Trial” they are taken to a sub-domain that hosts our web app. To begin a trial, a user fills out a non-Hubspot form and is granted access to the web-app platform for a trial.

4. We want to maintain the same degree of tracking when a user begins a trial with us. However, even though HubSpot is installed in the web app code, we are not maintaining the tracking once the user is passed from our root domain (marketing site) to the sub-domain (web app).

Following is a quick screen capture of the issue in hopes of supplying clarity.

https://drive.google.com/file/d/1oKcWdB8lB4pKmhmZQ5EgPTxU1TWR_wDb/view?usp=share_link

Hi, @DMillerMS :waving_hand: Welcome to our community! Thanks for your questions.

Here are a few resources:

Hey, @ankitparmar09 @elizheleva @KMurota @JBeatty, have you been successful with setting up tracking like this recently?

Thank you for taking a look! — Jaycee

@Jaycee_Lewis thank you for the information. I appreciate the input.

Hi @DMillerMS ,

A few questions before I can investigate further.

  • are the contacts coming in if someone registers/signs in on the portal at all, i.e. do they come in without the needed interaction and source data, or are they not coming in at all?
  • if they are coming in, what is the Original Source showing as?
  • if there are people starting the chat (as I can see that’s live from Hubspot), do those get into the system with the correct source?

One of the reasons I’m asking is because I can see that the form is multi-step in a pop-up. With this in mind, depending on how the code is rendered, that may interfere with the loading of the Hubspot script and with that, with the tracking.

I am interested to know if the pop-up is necessary, or you can have the form with the SSO just added on the screen, i.e. so it renders as a part of the full code.

Here’s another thread talking about incorrectly attributing sources for SSO contacts. That might add some further insights on what might be happening.

Thanks,

Eli

Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.

@elizheleva Thanks for the questions and looking at this. To your questions:

  • are the contacts coming in if someone registers/signs in on the portal at all, i.e. do they come in without the needed interaction and source data, or are they not coming in at all?
    • A: We are seeing users enter HubSpot via “other” forms on the portal/app. Ironically these submissions are unwanted (another issue we need to address). But to your question/suspicion we are seeing contacts come in from non-HubSpot forms on the portal that are not the desired enroll/register for trial forms. Perhaps supporting your suspicion that the coding of the enroll/register form (via modal pop-up) is a cause.
  • Q: if they are coming in, what is the Original Source showing as?
    • A: Original Source for the form submissions (albeit unwanted) that are coming in is “Direct Traffic”.
  • Q: if there are people starting the chat (as I can see that’s live from Hubspot), do those get into the system with the correct source?
    • A: It appears that contacts created from a chat session have “Direct Traffic” as their original source.

I appreciate the input and any additional thoughts.