How to use hidden fields and URL parameters in a form
Record where a respondent came from, or any value in the link, without asking them a question, and use it in a rule.
On this page
A hidden field saves a value from the form's link with each response. Respondents never see it. Use it to tell apart people who came from your newsletter, a social post or a particular client email, by sharing a slightly different link with each group.
The value comes from a URL parameter: the ?utm_source=newsletter part at the end of a link. A hidden field with the parameter name utm_source saves newsletter with the response.
Add a hidden field
- On an empty line, type / and choose Hidden field under Form. On a phone, tap Turn into (the + button) in the toolbar and choose Hidden field in the Insert or turn into sheet.
- The editor shows a row with Hidden field and no parameter yet.
- Click the gear button on the row (Field settings). On a phone, tap the handle next to it and choose Field settings.
- Type the Parameter name, for example
utm_source. The row now shows it.

A form can have several hidden fields, one per parameter, for example utm_source and utm_campaign. Place them near the top of the form: a rule can only look at fields above it.
The AI builder can add hidden fields too, when your description asks to track a value from the link, such as "note which newsletter issue they came from". It names them by the same rule, and leaves out one whose name the rule does not allow.
Settings
A hidden field has one setting, Parameter name: the name in the link it reads.
- It can use letters, digits,
_and-, up to 64 characters. Anything else shows Use letters, digits, _ and - only (up to 64). and is not saved. - Names are case-sensitive:
UTM_SOURCEandutm_sourceare different parameters. - Learn more next to the setting opens this article.
Hidden fields have no Required switch, no Logic rule of their own and no placeholder. They cannot be turned into another question type, and no question can become a hidden field.
Share a link with a value
- Publish the form and copy its public link.
- Add the parameter to the end of the link:
?utm_source=newsletter. - Share that link with the group it is meant for.
If the link already contains a ?, add the next parameter with & instead, for example ?utm_source=newsletter&utm_campaign=spring.
To pass the values through a form embedded on your own website, see How to pass URL parameters to an embedded form.
What respondents see
Nothing. A hidden field is not shown on the published form, in an embed or in the Preview tab, and it never stops the form from being sent.
- If the link has no value for the parameter, the field is simply left empty.
- Respondents cannot change the value on the form. Anyone can edit a link before opening it, though, so do not rely on a hidden field for anything that must be trusted.
Answers in Submissions, CSV and Google Sheets
The value is saved with the response, in a column named after the parameter, such as utm_source.

- The column is in the Submissions tab, in a CSV export and in Google Sheets.
- If the parameter name is the same as one of the export's own columns (Submitted at, Status or Source, in any capitals) or as the wording of a question above it, the column is named with a
?in front instead, such as?source. - Spaces at the start and end are removed. A value longer than 2,000 characters is left out, not cut: the field stays empty, and the browser's console names the parameter. An embedded form does the same.
- Search in the Submissions tab finds responses by their hidden field values too.
Use a hidden field in a rule
Hidden fields can drive conditional logic. For example, show a question only when utm_source is newsletter, or put a thank-you note for newsletter readers in a section with that rule. In the rule's Field list, a hidden field shows as its parameter, such as ?utm_source. A hidden field with no parameter name yet is left out of the list, since it never receives a value: type its Parameter name first.
A section that depends on a hidden field works on a page without questions too.
Test a hidden field
Open the Preview tab and add the parameter to the end of the address in your browser, after ?tab=preview, for example &utm_source=newsletter. Press Enter to reload. The preview reads the value the same way the published form does.
Limits
- Parameter names: up to 64 characters, letters, digits,
_and-only. - Values: up to 2,000 characters each.
- Hidden fields count towards the form's 200 questions.
- A hidden field cannot fill in a visible question. There is no way to pre-fill a short answer from the link.
Examples
Which channel brings your clients?
Add a hidden field utm_source at the top of your client intake form. Share ?utm_source=instagram in your Instagram bio, ?utm_source=newsletter in your newsletter and ?utm_source=podcast in your podcast notes. After a month, search the Submissions tab for podcast, or sort the exported CSV by the utm_source column, to see which channel brings the clients who fill it in.
One form, many client groups
Running the same check-in for two group programs? Add a hidden field cohort and send ?cohort=spring to one group and ?cohort=autumn to the other. Filter the CSV by the column instead of keeping two copies of the form.
A welcome line for newsletter readers
Put a short paragraph, "Thanks for coming over from the newsletter!", in a section with the rule ?utm_source is newsletter. Only people who arrive from that link see it. It is not secret, though: see What respondents see in the sections guide.
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
- Which question types and blocks can a form have?Every block you can add to a Notie form or page, from short answer and multiple choice questions to sections, images and private notes, each with a guide.
- How to pass URL parameters to an embedded formFill hidden fields in an embed from your website address or from fixed values, to track campaigns and where responses come from.
- How to add conditional logic to a formShow a question only when an earlier answer calls for it, with one condition or several combined, and turn a rule off again.
- 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.
From the blog
Still stuck?
Email us and a person will reply. Every message is read.
Email supportHave an account? Send a message from the app.