Skip to content

Track the source of WPForms leads in three steps

A form submission tells you who contacted you, but not how they found you. Adding attribution fields to WPForms closes that gap: each entry can carry the channel, campaign and landing page behind the lead, so you can judge marketing activity by enquiries produced rather than clicks alone.

Why form entries need source data

Without source data, every lead looks identical in the entry list. You cannot tell whether a Paid Search click, an organic result or a social post produced the enquiry, so budget decisions rest on traffic rather than outcomes. The fix is to record attribution at the moment of submission, alongside the name and email the visitor entered.

Step 1: Install the snippet and add hidden fields

Install the attribution snippet on the site, following the WordPress instructions, so visitor origin is monitored from the first landing. Then open each WPForms form and drag in Hidden fields named Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4, each with its specific default value. The hidden fields stay invisible to visitors but give the form somewhere to store attribution when it is submitted.

Step 2: Attribution is written into the fields at submission

Once the snippet is live and the fields exist, the tool watches where each visitor arrived from — Paid Search, Paid Social, Organic Search and similar channels. When a visitor submits a WPForms form, the stored origin information is written into those hidden fields automatically. No manual tagging is needed at submission time, which matters because UTM parameters and referrer details are easiest to capture before the visitor navigates away.

Step 3: Use the captured data

The submitted entry now pairs contact details with source details. Check it in the WPForms Entries section, add the fields to notification emails so the team sees origin without opening the entry, forward it through native Salesforce or HubSpot integrations or a tool such as Zapier to other CRMs, or send it to a spreadsheet via the Google Sheets add-on for reporting in Sheets or a connected dashboard. Before choosing a destination, confirm the field names match on both sides so Channel and drilldown values are not dropped in transit.

What the fields capture

Attribution covers paid and organic arrivals alike. Channel data identifies the broad route in, with drilldowns adding the platform, campaign and keyword or domain. Landing page data records both the exact page first visited and its group — for example a specific blog post URL and /blog — so you can total leads per section and then rank individual posts. The table below shows how the same fields read for a paid click versus an organic search, using the worked example pattern of a Google Ads visit and a Google organic visit.

Three reports to run

Leads by channel gives the high-level mix across Paid Search, Paid Social and Organic Search; if organic already delivers most enquiries while spend concentrates on ads, that mismatch is the decision to revisit. Leads by Google Ads campaign separates brand, competitor and product campaigns so each can be judged on enquiries, not just clicks. Leads by social network shows which networks turn posts into enquiries, so effort can shift toward the ones producing results. Run all three from the same captured fields rather than separate tracking, keeping the numbers comparable.

Pre-launch checklist

Checklist before you rely on the data: snippet installed on every page where forms appear; all five hidden fields present on each form with correct default values; a test submission from a tagged link produces populated Channel and drilldown values; entries, email notifications and the CRM or spreadsheet destination all display the fields; landing page and landing page group are captured. If a test entry arrives with blank attribution, fix the field setup before trusting the reports.

Channel fields: paid versus organic arrival
FieldPaid Search exampleOrganic Search example
ChannelPaid SearchOrganic Search
Channel Drilldown 1GoogleGoogle
Channel Drilldown 2Brand Campaign (or specific campaign name)www.google.com (or specific Google domain)
Channel Drilldown 3Keyword used in the campaignKeyword used to find the site, if available

Worked examples; drilldown values depend on the UTM parameters and search terms actually used.

Three attribution reports
ReportQuestion it answersDecision it supports
Leads by channelWhich channels produce enquiries?Where to shift budget and effort
Leads by Google Ads campaignWhich campaigns produce enquiries?Which campaigns to keep, scale or stop
Leads by social networkWhich networks produce enquiries?Which networks to prioritise

Reports are built from the captured Channel, drilldown and landing page fields.