Glossary · Data plumbing
Hidden field
An input the visitor never sees, carrying your attribution into the submission — and the first thing an automated filler reads.
One of 25 entries in the Endpoint Forms glossary.
Definition
A form input the visitor does not fill in, populated by script or by your server, and submitted with everything else. This is how a lead record ends up knowing which ad produced it, which page it came from, and what the session looked like.
Why it matters
Every piece of attribution you have at the lead level arrives through this mechanism. If the hidden field is empty, the GCLID is gone, the campaign is unknown, and no amount of downstream analysis recovers it — the click identifier existed for one page load and was not written down.
The same mechanism has a second, opposite job. A honeypot is a hidden field used defensively: one nobody should fill, whose population is evidence of automation. Attribution fields are hidden fields used descriptively. An automated filler that fills everything it finds fills both, which is why the honeypot works at all — and why a filler smart enough to skip your honeypot is also reading your attribution.
In practice
- Capture at landing, persist in a first-party cookie or server session, and write into the field at render. Not at submit.
- Carry the whole set: click ids, UTM parameters, landing page path, referrer, and a session id you can join on later.
- Test them on the paths that break: cached pages served by a CDN, forms embedded in an iframe on another domain, and any journey that crosses domains.
- Alert when a field that is normally populated goes empty. A silently broken attribution field looks exactly like a change in traffic mix, and it can run for a quarter.
The common mistake
Reading the URL at submit time.
The single most common attribution bug in lead generation. The script reads window.location.search when the form is submitted rather than when the visitor landed.
Your best-behaved buyer clicks the ad, reads three pages, checks the pricing, and then submits from a URL with no parameters on it. The tracking parameters were on the first page. The submission is recorded as direct, the campaign gets no credit, and the report concludes that direct traffic converts unusually well.
Related terms
- GCLID
- The click id Google appends to your landing page URL — the join key between your CRM and your ad account, and it is discarded by default.
- Duplicate leads
- The same person, twice — inflating your conversion count and, through it, the signal you send back to the ad platform.
- Server-side tracking
- Sending conversion events from your server rather than the visitor’s browser — more reliable measurement of a dataset that may be worse.
- Offline conversion import
- Uploading what happened downstream back to the ad platform against the click id — a standard practice, and one that teaches the platform while teaching the form nothing.
- Progressive profiling
- Ask three fields now and three more next time — a trade of completion for enrichment that almost nobody measures.