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 Nov 20, 2025
Answer
To set up event tracking for form submissions in GA4, you'll typically use Google Tag Manager (GTM) to create a tag that sends data to Google Analytics when a form is submitted. This involves configuring a trigger that detects the form submission and a tag that sends the event data to GA4.
<!-- 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 Measurement ID in the "Configuration Tag" field.
4. Set "Event Name" to something like "form_submission".
5. Add any additional parameters you want to track (e.g., form ID, form name).
6. Create a new trigger: Choose "Form Submission" as the trigger type.
7. Set conditions to match your specific form (e.g., form ID or URL).
8. Save the tag and publish your GTM container.
<!-- END COPY / PASTE -->Additional Comment:
- Ensure your form has a unique identifier (like an ID or class) to accurately trigger the event.
- Test the setup in GTM's Preview mode to confirm the event fires correctly before publishing.
- Check the Events report in GA4 (Reports → Engagement → Events) to verify data collection.
- Consider using Google Tag Manager's built-in variables to capture additional form details.
Recommended Links:
