Capture Google Analytics Data in Formidable Forms
Form submissions show what a visitor entered, but not reliably how they found you. Adding attribution fields to a Formidable Forms form lets channel, campaign and landing-page context travel with the lead into reporting tools.
How the attribution flow works
A small script placed on the site reads analytics and referral information when a visitor arrives. It groups the visit into a marketing channel, stores that classification in the browser, and later writes it into form fields. That means a lead record can carry both contact details and the route that produced the visit, instead of forcing a manual lookup after submission.
Four-step setup and pre-launch check
- Add hidden fields to the form. 2. Let the script populate them automatically. 3. Submit the form so Formidable Forms captures hidden and visible values together. 4. Send the record through a native integration or Zapier, then report by channel and campaign in the destination system. Check before launch: field labels match exactly, fields are hidden rather than visible inputs, a test visit with known UTM parameters produces the expected drilldowns, and the destination CRM maps each hidden field to its own custom field.
Worked example: a paid-search demo request
Consider a visitor who clicks a paid search ad after searching for cloud file storage, browses the site, and requests a demo. The submitted record might show Paid Search as the channel, the search engine as the first drilldown, the campaign name as the second, and the advertiser as the third. Landing-page fields complete the picture by naming the page where the visit began and the section it belongs to. Use that pattern to test your own setup: create a tagged test link, follow it, submit a test form, and confirm every value arrives in the CRM.
What each captured field tells you
Channel data answers how the visitor arrived; drilldowns explain which campaign, keyword or ad group sits behind paid activity. Landing-page data answers where they entered, and the group — typically derived from the URL subdirectory — shows which site section generated the lead. Together these fields let teams compare channels, campaigns and content sections on the same lead record rather than in separate analytics views.
| Hidden field | What to check in the CRM |
|---|---|
| Channel | Broad channel such as Paid Search or Organic Search |
| Channel Drilldown 1 | First level of detail, such as the search engine |
| Channel Drilldown 2 | Next level, such as the campaign |
| Channel Drilldown 3 | Most specific level, such as the advertiser or ad group |
| Landing Page | Exact URL where the visit began |
| Landing Page Group | Site section derived from the URL subdirectory |
Field labels are taken from the captured setup list; example values are illustrative.
Frequently asked questions
Which hidden fields are needed in Formidable Forms?
Add six hidden fields labelled Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. The attribution script then fills them before submission.
What do the channel drilldowns add?
Channel gives the broad source such as Paid Search. Drilldowns add progressively specific detail, for example the search engine, campaign and advertiser. Landing Page and Landing Page Group show the exact entry page and its site section.
When is the attribution data captured?
On submission, Formidable Forms captures the filled hidden fields together with the visitor's form answers. Integrations or Zapier can then pass the combined record to a CRM or other tool.