Event Reference (v1) / Form Events
Form Submit / form_submit
Measures when a user successfully completes/submits a form.
This event is generic by design in order to have aggregate data on all forms (regardless of their purpose). It is common to use synthetic events (in addition to form_submit) that are for conversion purposes that measure a specific cohort of total form_submit events.
For example, you may have a demo_request event that measures ONLY forms used for demo requests. Using synthetic events is recommended to give you a more concrete view of how users are entering your funnel.
This event should ONLY be sent if the form data passed validation, and before any redirect occurs. We suggest using native form submission lifecycle hooks/APIs supplied by the form provider to ensure this event fires at the correct time.
GA4 implements this event as part of its "Enhanced Measurement" feature. It is generally recommended to use Google Tag Manager to manage event flow and data collection. As such, we recommend disabling this event inside your Enhanced Measurement settings.
-
- Name
- Event Name Required
- Value
- event: form_submit
-
- Name
- Redirect URL Optional
- Type
- redirect_url: string
- Description
The URL the user will be redirected to after the form submission is complete. This should be an absolute URL to handle situations where a user may be redirected to a different hostname.
-
- Name
- Confirmation Type Optional
- Type
- confirmation_type: string
- Description
The type of confirmation the user will receive after the form submission is complete. This can be a message, a redirect, etc.
-
- Name
- Submission ID Optional
- Type
- submission_id: integer|string
- Description
A unique identifier for the form submission. This can be a native submission ID from a CMS or other system.
Form Properties
These properties apply to all form_* events.
-
- Name
- Form ID Required
- Type
- form_id: integer|string
- Description
The unique identifier for the form. This can be as simple and as a HTML
idattribute. Or it can be a native form ID from a CMS or other system.- E.g.
0d7fb0da-a3a6-49ad-9c29-d7fbcd56f3b1
-
- Name
- Form Group Optional
- Type
- form_group: string
- Description
The group or category of the form (e.g. Demo Request, or Webinar Registration). This can be used to group forms together for reporting purposes.
- E.g.
Demo Request
-
- Name
- Form Name Optional
- Type
- form_name: string
- Description
A human readable name for the form. These should be dynamically set from the system that provides the form.
- E.g.
Inbound Sales - Request a Demo
-
- Name
- Form Provider Optional
- Type
- form_provider: string
- Description
The name of the system/platform that provides the form (e.g. HubSpot, Marketo etc...). This can be useful when more than one form provider is in use (e.g. HubSpot and Gravity Forms).
- E.g.
HubSpot