What are Events in Google Analytics?
In Google Analytics 4, events track specific user interactions on your website or app, such as page views, clicks, form submissions, or purchases. Events show what users do and form the foundation for measuring engagement and conversions in GA4.
Why do we track events in Google Analytics?
Tracking events helps you understand how users interact with your website or app beyond just page views.
Events let you measure actions, like clicks, form submissions, and purchases, so you can evaluate performance, improve user experience, and track conversions that matter to your business goals.
What are Key Events (Conversions) in GA?
Key events, also known as conversions, are specific events you mark as important business actions in GA4, such as form submissions, sign-ups, or purchases.
Tracking key events helps you measure how effectively your website turns user interactions into meaningful outcomes.
What are parameters in GA?
In GA4, parameters are pieces of information attached to events that provide extra context about user actions.
You can include parameters that describe the products you sell, such as their name, category, and price.
For example, a click event can include parameters like link URL, button text, or page location, helping you understand not just what happened, but how and where it happened.
A Simple Analogy to Understand Events & Parameters:
Imagine you are selling nasi lemak.
Things that happen in your nasi lemak shop are events:
Every time someone walks up to your stall (event), you want to know their gender & nationality (parameter).
Every time someone places an order (event), you want to know how many packs they ordered (parameter).
Every time someone makes a payment (event), you want to know the amount paid (parameter).
Parameters collect extra details about each event. In technical terms, parameters are additional data points that help you analyze what’s really happening.
Real GA4 Event & Parameter Examples:
purchase (event)
transaction_id: unique order identifiervalue: total purchase valuecurrency: currency used (e.g., USD, MYR)
form_submission (event)
form_id: unique form identifierform_name: name of the form
Why Set Parameters for Events in GA4?
Event parameters allow you to collect additional details about an event. For example, when someone signs up for a newsletter (the event), you may want to know which form they used, this information can be captured using a parameter like form_id.
To use event parameters in GA4 reports, you need to register them as custom definitions. There are two types of custom definitions:
Custom dimensions: Describe data in words, such as category, form name, or content type.
Custom metrics: Describe data in numbers, such as price, quantity, or score.
Parameter register as custom dimensions: how it works?
When you send an event parameter to GA4 (via GTM or gtag), GA4 collects it — but it won’t appear in standard reports automatically.
To use that parameter in reports and Explorations, you must register it as a Custom Dimension (or Custom Metric if it’s numeric). Registration tells GA4 to treat that parameter as a reportable field.
Once registered, the parameter becomes available in your analysis workspace, allowing you to filter, segment, and break down data based on that specific attribute.
Different Event Types in Google Analytics 4
There are four types of events in Google Analytics 4, which we’ll cover in more detail below. Here’s a quick overview:
4 Types of Google Analytics Events
1. Automatically collected events: Events that GA4 collects by default, without any setup.
2. Enhanced measurement events: Events that are automatically collected but can be turned on or off in settings.
3. Recommended events: Predefined events that you manually implement to follow Google’s recommended naming and structure.
4. Custom events: Events that you create and define yourself to track actions unique to your business.
1. Automatically collected events (Default)
Automatically collected events are events that Google Analytics 4 tracks by default without any manual setup. Examples include first_visit, session_start, and user_engagement, which helps GA4 understand basic user activity.
Note: All automatically collected events already include a set of standard parameters, but you can also add custom parameters to automatically collected and enhanced measurement events for deeper analysis.
2. Enhanced Measurement Events
Enhanced measurement events are automatically tracked events in GA4 that can be enabled or disabled in your data stream settings.
Common examples include page_view, scroll, outbound_click, site_search, and file_download, which helps track common user interactions without manual tagging.
3. Recommended Events
GA4 recommended events are predefined events suggested by Google for common business actions, such as login, sign_up, purchase, or generate_lead.
They must be set up manually, but using them helps keep your tracking consistent and makes your data easier to understand and report on.
Example:
E-commerce events such as add_to_cart, begin_checkout, and purchase are all GA4 recommended events.
Google provides recommended event names and parameters (for example, for the add_to_cart event), but you are responsible for implementing them on your site or app.
Pro tips:
Event names are case-sensitive and must start with a letter. To keep your data clean and consistent, use snake_case with lowercase letters and underscores.
For deeper analysis of specific events, GA4 Explorations work well.
How to Set Up Recommended Events
You can set up GA4 recommended events using either the Google Tag (gtag.js) or Google Tag Manager (GTM).
Using the Google tag requires adding code directly to your website, and it can be quicker if you have developer support available.
Google Tag Manager, however, is more flexible, requires less ongoing developer involvement, and allows for making changes faster without editing site code.
How to Ensure Recommended Events Are Being Tracked in GA4
You can verify that recommended events are firing correctly in GA4 to ensure the right data is being collected. There are two main ways to do this: the Realtime report (easier and faster) and DebugView (more detailed and more powerful).
The Realtime Overview report lets you quickly confirm that events are being received as users interact with your site. DebugView provides deeper visibility by showing events and parameters in real time, making it ideal for troubleshooting.
4. Custom Events
Custom events are events that you create yourself to track user actions that aren’t covered by automatically collected or recommended events.
Examples include video_watched_75, pricing_click, or chat_opened, which helps you measure interactions specific to your business.
How to Create Custom Events in Google Analytics 4
There are two main ways to create custom events in GA4:
Directly in the GA4 interface
Using Google Tag Manager (recommended for flexibility)
Before creating a custom event, first check whether the event is already collected by GA4.
Review Google’s list of automatically collected events, enhanced measurement events, and recommended events to avoid duplicating existing tracking.
Event Naming Best Practices (Important)
Before setting up a custom event, make sure the event name does not conflict with GA4’s built-in or recommended events.
Keep these rules in mind:
Event names must start with a letter
Event names can only include letters, numbers, and underscores
No spaces or special characters are allowed
Use snake_case (all lowercase with underscores)
Event names are case-sensitive
(custom_event,Custom_Event, andcustom_Eventare treated as different events)Avoid reserved event names and prefixes, or GA4 will return an error
Event names and parameters must follow GA4 character limits
For more details, refer to Google’s official documentation on event naming rules.
How to Ensure Custom Events Are Being Tracked in GA4
You can use DebugView in GA4 to verify that your custom events are firing correctly in real time.
Enable debug mode (via Google Tag Manager or browser tools), then go to Admin → DebugView to see events and parameters as they occur.
Once confirmed, custom events will appear in GA4 under Reports → Engagement → Events. Keep in mind that it may take 24 hours for events to show in standard reports after first being tracked.
FAQs
Event vs Parameters vs Metrics vs Dimensions: What’s the Difference?
An event is an action a user takes, such as a click, form submission, or purchase.
Parameters are extra details attached to an event, like which button was clicked or how much was paid.
Dimensions describe data in words (for example, page name or device type), while metrics measure data in numbers (such as event count, number of users, or revenue).
In short: events happen, parameters add context, dimensions describe, and metrics measure.
One line analogy: An event is what happened, parameters explain the details, dimensions label the details, and metrics count or measure them.
How events and event parameters work together in GA4
In Google Analytics 4, events record what happened, while event parameters provide additional details about that event. The event tells GA4 that an action occurred, and the parameters explain where, how, or what was involved.
Example 1: Page views
The page_view event fires every time a page loads, counting total page views.
The page_location parameter adds context by identifying which specific page URL was viewed.
The page_referrer parameter adds context by identifying the previous page’s URL
Example 2: Clicks
The click event records when an external link is clicked, showing the total number of outbound clicks.
The link_url parameter provides detail by capturing the exact destination URL of each click.
GA4 clicks vs Google Search Console clicks: what’s the difference?
Google Analytics 4 clicks measure user interactions on your website (such as outbound link clicks or button clicks).
Google Search Console clicks measure how many times users clicked your site from Google Search results.
In short, GA4 tracks on-site behavior, while Search Console tracks search visibility and traffic from Google Search.
Event vs dimension: what's the difference?
An event records that something happened — it tracks an action.
For example: page_view, purchase, or form_submit.
A dimension, on the other hand, describes the context of that action — it tells you more about the event.
For example: page title, traffic source, device category, or user country.
In simple terms:
Events tell you what happened. Dimensions tell you more about how, where, or by whom it happened.
What is an Assisted Conversion?
An assisted conversion occurs when a marketing channel contributes to a conversion but is not the final interaction before the conversion happens.
For example, a user might first discover your site through organic search, later return via email, and finally convert through a paid ad. In this case, organic search and email assisted the conversion, while paid ads received the last-click credit.
Assisted conversions help you understand the supporting role different channels play in the overall customer journey.