Let’s start 2025 strong! Site maintenance in progress 🏋️

Signup

Dynamically pass URL parameters to an embedded form

Want to dynamically pass URL parameters from your website URL to an embedded form? Read on to learn how to reference URL parameters from your website URL to an embedded form.

Check out this article for an introduction to URL parameters.

Looking to add static URL parameter values that display in forms embedded on websites and email messages? Check out this article.

1. Open the form that you want to pass URL parameters to from your website URL.

2025-01-02_14-55-29.png

2. Add all the URL parameters to your form that you want to pass from your website URL by clicking Logic and then click Pull data in.

2025-01-02_14-57-59.png

New to URL parameters? Check out this guide on adding URL parameters to your form.

Here, we want to know whether our form respondents are logged into our site when they answer the form. So, we’ll add “login” as a URL parameter. 

Be sure to add all the URL parameters you want to pass from your website's URL to your form.

2025-01-02_15-01-14.png

3. Go to the Share panel and click Embed in a web page.

2024-05-22_14-46-35.png

4. Select the Advanced tab in the side menu on the right and check that the Read URL parameters setting is toggled on. By default, this setting is enabled.

2024-05-22_14-48-28.png

5. Now, when we embed the form in our site, any URL paramters in our form that correspond to parameters in our URL will be passed automatically to our form.

In our example, if the user is logged in to our site, the parameter in the URL is “?login=true”, whereas if the user isn't logged in, it’s “?login=false”.

2024-04-29_11-11-53.png

6. When a respondent answers the form, you'll be able to see the URL parameter data in your Responses.

2024-04-29_11-20-45.png

Tap into our community knowledge