Track SEO Leads in Ninja Forms: Hidden Fields and Reports
Organic search can bring steady visits without revealing which of those visits became enquiries. By storing channel and landing-page information in a visitor's browser and writing it into hidden form fields at submission, each Ninja Forms lead can carry its own source record. That record can then be reviewed in submissions, email alerts, a CRM or a spreadsheet.
Why connect SEO visits to form submissions?
Google Analytics can show organic visits, yet a visit count alone does not identify which sessions produced a name, email or quote request. The missing link is lead-level attribution: when a form is submitted, the submission should state the channel, search detail and landing page associated with that visitor.
A practical setup has four parts. First, place an attribution snippet on the site so incoming visits are classified and stored in the browser. Second, add hidden fields to the form so there is somewhere for that stored data to land. Third, let the snippet populate those fields when the visitor submits. Fourth, use the completed submission — in the dashboard, an email alert, a CRM or a spreadsheet — as the reporting record.
Setup checklist: snippet plus six hidden fields
Install the snippet through the site's settings area, or through a tag manager such as Google Tag Manager if the site builder does not offer a direct settings option. Website builders mentioned for this step include WordPress, Wix, Webflow and Squarespace.
Then open the relevant Ninja Forms form and drag in six hidden fields. Each field needs its own configured default value so the snippet knows which result belongs where:
- Channel
- Channel Drilldown 1
- Channel Drilldown 2
- Channel Drilldown 3
- Landing Page
- Landing Page Group
A quick check before testing: every lead-capture form you want to measure should have all six fields, and each field's default value should match the field name exactly. A missing or mismatched field produces a blank source record even when the snippet is working.
How the data reaches the submission
On arrival, the snippet examines the same kinds of signals analytics tools use to decide where a visitor came from, then groups the visit into a channel such as Organic Search, Paid Search or Paid Social. That classification is kept in the browser.
When the visitor later completes a form — for example a contact or quote request — the snippet writes the stored classification into the hidden fields. The submission therefore includes both the person's details and the route that brought them in, such as the search engine, its domain and the search term when one is available.
What each field captures
Two families of data do the work. Channel data explains arrival; landing-page data explains which content attracted the visitor.
A construction-company illustration shows the shape of a completed record. The channel side records the channel, the search engine, the engine's domain (for example google.com.au or google.co.uk) and the searched phrase when available. The landing-page side records the full page URL and a grouped path such as /projects. Together they answer two different questions: which search route produced the lead, and which section of the site converted it.
Use the group field for strategy decisions and the exact page field for content decisions. Groups reveal whether a whole section, such as projects or templates, is pulling enquiries; exact pages reveal which individual article or page deserves more of the same.
Where to use the captured data
Once the fields are populated, the same submission can serve several jobs:
- Submissions view: source data sits beside each entry in the WordPress dashboard, so individual leads can be inspected without opening another tool.
- Email notifications: adding the fields to the notification lets the recipient see where each lead originated directly in the inbox.
- CRM: sending the fields to Salesforce, HubSpot or Pipedrive allows lead counts, customer counts and revenue to be broken down by source inside the CRM.
- Spreadsheet: the Google Sheets integration exports submissions for charts and graphs, and a dashboard tool such as Google Data Studio can build recurring reports from that data.
Choose the destination based on the decision you need to make. Inbox alerts suit fast follow-up, CRM fields suit pipeline and revenue reporting, and spreadsheets suit monthly trend reviews.
Three reports worth running
Three reports cover most SEO lead questions, and each uses a different field:
- Leads by Channel — count leads per month by Channel. This gives a high-level view of whether SEO effort is turning into enquiries and lets you compare Organic Search with Paid Search or Paid Social before deciding where budget and effort should shift.
- Organic leads by Landing Page Group — filter to Organic Search, then count leads per month by Landing Page Group, such as Home, Blog or Services. This shows which content sections generate enquiries and where the SEO strategy should be refined.
- Organic leads by Landing Page — filter to Organic Search, then count leads per exact Landing Page. This identifies the strongest individual pages, such as specific blog posts, so new content can follow what already converts.
Reported example: measuring a template strategy at lead level
Flare HR, a Sydney-based HR software company with more than 100 employees, made a collection of HR document templates publicly available, with a dedicated landing page for each document. Those pages attracted tens of thousands of monthly search visits, but the team could not tell whether visitors became leads or customers.
With attribution data passed into the CRM on form submission, the team could report leads, customers and revenue by template page and its /templates group. The reported outcome was a 2.4x rise in new leads per month at virtually no cost per lead, followed by expansion of the template library and page optimisation that ultimately quadrupled monthly leads. Co-founder James Windon is quoted as saying the data showed SEO was generating customers and revenue and gave the team confidence to invest further.
Treat this as a reported third-party example rather than a promise: the mechanism is the transferable lesson — measure template or content pages at lead level before deciding to produce more of them.
Getting started
Start with one high-value form, add all six hidden fields, submit a test entry from an organic search visit, and confirm that the channel, drilldowns and landing-page values appear in the submission. Then build the three reports above and review them monthly. That sequence turns SEO reporting from visit counts into lead, customer and revenue evidence.
| Field | What it records | Use it to answer |
|---|---|---|
| Channel | Broad arrival route, such as Organic Search | Which channel produced this lead? |
| Channel Drilldown 1 | Search engine or platform detail, such as Google | Which engine produced this lead? |
| Channel Drilldown 2 | Engine domain, such as google.com.au | Which regional domain produced this lead? |
| Channel Drilldown 3 | Search term when available | What did the visitor search for? |
| Landing Page | Exact page URL first visited | Which page converted this lead? |
| Landing Page Group | Grouped path, such as /projects | Which site section converts best? |
Field names are the six hidden fields to add to the form; values are written by the attribution snippet at submission.
Frequently asked questions
Why is organic traffic data not enough to prove SEO leads?
No. Visitor counts show demand, but they do not show which visits became enquiries. Capturing channel and landing-page data on the form submission itself connects each lead to the page and search route that brought that person in.
Which hidden fields are needed in Ninja Forms?
Add six hidden fields: Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Landing Page and Landing Page Group. Configure each field with the default value that tells the attribution snippet where to write its result.
What do the channel and landing-page fields tell you?
Channel describes how the visitor arrived, such as Organic Search. The drilldowns add detail such as the search engine, its domain and, when available, the search term. Landing Page identifies the exact page, while Landing Page Group rolls pages into a section such as /projects or /templates.
Where can the captured SEO data be used after submission?
Check the Submissions view, add the fields to email notifications, send them to a CRM such as Salesforce, HubSpot or Pipedrive, or export them to a spreadsheet through the Google Sheets integration for charts and dashboards.