Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GA4 event name typo (Generate_Lead vs generate_lead): fix

TRK-047High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Google Analytics 4 (GA4) records every action as an event with a name. generate_lead is one of Google's recommended event names for a lead form submission. GA4 matches names exactly. Capital letters, spaces, hyphens and extra characters all make a different event.

So Generate_Lead, generate-lead, generate_lead (with a trailing space) and generatelead are all treated as new, unrelated events. GA4 will not warn you. It simply records them under the odd name.

Names that look similar but are different events in GA4
Name sentMatches generate_lead?What happens
generate_leadYesCounted as the recommended lead event
Generate_LeadNoShown as a separate custom event
generate-leadNoSeparate custom event
generate_lead (trailing space)NoSeparate event that is hard to spot
generateleadNoSeparate custom event

Why it costs you leads or sales

The form still works and the visitor still becomes a lead. But the number you use to judge marketing is wrong. Anything built on generate_lead sees zero, or only part of the leads.

What breaks when the name is wrong
  • The GA4 key event (conversion) marked as generate_lead stops counting
  • Google Ads conversions imported from GA4 show no new leads
  • Smart bidding loses its signal and may spend on the wrong traffic
  • Audiences and funnel explorations based on the event stay empty
  • Reports split leads across two event names, so totals look low
Where the lead is lost
  1. Visitor submits formLead is captured
  2. Tag sends Generate_LeadWrong case in event name
  3. Key event generate_leadNever matches
  4. Google Ads importSees no lead

The form works, but the event name does not match what GA4 is set up to count.

Leads reported in GA4 vs leads receivedExample numbers
Leads reported in GA4 vs leads received (example)Leads in CRM: 100 leads; generate_lead in GA4 (typo): 0 leads; generate_lead in GA4 (fixed): 100 leads038771000100Leads in CRMgenerate_lead in GA4 …generate_lead in GA4 …leads

Example: 100 real leads in a month. With the typo, none are counted under generate_lead.

How to check if your site has it

Find a mismatched event name
  1. Open GA4 Reports

    Go to Reports > Engagement > Events. Look for names like Generate_Lead or generate-lead next to, or instead of, generate_lead.

  2. Check the key events list

    In Admin > Data display > Events, see if generate_lead is marked as a key event and whether it has recent counts.

  3. Use DebugView

    Open Admin > Data display > DebugView, submit your form in a debug session and read the exact event name that arrives.

  4. Inspect the tagGoogle Tag Manager

    In Google Tag Manager, open Preview mode, submit the form and click the GA4 event tag. Compare its Event Name field character by character.

  5. Look for hidden characters

    Copy the name into a plain text editor to spot trailing spaces or a capital letter that looks similar.

How to fix it

The fix is to send exactly generate_lead in lowercase with an underscore. Where you change it depends on how the event is sent.

Correct the event name by platform
  1. Open the GA4 event tag

    In Tags, open the GA4 Event tag that fires on form submit.

  2. Fix Event Name

    Replace the value with generate_lead. Check there is no trailing space. If it uses a variable, check the variable's value too.

  3. Preview and publish

    Test in Preview mode, then click Submit to publish a new container version.

Correct gtag call for a leadjavascript
gtag('event', 'generate_lead', {
  form_id: 'contact',
  method: 'website_form'
});
Correct dataLayer push (if GTM listens for a custom event)javascript
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'generate_lead',
  form_id: 'contact'
});
Event name before and after

Before

  • Tag sends Generate_Lead
  • generate_lead key event shows zero
  • Ads import sees no leads

After

  • Tag sends generate_lead
  • Key event counts each submit
  • Ads import receives the lead signal

How to confirm it's fixed

Verify the corrected event
  1. Submit a test lead

    With DebugView or GTM Preview on, fill in and submit the real form.

  2. Read the event name

    In DebugView, confirm the event shows as generate_lead exactly, with your parameters.

  3. Wait for reports

    Standard Events reports can take a day to update. Check the count of generate_lead the next day.

  4. Check the key event

    Confirm generate_lead is marked as a key event and, if used, that your Google Ads import shows new conversions.

How to prevent it happening again

Habits that stop name typos
  • Keep a written list of your event names and copy from it, never retype
  • Use Google's recommended names exactly as documented, in lowercase with underscores
  • Store the name in one GTM constant variable and reuse it in every tag
  • Test every tag change in Preview mode and DebugView before publishing
  • Review the GA4 Events report monthly for unexpected near-duplicate names
  • Limit who can edit tags and write a note with each container version

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor runs your real lead journey on a schedule, submits the form and watches the tracking hits sent to GA4. The check is an exact event match: it looks for the expected event name, so Generate_Lead does not count as generate_lead.

If the expected name is missing, the failure is re-checked from a second region before one alert goes out. You get the alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard and fg_test=1 so you can filter it out of reports.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Are GA4 event names case-sensitive?

Yes. GA4 matches event names exactly, so Generate_Lead and generate_lead are two different events. Each gets its own row in reports and only the exact name matches a key event or audience.

Why is my generate_lead event not showing in GA4?

A common cause is a misspelled name such as Generate_Lead, generate-lead or one with a trailing space. Check the Events report for near-duplicates and compare the name in DebugView with your tag. Other causes are a tag that does not fire or a form that does not trigger it.

How do I fix Generate_Lead vs generate_lead in GA4?

Change the event name in the tag or code that sends it to exactly generate_lead, then test in DebugView and publish. GA4 cannot rename past events, so old data stays under the wrong name. New leads will count correctly.

Can I rename an event in GA4 without changing the code?

GA4 has a Create event feature (Admin > Data display > Events) that can build a new event from an existing one by matching its name. It is a workaround and creates a second event. Fixing the name at the source is cleaner.

Will the typo affect my Google Ads conversions?

Yes, if Ads imports the generate_lead key event from GA4. The misspelled event never matches, so Ads sees no new leads. This can weaken automated bidding that relies on the signal.

Do I have to use the name generate_lead?

No, you can use a custom name, but generate_lead is Google's recommended event for lead forms and works with built-in reporting. Whatever name you choose, use it identically in every tag and in your key event settings.

How can I tell if two tags are sending different names?

Open the Events report and look for pairs of similar names. Then use GTM Preview mode to see which tags fire when you submit the form. Each tag's Event Name field shows what it sends.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: exact event match.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.