How to fix HubSpot form attribution for Google Ads traffic?

Hey everyone! I’m having trouble with my HubSpot form on my website. When people come from Google Ads, it’s not tracking right. The form shows all visitors as “direct traffic” instead of from ads. I’m confused about how the tracking works. Do I need to send data myself to make it work properly?

I’ve looked through HubSpot’s docs but couldn’t find a clear answer for my situation. Maybe I missed something? If anyone knows where to find good info on this, I’d really appreciate it!

Here’s a simplified version of how I’m using the form with Vue:

import { onMounted } from 'vue'
import { MY_PORTAL_ID } from './config'

export default {
  props: ['formId'],
  setup(props) {
    onMounted(() => {
      loadHubSpotScript().then(() => {
        window.hbspt.forms.create({
          portalId: MY_PORTAL_ID,
          formId: props.formId,
          target: '#hsform-container'
        })
      })
    })
  }
}

function loadHubSpotScript() {
  // Code to load HubSpot script
}

Any ideas on what I might be doing wrong? Thanks in advance for your help!

I encountered a similar issue with HubSpot form attribution for Google Ads traffic. The solution that worked for me was implementing cross-domain tracking. This involves setting up proper linking between your website domain and the HubSpot domain.

To do this, you’ll need to modify your Google Ads destination URLs to include specific parameters. Additionally, ensure your Google Analytics and HubSpot tracking codes are correctly implemented on all relevant pages.

It’s also worth checking if you have any ad-blocking or privacy extensions active in your browser, as these can interfere with proper tracking. If the issue persists after these steps, I’d recommend reaching out to HubSpot’s technical support for a more in-depth analysis of your specific setup.

have u tried adding utm parameters to ur google ads urls? that might help hubspot track the source better. also, check if ur site’s cookie settings r blocking tracking. sometimes that messes things up. maybe reach out to hubspot support directly? they might have more specific troubleshooting steps for ur setup.

I’ve dealt with this exact problem before, and it can be really frustrating. One thing that helped me was making sure I had the HubSpot tracking code installed correctly on all pages, not just the form page. It’s easy to miss that.

Also, double-check your Google Ads account settings. Sometimes the auto-tagging feature can interfere with HubSpot’s tracking. You might need to disable it and manually add UTM parameters to your ad URLs instead.

If those don’t work, look into using HubSpot’s ‘hubspotutk’ cookie. You can pass this to the form on submission to improve tracking accuracy. It’s a bit technical, but there are guides online that walk you through it step-by-step.

Lastly, don’t forget to give it some time. HubSpot’s attribution can take a day or two to update fully. Hope this helps!

yo, i had a similar headache w/ hubspot forms. have u checked ur google ads auto-tagging? sometimes it messes w/ hubspot’s tracking. try turning it off & adding utm params manually to ur ad urls. also, make sure ur running the latest hubspot tracking code on ALL pages. that fixed it for me!