Sub topic 3
Conversions (key events) as the target of attribution
This chapter assumes you know the GA4 interface and can read standard reports. It also assumes you know what UTM parameters are. Earlier chapters covered what attribution is and where source data comes from. Here we look at what credit is assigned to: the key event.
Why the target matters
An attribution model answers one question: which touchpoints get credit for an outcome? The outcome has to be defined first. In GA4, the outcome is a key event. Without a key event, there is nothing to credit, and the attribution reports have nothing to show.
A key event is a GA4 event that you have marked as especially important to the business. Examples are purchase, generate_lead and sign_up. Any event can be a key event, including custom ones. Only events you mark take part in attribution.
Conversions and key events: the naming change
Google renamed GA4 "conversions" to "key events" in March 2024. The change avoids confusion with Google Ads, where "conversion" means something narrower.
- A key event is an event you mark as important inside GA4.
- A conversion is a term now mainly used by Google Ads. A key event can be shared with Google Ads and used there as a conversion, for example for bidding.
Older guides, screenshots and some reports still say "conversions". Treat them as the same thing as key events unless the context is clearly Google Ads. Chapter 14 returns to this naming gap as one source of confusing numbers.
From event to attributed key event
An event becomes an attribution target in three steps.
- Your site or app sends the event, for example through gtag.js, Google Tag Manager or the Measurement Protocol.
- You mark the event as a key event in GA4 Admin, under Data display > Events (switch Mark as key event on).
- GA4 links each new occurrence of that key event to the touchpoints that came before it, using the reporting attribution model.
Here is a minimal gtag.js call that sends a lead event. It is plain event collection. Nothing in the code makes it a key event, because that is a setting in the GA4 interface.
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
// Fire when the lead form is submitted successfully.
gtag('event', 'generate_lead', {
currency: 'USD',
value: 25.0
});
</script>Replace G-XXXXXXXXXX with your own measurement ID. After the event appears in GA4, mark generate_lead as a key event.
Marking is not retroactive
Marking an event as a key event applies from that moment on. GA4 does not go back and reclassify history. If you mark generate_lead today, earlier occurrences are not key events in reports and have no attributed credit. This has practical effects:
- A new key event shows zero before its start date. A comparison across that date is misleading.
- Unmarking a key event stops future counting. Past data keeps what was recorded.
- Retroactive credit is not available. Plan key events before a campaign, not after.
A standard property allows up to 30 key events. GA4 360 allows more. Choose events that match real business outcomes. Do not mark every interaction, because that makes the reports harder to read and spreads attention across many targets.
Counting method: once per event or once per session
Each key event has a counting method. It controls how many times GA4 counts the key event when it fires more than once.
| Counting method | What it counts | Typical fit |
|---|---|---|
| Once per event | Every occurrence | Purchases, where each order matters |
| Once per session | At most one per session | Lead forms or sign-ups, where repeats are noise |
The counting method changes your totals, so it also changes the credit that models share out. A user who submits a form three times in one session counts three times under "once per event" and once under "once per session".
This toy function shows the difference. It is only an illustration of the counting rule, not GA4's code.
# Toy illustration of counting methods (not GA4's implementation).
# Each tuple is (session_id, event_name) in the order events were received.
events = [
("s1", "generate_lead"),
("s1", "generate_lead"),
("s1", "generate_lead"),
("s2", "generate_lead"),
("s2", "page_view"),
]
def count_key_events(events, key_event, method):
if method == "once_per_event":
return sum(1 for _, name in events if name == key_event)
if method == "once_per_session":
return len({sid for sid, name in events if name == key_event})
raise ValueError("unknown method: " + method)
print(count_key_events(events, "generate_lead", "once_per_event")) # 4
print(count_key_events(events, "generate_lead", "once_per_session")) # 2Both counts are correct. They answer different questions: "how many form submissions?" and "how many sessions produced a lead?". Pick the one that matches how the business measures success.
How a key event joins a conversion path
A key event does not carry a source of its own. GA4 looks at the user's earlier touchpoints and assigns credit to them. The details depend on the model:
- Last-click gives all credit to one channel.
- Data-driven attribution spreads credit across channels according to what the data shows.
Both use the same key event as the endpoint of the path. Because the target is shared, a model comparison is a fair test. The key event count stays the same across models. Only the distribution of credit among channels changes.
Two settings limit which touchpoints can receive credit:
- The lookback window is how far back from the key event GA4 searches for touchpoints. Admin offers different options for acquisition key events and for other key events. Chapter 8 covers the exact choices.
- Only touchpoints GA4 can recognize are eligible. Traffic without usable source data, or direct visits following an earlier non-direct visit, is handled by the rules in the direct traffic chapter.
A key event with no eligible earlier touchpoint is attributed to direct, as in the toy example from the earlier model chapter.
Using key events in the attribution reports
The attribution reports are under Advertising > Attribution. Two of them depend directly on your key event choices.
- Model comparison shows, for each channel, how many key events each model credits. You can pick the key event to analyze, or all key events together.
- Conversion paths shows the sequences of channels that led to key events. Here the key event is the end of each path.
Choosing the right key event in these reports is the most common user decision. If you leave the default of all key events, a high-volume, low-value event can hide the pattern you care about. For example, a scroll-like micro event marked as a key event would swamp purchase. Filter to one key event when you ask a specific business question.
Common mistakes
- Marking too many events. Credit gets diluted across outcomes that mean different things. Keep to a short list of real business outcomes.
- Forgetting the counting method. A form that fires on every field blur and counts once per event inflates leads. Check the method when numbers look high.
- Assuming retroactive effects. Reports do not change for dates before the marking.
- Mixing up GA4 key events and Google Ads conversions. A key event only counts in Google Ads if you link the accounts and choose to use it there. Chapter 14 shows how this causes mismatches.
- Firing the event twice. A page reload on a thank-you page, or tag and code both sending the event, doubles the count. Fix the source of the duplicate rather than relying on the counting method.
- Ignoring value. A key event can carry
valueandcurrency. Attribution reports can then show revenue credited to each channel, but only if the event sends those parameters.
Summary
A key event is the outcome that attribution credits. It must be an event you mark in GA4 Admin, marking applies only going forward, and the counting method decides whether repeats count. Every model in the later chapters uses the same key event as the end of a conversion path, so differences between models come from how credit is divided and not from what is counted.
Exercise
A team marks generate_lead as a key event on 1 March with the "once per event" counting method. On 15 March they notice each form submission seems to be counted three times, because the form fires the event on every step. In the Model comparison report, they then look at 1 to 28 February. What will they see for generate_lead in February, and what should they change to stop the inflated March counts?
Show answer
February will show zero key events for generate_lead, because marking is not retroactive and earlier occurrences are not treated as key events. For March, the better fix is to send the event only once, on the final successful submission, because the duplicates come from the source. Switching the counting method to "once per session" would also reduce the counts, but it would hide real repeat leads in a session, so fixing the tag is the cleaner solution.