Skip to main content
Question

How can I integrate Typeform with HubSpot and Google Analytics in such a way that I know where the users are coming from (Google Organic, Google Paid, Referral, etc.)?

  • January 13, 2025
  • 6 replies
  • 95 views

Hi everyone, I have read through the threads, but my question is somehow not answered. I have integrated my typeform forms on my website with the CMS “Contao”. I just inserted the code and it works great. But: Unfortunately, my Typeform forms always only display “directly via unknown source”. The website is linked to Hubspot and Google Analytics. The source in Hubspot is displayed via other forms on the page. My Typeform forms are also linked to Hubspot and Google Analytics and I have set the sliders for “Form settings” and “Tracking” to “on” (Utm_source, Utm_medium) etc. today. Can you help me? What else could be the problem? 

The embeded code is: <div data-tf-live="01JD4HBP7XPDN96ATF9FAK279C"></div><script src="//embed.typeform.com/next/embed.js"></script>


I changed it to: <div data-tf-live="01JD4HBP7XPDN96ATF9FAK279C" data-tf-transitive-search-params=""></div><script src="//embed.typeform.com/next/embed.js"></script> but nothing changed.

The page it’s embeded is: https://guud-benefits.com/preise

Do I need to change the URL? I do understand why and how..

6 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • January 13, 2025

Hi ​@AlinaEf Happy Monday! Thanks for stopping by the community. You may possibly just be missing a simple step, such as saving the code/settings in the typeform builder. Do you mind checking the steps here to ensure each one has been done? 

Let me know if so!


  • Author
  • Explorer
  • January 14, 2025

Hi ​@Liz thanks for your reply! I did all the steps and also saved and published the form. The only point from the list that I don’t understand is:

7. Make sure your website URL includes the UTM parameters you activated: utm_source and utm_medium. It should look something like this:

www.mywebsite.com?utm_source=newsletter&utm_medium=email

Is this relevant for me since I embedded the form in the website?


  • Author
  • Explorer
  • January 17, 2025

Any idea or hint ​@Liz ?:)


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • January 22, 2025

Hi ​@AlinaEf Yes! You’ll definitely want to make sure your URL still has those parameters in them. (I believe I just mentioned this in another post with you - sorry, I just now realized that my answer there related to your question here!).


Forum|alt.badge.img+1
  • Navigating the Land
  • March 5, 2026

It sounds like you are wanting the same tracking you get in HubSpot when using HubSpot forms (it shows where they came from in the contact timeline and also populates it in fields like Original Source, Original Source Drilldown 1, etc), but you are nto getting it with Typeform.

You have two options:

The first is to use Typeform's built-in UTM capturing feature to capture the UTM parameters and then send them to Hubspot. The issue with this approach is that Typeform's built-in UTM capturing only works if someone completes the form on the exact same page they initially landed on. So if a visitor clicks one of your ads and lands on your homepage with UTM parameters, but then navigates to your pricing page (where the Typeform is embedded) and completes the form there, the UTMs are no longer in the URL and won't be captured.

The second options is to use tools like Attributer.io. It captures the UTM parameters when someone first lands on your site and stores it in a first-party cookie. Then, when they eventually complete your Typeform on any page, it automatically writes that original attribution data into hidden fields. Since you already have the Typeform to HubSpot integration set up, the data would flow through automatically.

As a bonus, it also captures attribution information for visitors who come from organic channels without UTM parameters (like Organic Search, Organic Social, Direct Traffic, etc.), so you'd get a complete picture of where all your leads are coming from, not just the paid ones.

It would be very similar to the data you get when using a HubSpot form, but it works with Typeform forms.


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • March 5, 2026

@azisbak - I see that you have posted many times about how Attributor.io can do this in/with Typeform.

I also note that your the founder of Attributor.io (from other posts) and that your website highlights the integration with Typeform. What Isn’t very clear is exactly how you have done this in a working typeform ie the set up  etc. 

Could you please create a post that shows step-by-step how your tool works with Typeform? The potential offered by your tool is wonderful but it’s hard to tell exactly how it integrates with a typeform. 

 

cheers

des


Forum|alt.badge.img+1
  • Navigating the Land
  • March 6, 2026

@john.desborough Thanks so much for asking!

I put together this video to show how it works:
 

 

Let me know if you have any other questions
 

Aaron