GA4 Events: Types, Design, Parameters and Testing

Published:
Last Updated:
Category: Web Analytics
Authors: Shusaku Yosa
A GA4 event records an interaction such as a page view, click or purchase. Its name describes what happened; parameters add context. GA4 does not automatically collect every action correctly, especially business outcomes that require application knowledge.
Start by checking what is already collected, then look for a recommended event. Create a custom event only when the existing categories do not fit the question you need to answer.
Compare four event types
Type | How it is collected | Example or limitation |
|---|---|---|
Automatically collected | Through basic tag or SDK behavior | session_start or first_visit, subject to conditions |
Enhanced measurement | Enabled for supported web interactions | Scrolls, outbound links and downloads |
Recommended | Implemented with prescribed names and parameters | generate_lead, sign_up and purchase |
Custom | Defined for a specific unmet requirement | A business-specific action |
Enhanced measurement does not support every custom form or embedded video implementation. Match observed events to real actions before assuming coverage.
Write an event specification
This fictional lead-generation site distinguishes intermediate actions from success.
Purpose | Event | Trigger condition | Context | Meaning |
|---|---|---|---|---|
Use a CTA | cta_click | Intended CTA click | cta_location | Intermediate action |
Start input | Check existing form_start collection | Supported form interaction | form_id | Intermediate action |
Submit a valid inquiry | generate_lead | System accepts the inquiry | lead_type | Candidate business outcome |
Complete registration | sign_up | Registration succeeds | method | Candidate business outcome |
Do not send email addresses, phone numbers or free-text form contents in analytics parameters or URLs. Use appropriate non-identifying categories instead.
Choose the implementation route
GA4 can create an event from conditions on information already received. This can classify an existing event, but it cannot discover a success signal that the website never sent.
For a newly measured interaction, implement collection through GTM, the Google tag or the app SDK. An application-confirmed data-layer event can tell GTM when to send generate_lead. The GTM components guide explains that relationship.
A thank-you URL rule is appropriate only when reaching it reliably represents success. Test direct visits, reloads and failed submissions. A substring such as “thanks” is not universal proof of a valid lead.
Parameters are not the same as report dimensions
A parameter such as lead_type = demo adds context to an event. To analyze a custom value in reports or explorations, register the appropriate custom definition when no built-in field already represents it.
Collection and reporting are separate stages. Allow for processing and do not assume registration reconstructs all historical values. Avoid creating report dimensions full of unique per-event identifiers, which can introduce high-cardinality problems.
Test success, failure and repetition
Test | Expected result |
|---|---|
Valid submission | Intended number of generate_lead events |
Validation or network failure | No success event |
Double click | No duplicate business success |
Confirmation-page reload | No unintended recounting |
Unrelated form | No false positive |
Changed consent state | Behavior matches the consent design |
Use GTM preview, GA4 DebugView and processed reports in sequence. Decide how test traffic is handled and inspect event names, parameters, destination and count. A tag firing successfully is not the entire test.
Select key events after validating collection
An event records behavior; a key event identifies behavior important to the business. A Google Ads conversion is a further reporting and optimization concept. Do not mark every interaction as success to make a dashboard look better.
Keep an event registry with definition, source, parameters, owner, change date and test result. Check it before implementing another tag for an action that enhanced measurement or existing code already collects. For outcome selection, continue with the key-event guide.
Related guides
Keep marketing reporting consistent
Use consistent metric definitions and reporting periods when reviewing results. See NeX-Ray’s supported integrations and reporting features, or start for free.
References
Official references checked September 28, 2026. Interface labels and available features can vary by account and rollout.




