Sub topic 5
The Cross-Channel Last-Click Model
Prerequisites and purpose
Assume you know the GA4 interface, key events, and basic traffic-source terms such as source, medium, and UTM parameters. This chapter focuses on how GA4 assigns credit when several marketing channels appear before one key event.
Attribution is the process of assigning credit for a key event to marketing interactions. A touchpoint is one interaction, such as an ad click, an email visit, or an organic search visit. A conversion path is the ordered list of touchpoints before a key event.
The cross-channel last-click model gives all credit to the last eligible touchpoint in the path. “Cross-channel” means that GA4 evaluates channels together instead of evaluating only Google Ads traffic.
How GA4 identifies the last touchpoint
GA4 gets traffic-source information from data such as:
- UTM parameters in campaign URLs.
- Referrer information from links.
- Google Ads and other linked advertising integrations.
- GA4 channel groups, which classify source and medium into channels such as Paid Search, Email, and Organic Search.
For example, this URL identifies a newsletter campaign:
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_saleIf a visitor arrives through this URL and later triggers a key event, Email can appear as a touchpoint in the conversion path.
The model then finds the last eligible non-direct touchpoint within the selected lookback window. It assigns that touchpoint 100% of the key event’s credit.
flowchart TD
A[Paid Search visit] --> B[Email visit]
B --> C[Direct visit]
C --> D[Key event]
D --> E[Email receives 100% credit]Worked example
Suppose a visitor follows this path:
- Paid Search ad click.
- Email link visit.
- Direct visit.
- Purchase key event.
Under cross-channel last click, Email receives the purchase credit. The final Direct visit does not replace Email when GA4 has a previous eligible non-direct touchpoint.
Consider two other paths:
| Conversion path | Last-click credit |
|---|---|
| Organic Search → Paid Social | Paid Social receives 100% |
| Direct only | Direct receives 100% |
A path containing only Direct traffic has no earlier channel to receive credit, so Direct receives the credit.
# Toy illustration of last-click credit.
def last_click_credit(path):
non_direct = [channel for channel in path if channel != "direct"]
return non_direct[-1] if non_direct else "direct"
paths = [
["paid_search", "email", "direct"],
["organic_search", "paid_social"],
["direct"],
]
credit = {}
for path in paths:
channel = last_click_credit(path)
credit[channel] = credit.get(channel, 0) + 1
print(credit)
# {'email': 1, 'paid_social': 1, 'direct': 1}This code illustrates the rule. It is not GA4’s implementation, and real attribution depends on event timestamps, identity settings, channel classification, and lookback windows.
What last click is useful for
Last click answers a narrow operational question: “Which channel was the final eligible interaction before the key event?” It is easy to explain and useful when evaluating channels that close demand, such as branded search or remarketing.
It does not show which channels created awareness or assisted the decision. A channel that frequently appears early in paths may receive little or no credit under this model.
Exercise
Exercise
A path is Paid Social → Organic Search → Direct → sign-up. Which channel receives credit under cross-channel last click, assuming all touches are inside the lookback window?
Show answer
Organic Search receives 100% credit because Direct is ignored when an earlier eligible non-direct touchpoint exists.