Articles on: Frequently Asked Questions

How to track forms in Google Analytics 4

Nimbata does not natively capture web form submissions or send form-related event data to Google Analytics. This guide is provided for informational purposes to help you manage your overall conversion tracking strategy alongside your Nimbata call data.


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). Since these are two separate data streams, you will need to set up form tracking directly within GA4 or via Google Tag Manager (GTM).


1. 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.


Step 1. Open your GA4 Data Stream settings


  • In GA4, go to Admin > Data Streams.
  • Select your Web stream.


Step 2. Enable form interactions


  • Under Enhanced measurement, click the Settings (gear icon).
  • Ensure Form interactions is toggled ON.
  • Click Save.


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.


2. Option 2: Google Tag Manager (recommended)


For most lead-generation sites, GTM provides the highest data accuracy.


Step 1. Create a trigger


  • For redirect forms: If your form sends users to a /thank-you page, 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.


Step 2. 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 Step 1.
  • Click Publish.


3. 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


4. Mark your form event as a Key Event (conversion)


Step 1. Go to Events in GA4


  • In GA4, go to Admin > Data Display > Events.


Step 2. Mark as key event


  • Locate your form event (e.g., generate_lead).
  • Toggle the switch to Mark as key event.


Your form submissions will 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: Google Analytics 4 integration: how to set it up in Nimbata

Detailed Guide: Template: how to create a Google Analytics Call Event workflow

Detailed Guide: Form tracking: how to set it up in Nimbata


Updated on: 28/04/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!