Answered

Tracking source of contact on Hubspot - embed forms

  • 20 September 2023
  • 16 replies
  • 244 views

I’m having trouble tracking Hubspot UTK on embed forms. I found this article:

https://www.typeform.com/help/a/using-hidden-fields-with-embedded-typeforms-360029264632/

and it seems that hidden fileds show up on the embeding code

When I connect Hubspot to the form it shows the UTK

 

But the embed code doesn’t show it

What we want is to track different pages using the same form. I can figure it out.

icon

Best answer by Daniel Paris 20 September 2023, 16:50

View original

16 replies

Userlevel 7
Badge +5

Hi @Daniel Paris We changed our embed code to streamline the code itself, but this should still track the Hubspot information. Do you mind sharing the page where you have the form embedded so we can look further into this? 

Thanks in advance!

Hi Liz,

 

Thanks for your reply. I believe that I was missing adding the data-tf-hubspot property to the code snippet to enable the source tracking of this embedded typeform. I believe I did the necessary changes now, But still have not response from my sales team.  Here is one of the landing pages with the form embedded at the very end:

https://www.gs-leaders.com/lp-sales-outsourcing-service

The typeform is the following:

https://08i3yjdm2lq.typeform.com/quiz-socials#hubspot_utk=xxxxx&hubspot_page_name=xxxxx&hubspot_page_url=xxxxx

 

Thank you for your help,

Daniel

 

 

Userlevel 7
Badge +5

Hi @Daniel Paris Ah yes, that would do the trick! If that doesn’t work, let me know. So far, looking at the code on the page, this looks like it should work now. 

Hi Liz,

Sorry it took me so long to reply but was until now that they check if the code was working.

They say still doesn’t work.

I test it yesterday with this page:

https://www.gs-leaders.com/assessment

And the source doesn’t show on Hubspot (attached image)

Here is the embed code:

<div data-tf-live="01HA1V7YBFG9SPE1WF2E3T1VTX"data-tf-hubspot></div><script src="//embed.typeform.com/next/embed.js"></script>

I really don’t know what i’m missing here.

 

Thanks for your help,

Daniel

 

 

 

I forgot the other screen shot.

Userlevel 7
Badge +5

@mathio you don’t happen to know why this wouldn’t be working by chance? It looks like they have everything setup correctly, but I’m not sure if anything with Hubspot changed after the live embed feature was released. 

Userlevel 7
Badge +5

Hello Daniel,

you should not put the data-tf-hubspot attribute into your live embed code. All you need to do is enable the Hubspot integration tracking on the share page and it should do the trick automatically.

Hi Mathio,

This the first thing I did days ago and it didn’t work.

Here is the page link:

https://www.gs-leaders.com/assessment

 

Here is what we got after the test on Hubspot this morning:

 

Userlevel 7
Badge +5

According to our help center article there should add Hubspot script (from js.hs-scripts.com domain) into your website. This script is supposed to set cookie called hubspotutk and its value is used by your embedded typeform. I see you have the script in your website, however the cookie is not set. I am sorry but I dont know why as this is on the Hubspot side of the integration.

Can you see if the hubspotutk cookie is set in your browser?

 

Hello, 

I have an full page embedded Typeform at https://www.butterpayments.com/contact-us-step-1. However when individuals are submitting this form on my site it is coming through as “Referrals” for “latest source”. How can I make sure this Latest Source isn’t updated to referral? 

 

Userlevel 7
Badge +5

Hi @ckirkwoodm I added your post here where we have an existing conversation about this. Let us know if the solutions above don’t work. 😀

@Liz are you able to point me to the exact part of this thread I should be referencing? Still a little confused on what the suggestion is.

Userlevel 7
Badge +5

Hi @ckirkwoodm You’ll want to reference this answer: 

According to our help center article there should add Hubspot script (from js.hs-scripts.com domain) into your website. This script is supposed to set cookie called hubspotutk and its value is used by your embedded typeform. I see you have the script in your website, however the cookie is not set. I am sorry but I dont know why as this is on the Hubspot side of the integration.

Can you see if the hubspotutk cookie is set in your browser?

 

 

@Liz I can confirm that the hubspotutk is set in my browser but it doesn’t seem to be passed through the the embedded typeform. Can you provide additional assistance?

Userlevel 7
Badge +6

@ckirkwoodm - if it isn’t passing, suggest you raise a ticket with Typeform Support at tlis link - they can look inside your account and dive deeper into the issue. 

des

Userlevel 7
Badge +5

Hi @ckirkwoodm Were you able to reach our support team? Let us know what they were able to figure out!

Reply