Skip to Content
Platform.Ontology

Form field capture before submit

Scripts read typed or autofilled form values and can send them before the person presses submit.

Used to track youTracking across apps and sitesIn sessionWeb browsersWhile you use it

In one line

Can see what you type or autofill in a form before you press submit

Scripts read typed or autofilled form values and can send them before the person presses submit.

Email and name typed into a newsletter box can reach ad trackers on blur or autofill, even if never submitted. Leaky Forms (USENIX Security 2022) found about 1,800 EU and about 3,000 US crawl sites leaking emails to trackers.

What it can and can't do

What the user does: You type or autofill into a form on a page with certain scripts

It can

  • See typed or autofilled values as soon as they appear
  • Send those values to a server before you submit
  • Capture email, phone and name fields
  • Keep what you entered even if you never press submit

It cannot

  • See fields on pages without that script
  • Normally capture password fields if the site is built to exclude them
  • Work if a script blocker stops the script
  • See forms in other tabs or apps

How it differs between platforms: Browsers that block trackers can stop the script in Firefox and Safari. Chrome does not block it by default.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11Script behaviour, any browser
EdgeSupported1Not listedScript behaviour, any browser
FirefoxSupported12004-11-09Script behaviour, any browser
SafariSupported12003-06-23Script behaviour, any browser
Safari on iPhoneSupported12007-06-29Script behaviour, any browser
Chrome on AndroidSupported1Not listedScript behaviour, any browser
Samsung InternetSupported12013-04-27Script behaviour, any browser

How a site asks for it

APIinput, change and blur listeners; Meta Pixel automatic advanced matching; autofill reads
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsPer event; vendor retention applies
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Data you get

What comes back: Typed field values
Shape: string
How often: per input event

No individual data fields. The signal is the access itself.

Technical limits

  • Cannot read values of password fields unless script is on that page
  • Browser autofill fills hidden fields only after a click on a visible one
  • Blockers stop vendor domains

The story

What it is

Scripts read what you type in a form, and can send it before you press submit.

For you

You type your email into a box, change your mind and close the page. You may think nothing was sent. A script may have read it as you typed or when autofill filled it, and sent it to trackers.

For makers

A typed email is a high value ID for ad targeting and for follow up, even for people who never finish. Marketers use it to rescue lost leads. A 2022 study found this leak on thousands of sites.

Where you see it

TypeExampleApps
shoppingYou enter your email at checkout and leave. An abandoned cart tool already has it and sends a reminder.Klaviyo, Shopify
adsA news signup box sends your email to an ad tracker the moment you tab out of the field.Meta Pixel
analyticsA form tool logs which fields people leave empty or change, to find where they give up.Hotjar, Microsoft Clarity
gamesA game sign up form passes your email to ad partners before you press Create account.None named
securityLogin pages watch typing speed to tell humans from bots, which also reads what you type.Arkose Labs
enterpriseA lead form tool saves a half typed contact request, so sales can call the person even if they never press submit.HubSpot, Drift

Risks

  • Captured even if never submitted
  • Autofill can fill hidden fields too

Good uses and abuse

Legitimate uses

  • Form analytics, abandonment recovery

Known abuse

  • Capturing email before consent or submit

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2022-08, all: Leaky Forms study published at USENIX Security 2022
  • Meta Pixel. Can tell Meta about your visits and actions on a site that uses the pixel
  • Hashed email as identity. Can recognize you across sites by a scrambled version of your email

Sources

How well checked: Based on official documentation.

On this page