Ask any question about Analytics & Tracking here... and get an instant response.
How do I set up event tracking for form submissions in GA4?
Asked on Oct 27, 2025
Answer
To set up event tracking for form submissions in GA4, you'll need to configure a custom event using Google Tag Manager (GTM) or directly within your website's code. This involves creating a trigger for the form submission and linking it to a GA4 event tag.
<!-- BEGIN COPY / PASTE -->
1. In Google Tag Manager, create a new tag.
2. Choose "Google Analytics: GA4 Event" as the tag type.
3. Enter your GA4 Measurement ID.
4. Set the Event Name to "form_submission".
5. Add any parameters you want to track (e.g., form_id, form_name).
6. Create a trigger for "Form Submission" or a custom trigger based on your form's behavior.
7. Save and publish your container.
<!-- END COPY / PASTE -->Additional Comment:
- Ensure your form has a unique identifier to create an accurate trigger.
- Test the setup using GTM's Preview mode to verify that events are firing correctly.
- Check the "Realtime" report in GA4 to confirm that form submission events are being recorded.
- Consider using additional parameters to capture more detailed data about the form submissions.
Recommended Links:
