Note
Nimbata captures form submissions itself once form tracking is on, and its GA4 integration can send them to GA4 as events. This guide is for tracking forms with GA4’s own tools instead, or next to it.
While Nimbata handles your phone attribution with precision, you likely want a complete picture of your leads by tracking form submissions in Google Analytics 4 (GA4). To track forms with GA4’s own tools, set it up directly within GA4 or via Google Tag Manager (GTM).
Option 1: GA4 Enhanced Measurement (automatic)
This is the quickest method for standard HTML forms. GA4 can often detect when a form is submitted without any extra coding.
Open your GA4 Data Stream settings
- In GA4, go to Admin > Data Streams.
- Select your Web stream.
Enable form interactions
- Under Enhanced measurement, click the Settings (gear icon).
- Ensure Form interactions is toggled ON.
- Click Save.
Note
This method may not capture forms using AJAX, nested iframes, or complex validation. If your form_submit events aren’t appearing in GA4, proceed to Option 2.
Option 2: Google Tag Manager (recommended)
For most lead-generation sites, GTM provides the highest data accuracy.
Create a trigger
- For redirect forms: If your form sends users to a
/thank-youpage, create a Page View trigger filtered to that specific URL. - For on-page success messages: Create an Element Visibility trigger that fires when the confirmation text (e.g., “Message sent!”) appears on screen.
- For redirect forms: If your form sends users to a
Create the GA4 Event Tag
- In GTM, click New Tag.
- Select Google Analytics: GA4 Event.
- Set the Event Name to
generate_lead. - Assign the trigger you created in the previous step.
- Click Publish.
View form events alongside Nimbata call events
Once configured, you can view both lead types in your GA4 Real-time report or under Engagement > Events.
| Lead source | GA4 event name |
|---|---|
| Phone Call | nimbata_call (or custom) |
| Form Submission | generate_lead |
| Lead source | Tracked by |
|---|---|
| Phone Call | Nimbata |
| Form Submission | GTM / GA4 Native |
Mark your form event as a key event (conversion)
Go to Events in GA4
- In GA4, go to Admin > Data Display > Events.
Mark as key event
- Locate your form event (e.g.,
generate_lead). - Toggle the switch to Mark as key event.
- Locate your form event (e.g.,
Your form submissions now appear in GA4 Acquisition reports alongside your Nimbata call data.
🎉 Once set up, you’ll have a complete view of both phone and form leads in GA4, right alongside your Nimbata call tracking data.
Detailed guide: Connect GA4
Detailed guide: GA4 call events
Detailed guide: Form tracking