URL Data
premiumCaptures URL parameters and stores them in form data.
Overview
The URL Data component reads query parameters from the current page URL and writes them into the form store. Useful for capturing UTM parameters, referral sources, or pre-fill values from links.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
formId | String | "default" | Form identifier. |
params | Array | -- | List of URL parameters to capture (e.g., utm_source, utm_medium). |
Features
- Automatically reads URL query parameters on page load
- Stores captured values in the form data store
- Configurable parameter list
- No visible UI (utility component)
Tips
Place this component anywhere on the page — it doesn't need to be inside the form.
Combine with Hidden fields to include UTM data in form submissions.