Skip to main content

How can I capture hidden values from URL parameters in the Poper Form?

Automatically collect campaign/source data (like UTM values) in hidden fields without asking visitors to type anything.

Written by Karan Bhakuni

How can I capture hidden values from URL parameters in the Poper Form?

You can track where submissions come from by mapping URL parameters (like utm_source, utm_campaign, ref) into hidden form values. Visitors won’t see these fields, but the data is saved with each response.

Why this is useful

Use this feature when you want to know:

  • which ad campaign generated the lead

  • which source (Google, Meta, email) brought the visitor

  • which page/button/link sent traffic to the form

Step-by-step

  1. Open your form in the editor.

  2. Go to Settings.

  3. Open Hidden Fields / Variables.

  4. Add the parameter names you want to capture (examples: utm_source, utm_medium, utm_campaign, ref).

  1. Save the form.

  2. Open the form using a URL that includes query parameters, for example:
    https://your-share-link?utm_source=google&utm_campaign=summer-sale&ref=pricing-page

  3. Submit a test response.

  4. Open Results and verify those hidden values were stored with the submission.


Best practices

  • Keep hidden field names consistent across forms (same naming convention).

  • Use lowercase keys to avoid mismatch (utm_source not UtmSource).

  • Test each traffic source once before running campaigns.

If values are missing

  • Confirm the URL includes the exact parameter name.

  • Confirm the same key exists in Hidden Fields settings.

  • Confirm you tested with a fresh URL (not cached/old link).

  • Submit a new response after saving settings (old submissions won’t retro-fill).

Did this answer your question?