Skip to main content
Answered

Storing the source of leads from UTM parameters in the URL

  • 26 May 2022
  • 3 replies
  • 114 views

Hey there,

I’m trying to see if there’s a way to store the source of leads from a form by pulling the UTMs from the URL.

I found the documentation that we can manually create hidden fields, but what I’d like to do is add the UTMs to the end of my form link like this: 

accct.typeform.com/to/IXwFkyu1/?utm_source=dynamic-source&utm_medium=social-media&utm_campaign=campaign-name&utm_term=dynamic-term&utm_content=dynamic-content

And have the UTMs stored with the form submission.

What’s the best way to do this?

3 replies

Userlevel 7
Badge +5

Hi @breezy19 

you can use transitive search params feature of the embed SDK. Just list which params should be copied from your host page URL.

Userlevel 7
Badge +5

Hi @breezy19 Were you able to set this up? Let us know how it went!

Userlevel 3
Badge

Hi @breezy19, I'm Sun and I'm a product manager here at Typeform working on Insights and I'd love to better understand how you use UTMs and hidden fields to track the success of your forms and customer outreach efforts. If you're free to chat, I'd love to talk - to make things easier, you can find time with me here.

Reply