Skip to main content
Question

Dynamic URL Transmission

  • January 24, 2025
  • 2 replies
  • 40 views

Hello,
I would like to install a single “standard” typeform on +50 pages of a site. I need to have for each response on typeform, the url from which the user filled in.

I asked support, but my understanding is that you can only enter hidden fields manually (so I would have to create +50 typeforms, 1 for each page). I wanted to understand if there is a way to transmit the entire URL from which the user fills in (not just the UTM)

Thanks

2 replies

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

Hi ​@Paolo Battaglia Thanks for stopping by the community! The support team is definitely right on this one. It wouldn’t be possible to have a URL within a URL, so I would suggest having a keyword for each page so you know what the hidden field variable is referencing! 


Forum|alt.badge.img+1
  • Explorer
  • March 9, 2026

You are correct that Typeform's built-in hidden fields require you to manually set the values, which would mean creating separate forms for each page. Definitely not ideal when you have 50+ pages!

The good news is there are a couple of ways to solve this without creating multiple forms.

You could write some custom JavaScript to dynamically populate a hidden field with the current page URL when the form loads. This would involve adding a script to your site that detects the Typeform embed and injects the current `window.location.href` into a hidden field you've added to the form.

Alternatively, there are tools like Attributer.io that can handle this automatically for you. When someone submits your Typeform, it captures the URL of the page where the form was filled and writes it into a hidden field at the moment of submission. It is then captured with the form submission.

As a bonus, you'd also get the landing page URL (the URL of the page where the visitor first arrived), plus any UTM parameters, referrer data, and other attribution information.

The benefit of using a dedicated tool is that it works reliably without you having to write and maintain custom code across 50+ pages. It captures the page data at the exact moment the form is submitted, so it's always accurate regardless of how users navigate your site.