/
/
Spiceform
PricingLog in
Help CenterBuilding FormsHidden fields and URL parameters
Building Forms4 min read

Hidden fields and URL parameters

Pass UTM tags, user IDs, or any custom data into your form responses via URL parameters.

Hidden fields let you silently capture metadata — like UTM parameters, referral sources, or internal user IDs — without the respondent seeing or interacting with them. The data is saved alongside every submission.

How hidden fields work

When you add a URL parameter to a form, Spiceform automatically reads the value from the URL query string and stores it as a hidden field in the submission data. For example, if your form link is: https://spiceform.com/to/abc?utm_source=google, the value "google" is captured in the "utm_source" hidden field.

Setting up URL parameters

  1. 1Open the URL Parameters modal from the builder toolbar.
  2. 2Click "Add Parameter" and enter the key name (e.g., "utm_source", "user_id", "ref").
  3. 3Save. The parameter is now active and will be captured automatically from the URL.

Common use cases

  • •UTM tracking — capture utm_source, utm_medium, and utm_campaign to attribute form fills to marketing channels.
  • •User identification — pass a logged-in user's ID from your app to link submissions to accounts.
  • •A/B testing — tag submissions with a variant ID to measure which version performs better.
  • •Referral tracking — identify which partner or affiliate sent the lead.
Pro tip

Hidden field values appear in the Results table as regular columns, so you can filter and export them like any other answer.

Important

Hidden fields require the Hot plan or above. On the free Mild plan, URL parameters are not captured.

Was this article helpful?

Back to Help Center

Related Articles

All field types explained

A reference for every element: Short Text, Long Text, Multiple Choice, Rating, NPS, File Upload, and more.

8 min read

Adding logic jumps and conditional branching

Route respondents to different questions based on their previous answers using the Logic sidebar.

6 min read

Using variables and calculations

Create dynamic variables that perform calculations, scores, and conditional outputs across your form.

5 min read

Customizing the Welcome & Ending screens

Configure titles, descriptions, button text, media, and redirect URLs for your form endpoints.

3 min read

Can't find what you need?

Spiceform

Build AI-powered forms in seconds.

Product

  • Pricing

Company

  • About
  • Careers

Support

  • Help Center
  • Contact
  • Privacy
  • Terms
© 2026 Spiceform. All rights reserved.