Early-bird offer: 10% off the course fee for enrolments up to 15 December 2026. See fees

Get course details

SERA JOURNAL

GA4 Events Explained: Four Types, Two Worked Examples and a Test Plan

GA4 events explained: the four event types, naming rules, key events and DebugView testing, with worked lead, WhatsApp click and purchase examples.

Analytics
GA4 event list with session_start, form_start, form_submit and generate_lead, plus a sticky note: test it in DebugView

Key takeaways

  • A GA4 (Google Analytics 4) event is one recorded interaction, such as a page view, a scroll or an accepted enquiry, with a name and optional parameters.
  • GA4 has four event types: automatically collected, enhanced measurement, recommended and custom. Check them in that order before you add anything new.
  • Plan every event first: the business question, the exact trigger, controlled parameters and the source system you will compare against.
  • Mark only real business outcomes, such as a confirmed lead or purchase, as key events. The setting is not retroactive.
  • Test each release in DebugView with positive, negative and duplicate cases, then reconcile the count with your CRM or order system.

GA4 events are named records of what people do on your website or app, such as viewing a page, submitting a form or buying. Each has a name and optional parameters. GA4 sorts them into four types, each explained below.

This guide assumes a GA4 property and the Google tag are already installed. It shows how to choose, name, implement and verify events, with a lead example, a WhatsApp click example and a purchase example in rupees.

What is an event in GA4, and what does it record?

An event in GA4 is a single recorded interaction, such as page_view, scroll or generate_lead. The event name says what happened. Event parameters add the detail, for example which form was used or what an order was worth.

GA4 builds reports, audiences and key events from these records. User properties are different: they describe the person or device, such as a preferred language, and stay attached across events rather than describing one action.

If you used Universal Analytics, note the change. The old model grouped hits into category, action and label. In GA4 everything is an event, and parameters replace those three fixed fields with names you choose.

The flexibility is useful but risky. GA4 does not define what a lead or a qualified enquiry means for your business. Agree that meaning first, or two people can build valid events that count different outcomes under similar names.

LayerQuestion it answersExample
Business outcomeWhat result matters?A valid course enquiry was created
EventWhat interaction represents it?generate_lead
TriggerExactly when should it fire?After the server confirms success
ParametersWhat context is needed?form_name, lead_type
VerificationHow will you prove it works?DebugView, Realtime and a CRM comparison

What are the four types of GA4 events?

There are four types: automatically collected, enhanced measurement, recommended and custom. The first two arrive without new code. Recommended events use Google’s names; custom ones are yours, as Google’s guide to events explains.

The four types of GA4 events, from automatically collected and enhanced measurement to recommended and custom, with examples.
Check the four types in order: the further down the list, the more setup and documentation each event needs.
Event typeHow it is collectedExamplesYour setup effort
Automatically collectedThe Google tag sends it by defaultfirst_visit, session_start, page_view, user_engagementNone; never recreate these
Enhanced measurementA switch in the web data stream settingsscroll, click (outbound), file_download, form_start, form_submit, video_start, view_search_resultsLow; check each trigger
RecommendedYou implement it with Google’s names and parametersgenerate_lead, sign_up, login, purchaseMedium; follow the reference
CustomYou name and define it because nothing else fitswhatsapp_click, brochure_requestHighest; document it fully

Automatically collected events

Automatically collected events arrive as soon as the Google tag loads. They include first_visit, session_start, page_view and user_engagement. They power the basic reports, so never send a manual copy of them.

Enhanced measurement events

These are events you switch on in Admin, Data streams, your web stream. Per Google’s enhanced measurement guide, it covers scrolls, outbound clicks, site search, file downloads, YouTube video plays and form interactions.

Check this setting before you add tags. A manual event with the same name and trigger can double your count. Also, form_submit only records that a form was submitted, not that your server accepted a valid lead.

Recommended events

GA4 recommended events are events with names and parameters Google has already defined, such as generate_lead, sign_up, login and purchase. You still implement them yourself, but using Google’s vocabulary keeps your data compatible with current and future reports.

Custom events

GA4 custom events are names you create, such as whatsapp_click, when no automatic, enhanced or recommended event describes the action. They are allowed and common, but each one needs a written definition, a trigger, parameters and a reporting purpose.

Create a custom event only when no automatically collected, enhanced or recommended event describes the action. Use the narrowest standard event that fits. A custom name should be your last option, not your first creative idea.

  1. Check automatic collection. Confirm the tag does not already send the interaction.
  2. Check enhanced measurement. Review the exact event and its trigger in the data stream settings.
  3. Check Google’s recommended events reference. Use the recommended name if its definition fits your action.
  4. Search your event list for variants. Look for spelling, case and old naming versions.
  5. Only then create a custom event, and write down why the existing options were not enough.

Three GA4 event examples from one site: an account creation fits sign_up, an accepted enquiry fits generate_lead and a sale fits purchase. Calling all three form_submit hides what people did.

GA4 recommended events matched to actions: account created to sign_up, accepted enquiry to generate_lead, sale to purchase.
Use the recommended event that matches the real outcome instead of one generic form_submit for every form.

You can also create an event without code in Admin, Events, Create event. It builds a new event from an existing one, such as page_view on a thank-you path. It cannot see server success.

It suits quick fixes when you cannot edit the site: match event_name equals page_view and page_location contains /thank-you/, then name the new event. It changes only new data, never past reports.

Pro Tip

Build an event inventory before adding any tag. For each existing event, note its source, trigger, parameters and owner in one sheet. Ten minutes of inventory often reveals that the event someone asked for is already being sent.

What naming rules should event names and parameters follow?

Use lowercase snake_case, such as generate_lead, for event and parameter names alike. Names are case sensitive, so Generate_Lead becomes a separate row. Start with a letter and avoid Google’s reserved names and prefixes.

Google’s collection limits set the boundaries. Plan inside them from day one, because a name that breaks a limit is not reported the way you expect.

ItemLimit (standard property)
Event name length40 characters
Parameters per event25
Parameter name length40 characters
Parameter value length100 characters (page_location 1,000)
Distinct event namesNo limit for web streams; 500 per app user for app streams
User properties25 per property

Limits are only half the job. Most naming problems come from inconsistency, not from length.

Weak choiceBetter choiceWhy
Lead Form Submitted 2026generate_leadUses the recommended name; no spaces or dates
cta1select_content with a controlled parameterDescribes the interaction, not a page label
formNameform_nameKeeps one parameter style
Free-text page labelscourse_page, contact_pageFewer spelling variants
Email address as a parameterlead_type: course_enquiryProtects privacy, follows policy

Every GA4 event parameter should serve a named report. If nobody can name it, leave the parameter out. Keep values stable: course_form, Course Form and a page URL would show as three forms.

How do you plan events before you create them?

Plan each event in a short measurement plan before anyone opens GA4 or Tag Manager. The plan records the business question, event name, success definition, trigger, parameters, key-event status, the source system you will compare against and the owner.

Planning fieldLead exampleQuality check
Business questionWhich pages produce accepted enquiries?Can a decision be made from the answer?
Event namegenerate_leadDoes a recommended event fit?
Success definitionServer accepts a valid enquiryIs it stronger than a click?
TriggerConfirmed success callbackCan a refresh repeat it?
Parametersform_name, lead_typeControlled, useful, non-personal?
Key eventYesIs it a real business outcome?
Source of truthAccepted CRM leadsWhat independent count will you compare?
OwnerAnalytics lead with the form developerWho approves changes?

Add one explicit non-goal. The lead event must never carry the visitor’s name, email, phone number, message or any raw form field. Google’s PII policy prohibits sending personally identifiable information to Analytics.

How do you set up a lead event in GA4?

Set up a lead in GA4 with the recommended generate_lead event, fired only after your site confirms a successful submission. Do not fire it when the form opens, when the submit button is clicked or when browser validation runs.

Take a fictional course enquiry form. The goal is to count each accepted enquiry once and compare enquiry types without identifying anyone. A success callback from the application is stronger evidence than a click selector.

If the site has its own thank-you page, that page can be the trigger, but only if refreshes, direct visits and back-navigation cannot fire it again.

Without Google Tag Manager, a developer places this gtag call in the confirmed success path:

gtag('event', 'generate_lead', {
  form_name: 'course_enquiry',
  lead_type: 'classroom'
});

With Tag Manager, a specialist sends the same event from a validated success signal, such as a dataLayer push after the server responds. Use one route or the other. Firing both for the same action doubles every lead.

TestActionExpected result
Valid submissionSubmit test data and get server successOne generate_lead, approved parameters
Validation failureLeave a required field emptyNo generate_lead
Server failureUse a safe test that returns an errorNo generate_lead
Double clickClick submit twice quicklyOne lead, one event
RefreshReload the success stateNo second event
Privacy checkInspect the request and DebugViewNo name, email, phone or message

generate_lead also accepts value and currency. Send a value only when the business has an approved, defensible figure per lead, with currency: ‘INR’. An invented value makes revenue reports look precise while misleading everyone who reads them.

After deployment, compare GA4’s count with accepted submissions in the form tool or CRM for the same period. Consent choices, blockers and time zones mean the numbers rarely match exactly. The comparison is a diagnostic, not a demand for equality.

A tested event plan like this also makes a strong portfolio project. Our guide to a digital marketing resume for freshers shows how to turn it into a bullet that names the event, the test and what you verified.

How do you track a WhatsApp click as a GA4 event?

Track it as a custom event, such as whatsapp_click, because no recommended event fits. Fire it on clicks to wa.me or api.whatsapp.com links, with a controlled link_location parameter such as header or course_page.

gtag('event', 'whatsapp_click', {
  link_location: 'course_page'
});

Treat it as a micro-conversion, not a lead. A click opens WhatsApp; it does not prove a message was sent. If you mark it as a key event, compare it with the chats your team receives.

How do you track a purchase event with value and currency?

Use the recommended purchase event, sent only after your order system confirms payment. It needs a unique transaction_id and an items array, plus value and currency. A payment-button click or checkout view is not a purchase.

gtag('event', 'purchase', {
  transaction_id: 'ORDER_10427',
  value: 1499.00,
  currency: 'INR',
  items: [{
    item_id: 'WORKSHOP_GA4_01',
    item_name: 'GA4 Workshop',
    price: 1499.00,
    quantity: 1
  }]
});

The values are illustrative. Take transaction_id from the order system, never an email or phone number; Google uses it to drop duplicates. Value equals price times quantity, without tax or shipping, and needs a currency.

  • Test a one-item and a multi-item order.
  • Test a discount and confirm item prices and value follow the agreed rule.
  • Test a declined or abandoned payment: no purchase should fire.
  • Refresh the confirmation page: the order must not count twice.
  • Compare GA4 transactions and revenue with the order system for the same dates.

If items or currency are missing, the event may appear in Realtime but leave ecommerce reports empty or wrong. Seeing the word purchase is not enough: check the full parameter structure.

What are GA4 key events, and which events deserve the label?

GA4 key events are events you mark as important to the business, such as a confirmed lead or a purchase. In 2024 Google renamed GA4 conversions to key events; conversions now means those imported into Google Ads.

To mark one, open Admin, Data display, Events and switch on Mark as key event, or add it by name in advance. The name must match exactly, including case. Google’s key events help page has current steps.

The setting is not retroactive. Key-event reporting starts from the moment you mark it, and older data does not change. A standard property can have up to 30 key events, but that is a ceiling, not a target.

Candidate eventUsually meansKey event?
purchaseCompleted saleYes; Google marks it by default
generate_leadAccepted enquiryYes, if the trigger is server success
sign_upAccount createdYes, if sign-up is a real outcome
whatsapp_clickChat openedOptional micro-conversion; label it so
file_downloadDocument clickedUsually diagnostic
scroll90% depth reachedNo

Key events feed cost per lead (CPL) and return on ad spend (ROAS), so a loose definition distorts every metric above it. Our beginner’s guide to digital marketing metrics shows how CPL, CPA and ROAS depend on that one count.

The same key event usually travels into your ad accounts as the optimisation target. If you are weighing Google Ads vs Meta Ads, compare them on one shared, verified lead definition, not on each platform’s own counting.

How do you check a new event in Realtime and DebugView?

Check it in DebugView first, with debug mode on for your device, then confirm it in the Realtime report. DebugView shows each event and parameter from your test device; Realtime shows the last 30 minutes.

Five-step GA4 event check: name the event, add approved parameters, inspect DebugView, confirm reports, then mark key events.
Name the action, add useful parameters, confirm it in DebugView, verify it in reports, then decide on key-event status.
  1. Write the test case: page, input, consent state, expected event, expected parameters and actions that must not fire it.
  2. Turn on debug mode with Tag Assistant or Tag Manager preview, as Google’s DebugView guide describes.
  3. Perform one clean positive action. Do not click repeatedly while waiting.
  4. In the debug view, open the event and check its name, timestamp and every parameter. Look for personal data.
  5. Open Reports, Realtime and confirm the event in the event count card.
  6. Run negative and duplicate tests: errors, abandonment, refreshes and double clicks.
  7. A day or two later, check Reports, Engagement, Events to confirm the processed data.
  8. Compare with the source system using the same definition and dates.

The Tag Assistant extension and Tag Manager’s preview mode show which tags fired on each page. Use them to see what was sent, and the debug stream to see what GA4 received.

Pro Tip

Exclude your own test traffic. Use a dedicated test device, safe test orders and dummy inputs such as test-lead-01, and set up a developer traffic filter so debug sessions do not inflate your live reports.

Why is an event not showing, or showing the wrong count?

Events usually go missing because debug mode is off, consent was declined, a blocker stopped the tag, or you opened the wrong property. Realtime updates in minutes; standard reports can take 24 to 48 hours.

SymptomLikely causeFix
Event missing in the debug viewDebug mode off, wrong property, consent declined, blockerTest one condition at a time; never bypass consent
Count roughly doubledEnhanced and manual versions, or both gtag and GTM sendingKeep one approved implementation
Event fires before successClick or submit trigger usedMove the trigger to confirmed success
Seen in testing but not in reportsProcessing delay or parameter not registeredWait 48 hours; register the parameter
Near-duplicate rowsCase or spelling variantsOne event dictionary; retire old names
Leads above the CRMSpam, refreshes, failed validation countedAlign the trigger with accepted records
GA4 below the source systemConsent, blockers, network failuresQuantify the gap; use the CRM for operations
Personal data in parametersRaw fields or URLs with identifiersStop collection and follow data remediation

Fix the cause, not the dashboard label. A report filter cannot turn an early click into a confirmed lead. When a count jumps after a release, check the tracking change before calling it a marketing result.

How do you make custom parameters show up in reports?

Register each custom parameter in Admin, Custom definitions as a custom dimension or metric. GA4 collects it either way, but reports and Explorations show it only after registration, which takes 24 to 48 hours and does not backfill.

Use an event-scoped custom dimension for a controlled text value, such as form_name, and a custom metric for a justified number. Avoid high-cardinality values, such as full URLs, timestamps or free text, which split into thousands of rows.

  1. Confirm the parameter arrives with the right event in your debug test.
  2. Confirm its values are controlled and contain no personal data.
  3. Create the dimension or metric with the correct scope and a clear description.
  4. Register it before launch where possible, then check it after 48 hours.

How do you keep your event data clean after launch?

Treat tracking as a maintained product: one event dictionary, a change log, a release checklist and a regular source-system comparison. Forms, consent banners and checkouts change, and an event can keep firing after its meaning shifts.

Also separate collection from interpretation. A verified generate_lead proves GA4 received a defined interaction. It does not prove the lead was genuine, or that one channel caused it. Attribution assigns credit by a model; the CRM decides lead quality.

Watch event counts versus people. One person can fire an event several times. A drop in leads after a release that removed duplicates is better measurement, not lower demand, so annotate every release date.

Use this release checklist before any event goes live:

  • The business question and success definition are written.
  • Automatic and enhanced events were checked before adding a manual one.
  • A recommended event is used wherever its definition fits.
  • Names and parameters follow one documented snake_case convention.
  • No personal data or raw form field is sent.
  • The event fires once, at the confirmed outcome.
  • Positive, negative, duplicate and consent tests pass.
  • Custom parameters are registered as dimensions or metrics.
  • Key-event status has a written business reason.
  • The owner, release date and source-system comparison are recorded.

Retire events deliberately. Never reuse an old event name for a new meaning, because the trend line will mix two definitions. Mark the retirement date in the dictionary and review key events every quarter.

New to GA4? Open Google’s free Google Analytics demo account and look at the Google Merchandise Store property. Its Events report shows automatically collected, enhanced measurement and ecommerce events, so you can learn the four types before touching a tag.

Pro Tip

Practise on a site you control. Plan three events, implement them, test them in DebugView and write up what you verified. That one exercise belongs in a digital marketing portfolio for freshers and teaches more than reading any report.

Frequently asked questions

What are GA4 events?

GA4 events are named records of user interactions on a website or app, such as page views, scrolls, form submissions and purchases. Each event can carry parameters that add context. Events are automatically collected, enhanced measurement, recommended or custom.

Is there a limit on the number of GA4 events?

Web data streams have no limit on distinct event names. App streams allow 500 distinct names per app user. Each event can carry up to 25 parameters, and event names can be up to 40 characters.

What is the difference between an event and a key event in GA4?

An event records any interaction. A key event is an event you mark as important to the business, such as a confirmed lead or purchase. Key events replaced the old GA4 term conversions in 2024.

How long do GA4 events take to show in reports?

Events appear in DebugView and Realtime within seconds to minutes. Standard reports can take 24 to 48 hours, and new custom dimensions can take the same time before parameter values appear.

Can I send email addresses or phone numbers as event parameters?

No. Google’s policies prohibit sending personally identifiable information to Google Analytics. Send controlled categories, such as lead_type, instead of names, email addresses, phone numbers or raw form values.

Learn to plan, build and test GA4 events on live projects in the 16-week course at Sera Digital Marketing Academy, in Ahmedabad or live online.

Get course details WhatsApp