Skip to content

Capture UTM Parameters in Formidable Forms

Raw UTM values alone often miss organic visits and visitors who browse before submitting. This guide explains a browser-stored attribution approach that fills hidden form fields, travels with the submission, and can be forwarded to a CRM, spreadsheet or email tool.

Set up the four-step flow

Install the attribution snippet on the website, using theme settings, a header-insertion plugin on WordPress, or Google Tag Manager where that is already in use. Then create six hidden fields in the form. Because they remain invisible, the visitor experience stays unchanged while the submission gains attribution fields. At submission, the stored values are captured beside the visible answers and can be viewed in the WordPress dashboard, added to notifications, or forwarded through native integrations or Zapier to a CRM, spreadsheet or email platform.

How browser storage changes capture

The snippet examines UTM parameters, HTTP referrer data and device information, groups the visit into a channel, and stores the result in the browser. When a form is completed, those stored values populate the hidden fields. This differs from a method that only works when the form sits on the landing page: navigation across pages, or a later return visit, does not erase the stored attribution.

Worked field-mapping example

A paid-search visitor who lands on a feature page and later requests a demo could be recorded with Channel set to Paid Search, the first drilldown set to Google, the second to the brand campaign, and the third to the brand name. The entry page and its section can be recorded separately, showing both the campaign path and the content area that first brought the visitor in. Use that pattern as a field-mapping check: channel fields explain acquisition, while landing fields explain entry content.

What raw UTM capture can miss

Coverage extends beyond paid campaigns to Organic Search, Organic Social, Referral and Direct traffic. Click identifiers for Google, Microsoft and Facebook can also be captured; sending them back after a customer conversion supports offline conversion optimisation. Landing page and landing page group data add a content dimension, allowing a site section to be compared before drilling into individual pages.

Validation checklist and reports

Before publishing, test one paid visit, one organic visit and one multi-page journey. Confirm that all six hidden fields populate, that the values appear in the submission record, and that downstream CRM or spreadsheet mapping preserves the drilldown order. Then build reports for leads by channel, leads by Meta network, customers by Google Ads campaign, and revenue by keyword where keyword is included in the campaign parameters.

Hidden-field map
Hidden fieldPurposeExample value
ChannelBroad acquisition categoryPaid Search
Channel Drilldown 1First level of source detailGoogle
Channel Drilldown 2Second level of source detailBrand Campaign
Channel Drilldown 3Third level of source detailDropbox
Landing PageFirst page visitedwww.dropbox.com/features/share
Landing Page GroupSection of the entry pageFeatures

Example values illustrate the paid-search scenario; actual values depend on campaign parameters and visit signals.

Frequently asked questions

Which hidden fields are needed?

Add six hidden fields labelled Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. Visitors do not see them, but each submission can carry the values stored in the browser.

Does attribution survive browsing to a different page?

Yes, when the snippet stores attribution in the browser. A visitor can move from the entry page to another page, or return later, and the stored values can still be written into the form at submission.

Are non-paid visits included?

Organic Search, Organic Social, Referral and Direct are included alongside paid channels, so reporting is not limited to campaign traffic.

What is the use of click IDs?

Captured identifiers can be passed to a CRM and later returned to an advertising platform when a lead becomes a customer, supporting offline conversion measurement rather than relying only on a thank-you page visit.