Skip to main content
Answered

Passing through UTM data from LP to TF (non-embedded)

  • January 17, 2023
  • 2 replies
  • 161 views

HI, 

 

We are looking to pass traffic source / medium / campaign data from our landing page (where it tracks acurately) to our TF URL that sits on a subdomain, so that we can split out form completions etc. by traffic source - currently tracking traffic on the TF URL shows as ‘direct’

 

I realise similar questions have been asked several times here but it seems they tend to focus on situations where the tyepforms have been embedded rather than living on a separate URL. e.g. in this answer “Passing UTM across landing page and then to TF” the eventual solution was to embed the forms and in this answer “How to see the traffic source of conversions” again the typeform is embedded

 

I’m wondering if there’s a simple way that our source / medium / campaign data (nearly all of which is facebook / cpc, google / cpc, google organic, facebook / referral - can be passed into the typeform - I do have utm tracking activated for the typeforms - they currently show up as blank as I assume the utm data gets ‘lost’ when clicking from the landing page to the typeform URL. We are on a wordpress site.

 

Any ideas much appreciated

 

Thanks!

Best answer by Liz

Hi @olesia You would need to have the form embedded on the page in order to pass in the hidden fields/UTM information easily. 

Otherwise, you would need to create a code that can capture that data and input it into the URL. 

2 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • January 17, 2023

Hi @olesia You would need to have the form embedded on the page in order to pass in the hidden fields/UTM information easily. 

Otherwise, you would need to create a code that can capture that data and input it into the URL. 


Forum|alt.badge.img+1
  • Navigating the Land
  • February 4, 2026

When you say ‘pass them to a subdomain’, is the Typeform embedded on a website that is on a subdomain? Or are you referring to a hosted Typeform form?

 

If it’s a hosted Typeform form sitting on a subdomain, then you would need to do ‘link decoration’ which is essentially writing some code that remembers the UTM parameters when the visitor lands and then adds them back to the URL whenever someone clicks a link over to your Typeform-hosted form. It requires custom code and is quite clunky to maintain (I’ve had to do it before and it breaks often as you add new pages, change pages, etc).

 

Your best bet is to embed the Typeform onto a page (even if it still on a subdomain). Tools like Attributer.io can scapture the UTMs when a visitor first lands, store them (even across subdomains) and then write them into hidden fields you add to your Typeform. It only works with embedded Typeform, but it is DEFINITELY your better option (the link decoration method sucks)

 

Source: I am the founder of Attributer.io and have been in marketing ops for 15 years (and have done both the embedded Typeform method and the link decoration method in the past).