Is there a way to pass URL parameters to hidden fields? I’ve followed this article’s advice of having the parameter getting passed through under the ‘Pre-filling a Form with URL Parameters’ section but I’m not sure if it works for hidden fields.
Page 1 / 1
Hi Mike,
Yes, this can be done. The key is to make sure your hidden field is named exactly the same as the URL parameter.
So for instance, if your URL is https://example.com/?utm_content=testing123 then you will need a hidden field called “utm_content” with no default value in it and that will grab the value from the URL.
More info can be found here:
Reply
Log in to the Unbounce Community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.