How to pass URL parameters to an embedded form
Fill hidden fields in an embed from your website address or from fixed values, to track campaigns and where responses come from.
On this page
Hidden fields let a form record information that the respondent does not type, such as which campaign sent them. On the public link, they read it from the link itself, like ?utm_source=newsletter. An embedded form lives on your website, so it needs to be told which values to use. The URL parameters options on the Share tab do that.
These options apply to both the inline embed and the popup button.
Before you start
- The form needs at least one hidden field with a Parameter name, such as
utm_source. The editor calls them Hidden field; the Share tab calls them URL-parameter fields. See How to use hidden fields and URL parameters in a form. - The page must be published, and the hidden field must be in the published version. If you just added it, click Update first.
Pass your website's parameters to the form
Use this when the values are already in your website's address, for example when an ad links to https://yoursite.com/contact?utm_source=instagram.
- Open the page and go to the Share tab.
- Under Embed on your website → URL parameters, make sure Pass the website's URL parameters to the form is ticked.
- Copy the inline or popup snippet and paste it into your website.
When the published form has hidden fields, this box is ticked for you and the hint names the parameters the form reads, for example: "This form reads utm_source, ref from the URL." Leave it on so those fields are filled inside the embed. When the published form has no hidden fields yet, it is off.

With this on, a visitor who lands on yoursite.com/contact?utm_source=instagram sends a response with instagram in the utm_source hidden field.
Set fixed values
Use this when the same website page should always fill in the same value, for example to tell apart the form on your home page and the one on your pricing page.
- In URL parameters, type the values into Fixed values, written like the end of a link:
name=value, with&between pairs. For example:ref=pricing&utm_source=site. - Copy the snippet.
The values are written into the snippet. Paste a different snippet, with different fixed values, on each page you want to tell apart.
Use both together
You can tick Pass the website's URL parameters to the form and fill in Fixed values at the same time. If both give a value for the same name, the fixed value wins.
For example, with ref=pricing as a fixed value, a visitor on yoursite.com/pricing?ref=ad&utm_source=google sends ref = pricing and utm_source = google.
See the values in your responses
Hidden field values are saved with each response. They show in the Submissions tab as a column named after the field, and in your CSV export. Embedded responses also show Embed in the Source column, whatever parameters they carry.
You can also use a hidden field in conditional logic, for example to show a question only to visitors from your newsletter.
Limits
- Up to 20 parameters are passed to the form. Your fixed values always go first. Then come the parameters the form reads, the names in the hint, from your website's address. The rest of your website's parameters, such as
gclid, fill the places that are left. - A parameter is passed whole or not at all, never cut short. It is left out when its name is longer than 64 characters (no hidden field can have a name that long), when its value is longer than 2,000 characters, or when all the parameters together would be longer than 8,000 characters in the form's address.
- Fixed values that would be left out are named under the box, with the reason, as you type them. Parameters from your website's address that are left out are named in the browser's console on that page: open your browser's developer tools to see them.
- Only parameters that match a hidden field's Parameter name are used. Others are ignored.
- Names that start with
notie.are kept for the embed's own options, such as hiding the title. They are never passed from your website's address or from Fixed values.
If a hidden field stays empty
- Check that the Parameter name in the form matches the name in your website address exactly.
- Check that the box is ticked, or the value is in Fixed values, and that you pasted the snippet again after changing these options. Older snippets keep the options they were copied with.
- Check that the hidden field is published: click Update if the status shows Unpublished changes.
- If you added a hidden field after copying the snippet, copy a fresh one. The snippet lists the parameters the form reads so they go first, and an older snippet doesn't know the new name: when your website's address carries more than 20 parameters, it can be left out.
- If you copied the snippet before the published form had a hidden field, Pass the website's URL parameters to the form was unticked in that snippet. Publish the hidden field with Update, check that the box is ticked, then copy a fresh snippet from the Share tab and paste it again.
Try it in Notie
Write your first worksheet or form in minutes. Free forever, no credit card required.
Get started freeWas this helpful?
Related articles
- How to use hidden fields and URL parameters in a formRecord where a respondent came from, or any value in the link, without asking them a question, and use it in a rule.
- How to embed a form on your websiteEmbed a form on any website, free on every plan: paste a short snippet into any site builder that accepts HTML, to show it in the page or behind a button.
- How to open a form in a popup on your websiteAdd a button to your website that opens your form in a dialog or a corner panel, styled by Notie or by you.
- How to view form responsesOpen a form's Submissions tab to read every response as a table row or card, and open one to see all its answers.
Still stuck?
Email us and a person will reply. Every message is read.
Email supportHave an account? Send a message from the app.