Sub topic 13
Marking events as key events
This chapter assumes you can already send an event with gtag.js or Google Tag Manager, and that you have seen it arrive in DebugView. It also assumes you know the difference between recommended and custom events. Here you decide which events represent business outcomes and flag them as key events in GA4.
What a key event is
A key event is an event you flag as especially important to your business. Typical examples are a purchase, a sign-up, or a submitted lead form. The flag does not change how the event is collected. It changes how GA4 reports on the event, and which downstream tools treat it as a goal.
Google renamed this feature in March 2024. It used to be called a conversion, and older documentation, blog posts, and API fields still use that word. In GA4 reports, "key event" is the GA4-side label. Google Ads still uses "conversion" for the actions it optimizes bidding against. When you import a key event into Google Ads, it becomes a Google Ads conversion.
Marking an event as a key event does three practical things:
- GA4 counts it in a dedicated key events column in standard reports, such as the acquisition reports.
- You can use it as a goal in explorations, comparisons, and attribution analysis.
- You can import it into linked products such as Google Ads.
Some events are key events by default in new properties, such as purchase. Check your property's list instead of assuming.
Which events deserve the flag
A key event should answer the question "did the user do something that matters to the business?" It is not a list of everything you track. Page views, scrolls, and button clicks that carry no business meaning make poor key events. They inflate counts and make acquisition reports hard to read.
Good candidates are usually recommended events that mark an outcome:
| Event | Type | Typical meaning |
|---|---|---|
| `purchase` | Recommended | A completed transaction |
| `generate_lead` | Recommended | A submitted contact or quote form |
| `sign_up` | Recommended | A new account created |
| `newsletter_signup_click` | Custom | A footer sign-up interaction, if it is a real goal for you |
Intermediate tip: events that happen early in a funnel, such as add_to_cart or begin_checkout, are usually better analyzed as funnel steps in explorations. Keep the key event list for the outcome itself. If you flag every step, you can no longer tell the outcome from the path toward it.
Marking an event as a key event
The event must exist in your property before the toggle is available in the list, unless you create the key event by name. Follow these steps for an event you already send.
- Send the event from your site and confirm it in DebugView.
- Wait for it to appear in Admin > Data display > Events. New event names can take up to about 24 hours to show in the list.
- In that list, switch on Mark as key event for the row.
If you cannot wait, open Admin > Data display > Key events, choose New key event, and type the exact event name. GA4 starts treating that name as a key event as soon as it arrives. The name must match exactly, including case and underscores. A typo creates a key event that never fires.
You can send an event whose name you plan to flag like this:
gtag('event', 'generate_lead', {
value: 25.0,
currency: 'USD',
lead_source: 'pricing_page'
});generate_lead is a recommended event, so its name is predefined. value and currency are recommended parameters. lead_source is a custom parameter that you would register as a custom dimension, as covered in the previous chapter, if you want to report on it.
Key events are not retroactive
Marking an event applies from that moment forward. Past occurrences of the event are not reclassified as key events in your reports. If you flag generate_lead today, last month's lead submissions will not show up in the key events column, even though the events exist.
Unmarking works the same way. When you turn the flag off, GA4 stops counting new occurrences as key events. Data already processed keeps its key event status.
For this reason, decide the key event list during planning, not after launch. Write it in the tracking plan so that the flag is turned on before the first real traffic arrives.
Counting method
For web data streams, you can choose how GA4 counts a key event:
- Once per event: every occurrence counts. This is the default. It suits
purchase, where each transaction matters. - Once per session: at most one occurrence per session counts. This suits lead forms, where a user who submits the form twice should not look like two leads.
You find this setting on the key event's row in the Key events page. Changing it affects data going forward, not past data. Keep in mind that a Google Ads import has its own counting rules, so compare numbers carefully when the two systems disagree.
Key event value
If the event carries value and currency parameters, GA4 can sum them into a revenue figure for the key event. The purchase example from earlier chapters works this way, because it sends value: 59.98 and currency: 'USD'.
For key events with no natural value, such as a sign-up, you have two options. You can send no value and only count occurrences. Or you can send an estimated value, for example 25 for the average value of a lead. If you send estimates, document them in the tracking plan so that analysts do not mistake them for revenue. Mixed currencies are converted to the property's reporting currency, and an invalid or missing currency makes the value unusable, so always send both parameters together.
Turning a page view or parameter into a key event
GA4 flags whole events. It cannot flag "page_view where the URL contains /thank-you". Two clean ways to handle this are available:
- Send a dedicated event. The thank-you page fires
generate_leaditself. This is the more reliable approach, because the event name is explicit in your code and visible in the tracking plan. - Create an event in the GA4 interface. Under Admin > Data display > Events, choose Create event. Set a new event name such as
lead_thank_you_viewwith conditions likeevent_nameequalspage_viewandpage_locationcontains/thank-you. Then mark the new event as a key event.
The second approach avoids a code change, but it has weak points. The rule runs inside GA4, so it is hidden from developers who read only the site code. It also depends on the URL staying the same, and it cannot be tested in GTM preview mode. Prefer approach 1 when you control the code.
Common errors
- The toggle is missing. The event has not yet arrived in the property, or arrived under a different name. Check DebugView and the exact spelling, then use New key event if needed.
- Counts look doubled. The tag fires twice, for example both a gtag snippet and a GTM tag. DebugView shows two events within a second. Remove one source.
- Expecting history. You flagged the event today and the report is empty for last month. See the section above on retroactivity.
- Too many key events. Reports show large totals that no one can explain. Review the list quarterly and unmark events that are only funnel steps.
- Mismatch with Google Ads. The two products count differently and use different attribution settings, so small differences are expected. Large gaps point to a duplicated import or a wrong counting method.
- Unregistered parameter in a report. Marking an event does not register its parameters. Report breakdowns by
lead_sourcestill need a custom dimension.
Checklist before flagging
- The event name is in the tracking plan, with parameters and trigger.
- The event is validated in DebugView and appears once per action.
- The business owner agrees the event represents an outcome.
- The counting method is chosen.
valueandcurrencyare sent, if value matters.- Any parameters you want to break down by are registered as custom dimensions.
Exercise
Your team flagged generate_lead as a key event on 1 June. A stakeholder asks why leads submitted in May do not appear in the key events column, even though the events are visible in the Events report. Also, users who submit the form twice in one visit are counted twice. What do you explain, and what do you change?
Show answer
Marking an event as a key event applies only going forward, so the May submissions remain ordinary events and are not reclassified. For May, analyze them through the Events report or an exploration filtered on generate_lead. For the double counting, change the key event's counting method from once per event to once per session. The change also applies only to new data.
Exercise
You want to treat visits to the /thank-you page as leads, but you cannot change the site code. Name one way to make this a key event in GA4, and one reason sending a dedicated event from the page would be better if you could change the code.
Show answer
Use Create event under Admin > Data display > Events with the conditions event_name equals page_view and page_location contains /thank-you, give the new event a name, and mark that event as a key event. A dedicated generate_lead event is better because its name and parameters are explicit in the code, can be tested in DebugView and GTM preview, and do not break if the URL changes.