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
- 1Open the URL Parameters modal from the builder toolbar.
- 2Click "Add Parameter" and enter the key name (e.g., "utm_source", "user_id", "ref").
- 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.
Hidden field values appear in the Results table as regular columns, so you can filter and export them like any other answer.
Hidden fields require the Hot plan or above. On the free Mild plan, URL parameters are not captured.
Was this article helpful?