Referrer/utm parameters not captured in form submission
SOLVE
According to this community post, Hubspot captured refferer/utm data across multiple pages as captures this information in form submissions.
I'm testing this and it isn't working.
- We're using Hubspot website pages with Hubspot forms - I browse to site.com?utm_source=google&utm_medium=cpc&utm_campaign=123, a subsequent page with a form, and submit - I'd expect the contact to be classified with Original/Latest Traffic Source = Paid Search, but it is Direct
What are reasons it might not be working and how can I troublehshoot this?
Referrer/utm parameters not captured in form submission
SOLVE
@EPark196 if you don't have a cookie banner but are still setting cookies, you might want to set up a cookie banner 😉
Do you have the tracking code installed, or are these HubSpot pages? Have you used the browser inspect tools to check whether cookies are actually being set?
Unless cookies are present at the entry and still there at the time if the form submission, typically requiring acceptance of the cookies, HubSpot cannot gather this information.
Also make sure that there aren't any privacy features or extensions in your browser active. It's best to test in a private tab of a vanilla installation of browser without strong privacy features. (Brave would for example be a bad choice for testing. So would Firefox with ublock etc.)
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
Referrer/utm parameters not captured in form submission
SOLVE
If HubSpot’s not picking up your UTM data, it’s usually because the tracking code isn’t firing on all pages, or you’re using non-native forms.
Make sure you’re using HubSpot pages and forms, the tracking code is working everywhere, and test in an incognito window going straight from the UTM link to the form.
Referrer/utm parameters not captured in form submission
SOLVE
If HubSpot’s not picking up your UTM data, it’s usually because the tracking code isn’t firing on all pages, or you’re using non-native forms. Make sure you’re using HubSpot pages and forms, the tracking code is working everywhere, and test in an incognito window, going straight from the UTM link to the form. That should help narrow it down.
We are using Hubspot pages and I have confirmed that the cookies described here are being set. After clearing cookies and visiting a hubspot page, I see __hstc, __hssrc, __hssc, and hubspotuk.
I browse to site.com?utm_source=google&utm_medium=cpc&utm_campaign=123, a subsequent page with a form, and submit
In your test, do you have a cookie banner set up and accepted cookies? If not, are parameters propagated from page to page? Without, the parameters will not be captured.
Best regards
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
To answer your questions, we do not have a cookie banner and parameters are not propogated from page to page. The post referenced above says that referrer and utm info is stored within cookies and then captured in forms, but it isn't working for us.
Referrer/utm parameters not captured in form submission
SOLVE
@EPark196 if you don't have a cookie banner but are still setting cookies, you might want to set up a cookie banner 😉
Do you have the tracking code installed, or are these HubSpot pages? Have you used the browser inspect tools to check whether cookies are actually being set?
Unless cookies are present at the entry and still there at the time if the form submission, typically requiring acceptance of the cookies, HubSpot cannot gather this information.
Also make sure that there aren't any privacy features or extensions in your browser active. It's best to test in a private tab of a vanilla installation of browser without strong privacy features. (Brave would for example be a bad choice for testing. So would Firefox with ublock etc.)
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer