Google Analytics 4 (GA4)

LeadCapture integrates with Google Analytics 4 (GA4) so you can track funnel views and lead submissions alongside your other website analytics. If you are running Google Ads, this integration helps you measure conversions directly in your GA4 property.

Setting Up GA4 Tracking

  1. Open your funnel in the builder.
  2. Go to the Funnel Settings tab (gear icon).
  3. Scroll to the Tracking & Analytics section.
  4. Toggle Enable Google Analytics to ON.
  5. Enter your GA4 Measurement ID. This starts with "G-" followed by a string of characters (for example, G-XXXXXXXXXX). You can find it in your GA4 property under Admin > Data Streams.
  6. Save the funnel.

What Gets Tracked

When GA4 is enabled for a funnel, LeadCapture automatically sends the following events to your GA4 property:

Event When It Fires
page_view When a visitor loads your funnel page.
generate_lead When a visitor completes and submits your funnel.

The page_view event fires automatically when the GA4 tracking script loads on your funnel. The generate_lead event fires on successful form submission.

How It Works

When GA4 is enabled and a valid Measurement ID is configured, the Google Analytics gtag.js script loads automatically on your funnel page. This works on both LeadCapture-hosted pages and embedded funnels.

Events are sent directly from the visitor's browser to Google's servers using the standard GA4 event format.

Verifying the Integration

  1. Open your GA4 property in Google Analytics.
  2. Go to Reports > Realtime.
  3. In another tab, open your funnel and submit a test lead.
  4. Check the Realtime report for a page_view event followed by a generate_lead event.

You can also use the Google Tag Assistant browser extension to verify that events are firing correctly on your funnel page.

Using GA4 Data with Google Ads

If you link your GA4 property to Google Ads, the generate_lead event can be used as a conversion action. This allows Google Ads to optimize your campaigns for actual lead submissions from your funnels.

  1. In GA4, go to Admin > Events and mark generate_lead as a conversion.
  2. In Google Ads, go to Tools > Conversions and import the GA4 conversion.
  3. Your campaigns will now optimize based on leads captured through LeadCapture.

Good to Know

  • GA4 tracking is configured at the funnel level. Different funnels can use different Measurement IDs if they belong to different GA4 properties.
  • GA4 runs alongside Meta Pixel tracking without any conflicts. You can enable both on the same funnel.
  • GA4 tracking is included on all plans at no extra cost.
  • The GA4 script loads asynchronously and does not affect your funnel's load time.
  • If a visitor has an ad blocker that blocks Google Analytics, the funnel will still work normally. Only the GA4 tracking events will be missed.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.