Sub topic 12
Key events: marking the events that matter
Prerequisites: You should understand GA4 events and event parameters. You should also know how to open a GA4 property and read a standard report.
A key event is an event that represents an important result for your business or product. Examples include:
purchasefor a completed ordergenerate_leadfor a submitted lead formsign_upfor a new accounttutorial_completedfor finishing a tutorial
GA4 collects events whether or not you mark them as key events. Marking an event adds reporting importance to an event that already exists. It does not create a new event or change the event's name.
Marking an event
You can mark an existing event as a key event in the GA4 interface:
- Open Admin for the property.
- Open Data display and select Events.
- Find the event name.
- Turn on Mark as key event.
The exact menu labels can change, but the operation is the same: select the event name that represents a business outcome and mark it.
You can also mark an event while viewing event details in some GA4 reports. First confirm that the event is being sent correctly. Marking a misspelled or incorrectly implemented event will produce misleading results.
// Send the event first. Mark "purchase" as a key event in GA4 Admin.
gtag('event', 'purchase', {
transaction_id: 'T_1007',
currency: 'USD',
value: 59.98,
items: [
{
item_id: 'SKU_123',
item_name: 'Trail Shoe',
price: 29.99,
quantity: 2
}
]
});After GA4 receives this event, the event can appear in event reports. After you mark purchase as a key event, GA4 also uses it in key-event reporting.
What changes in reporting
Marking an event lets GA4 show metrics such as:
- The number of key event occurrences
- The users who triggered the key event
- Key event rate for users or sessions
- Key events by channel, campaign, page, device, or other dimensions
An event can happen more than once for the same user. For example, one user might make three purchases. The number of purchase key events and the number of users with a purchase are different measurements.
The key-event label also helps you evaluate acquisition and engagement. A channel that brings many users may produce few key events. Another channel may bring fewer users but a higher key-event rate.
Common mistakes
Do not mark every event as a key event. If events such as page views, scrolls, and button clicks are all key events, the reports stop distinguishing important outcomes from normal activity.
Choose an event that occurs once for the intended outcome when possible. For example, track a successful order confirmation rather than every click on the checkout button. Otherwise, one purchase could produce several key events.
Check the implementation before marking the event. Confirm the event name, trigger, and parameters in DebugView or another testing report. A key event with duplicate firing, missing consent, or an incorrect trigger will still produce inaccurate reporting.
GA4 uses the term key event for important events in Analytics. Advertising products may use the term conversion for actions imported or configured for advertising optimization. Treat the two labels as related but verify where the action is configured and counted.
Exercise
A sign_up event is collected correctly, but it is not included in key-event reports. What should you check first?
Show answer
Check whether the exact sign_up event name is marked as a key event in the GA4 property. Then check for reporting delay and confirm that the event is not being sent under a different name.