Form ID dimension
Form ID is the dimension that records the id attribute of a form a visitor interacted with or submitted. GA4 enhanced measurement reads it as form_id on form_start and form_submit events. Because an id is meant to be unique per page, it is the cleanest key for telling forms apart, but many forms have no id attribute, so this field is frequently empty and you fall back to form_name or form_destination.
What this means
GA4 enhanced measurement's form_start and form_submit events carry form_id — the id attribute of the form element. The form ID dimension surfaces it so each form is distinguishable even when several forms share a page.
Because ids are intended to be unique, this is the most precise way to attribute form interactions to a specific form.
Why it is often empty
Many forms ship without an id attribute, so form_id is blank for them and reports collapse those forms together under no value. Adding deliberate, stable ids restores precision; renaming them later breaks historical comparison.
Where ids are impractical, form_name and form_destination provide secondary identifiers, though they can be shared across forms.
- Holds the form element's id attribute
- Populated on form_start and form_submit
- Empty when the form has no id
How it appears in analytics and logs
A form ID value is the form element's id attribute. Blank form_id means the form had no id, so you must identify it by name or destination instead.
Diagnostic use case
Use form ID to identify exactly which form was started or submitted when your markup assigns stable, unique id attributes to forms.
What WebmasterID can help detect
WebmasterID can record form-interaction events with the form's id as first-party context, without capturing the values entered in fields.
Common mistakes
- Expecting form_id when forms carry no id attribute.
- Confusing form interaction events with goal conversions.
- Assuming form_id captures submitted field values — it never does.
Privacy and accuracy notes
Form ID records markup metadata, not the data a visitor typed. WebmasterID treats form ids as first-party context and never captures field contents.
Related pages
- Form name dimension
Form name is the dimension that records the name attribute of a form a visitor started or submitted. GA4 enhanced measurement passes it as form_name on form_start and form_submit events. Unlike form_id, the name attribute need not be unique and is often shared across pages, which makes it good for grouping the same logical form (a newsletter signup) sitewide but weaker as a per-instance identifier.
- Form destination dimension
Form destination is the dimension that records the URL a form submits to — the value of its action attribute. GA4 enhanced measurement passes it as form_destination on form_submit. It tells you where form data is sent, which is useful for distinguishing forms that share a name but post to different endpoints. It reflects the submission target, not whether the backend accepted the submission.
- The form_submit event
A form_submit event records that a visitor submitted a form — a signup, contact, or checkout form. It is one of the highest-value events because it usually maps to an intent or conversion. The hard rule is that the submitted field values (name, email, message) must never enter analytics: you record that a form was sent and which one, not what was typed.
- Event Explorer
Inspect form_start and form_submit by id.
Sources and verification notes
- Google Analytics Help — [GA4] Enhanced measurement eventsDocuments form_start/form_submit events and form_id parameter.
Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.