Sub topic 8
Lookback windows and what they change
This chapter assumes you know what a key event is, how UTM parameters feed source and medium, and how the last-click and data-driven models assign credit. Here you will learn how far back GA4 looks for touchpoints, where you set that limit, and how the setting changes the numbers you report.
What a lookback window is
A lookback window is the number of days GA4 searches backward from a key event to find touchpoints that can receive credit. The count starts at the conversion and moves back in time. A touchpoint older than the window is not considered, even if it was the first time the user ever met your brand.
The window limits eligibility. It does not choose who gets the credit. The attribution model (last click or data-driven) still decides how to split credit among the touchpoints that fall inside the window.
Where you set it
You set lookback windows at the property level in GA4 Admin.
- Open Admin.
- Under Data collection and modification, choose Data settings, then Attribution settings. Menu labels shift between interface updates, so look for "Attribution settings" if the path differs.
- Choose a window for each of the two event groups described below.
- Save.
GA4 offers fixed choices only. You cannot enter a custom number of days.
| Event group | What it covers | Available windows | Default |
|---|---|---|---|
| Acquisition key events | First-visit style events that mark a new user, such as `first_open` and `first_visit` | 7 days or 30 days | 30 days |
| All other key events | Purchases, sign-ups, form submissions and other key events you mark | 30, 60 or 90 days | 90 days |
Note that the acquisition group has a shorter maximum than the other group. A new-user acquisition is judged on a recent touch. A purchase can reasonably follow a touch from many weeks earlier.
The property also has a separate setting for engaged-view conversions from YouTube. That is a different mechanism with its own window, and it does not change the click-based windows in the table.
What the window changes
Which touchpoints are eligible
A shorter window removes older touchpoints. This matters most for long buying cycles such as software contracts, travel, furniture or education. If a typical customer takes 60 days from first click to purchase, a 30-day window drops the early research touchpoints and leaves only the later ones.
Who gets last-click credit
Under last click, GA4 gives all credit to the final eligible non-direct touchpoint. The window changes that result only when the final non-direct touch is older than the window. In that case the conversion has no eligible touch inside the window and GA4 treats it as direct. The same event can therefore look like a direct conversion under a 30-day window and an email conversion under a 90-day window.
How credit is shared under data-driven attribution
The data-driven model spreads credit across the touchpoints that fall inside the window. A longer window brings more touchpoints into each path. Early-funnel channels such as paid social, display or organic search then appear in more paths and can receive more credit. A shorter window pushes credit toward channels that act close to the conversion.
How many conversions have a known source
A longer window lets more conversions find a touchpoint. The share of conversions credited to direct usually falls as the window grows, because fewer paths have an empty eligible set.
A worked example
The script below uses made-up dates. It is a toy illustration of window logic, not GA4's implementation. Each touchpoint is a date and a channel. It lists the touches that fall inside each window and the last-click result among them.
from datetime import date, timedelta
conversion_day = date(2026, 11, 5)
touchpoints = [
(date(2026, 8, 20), "paid_search"), # 77 days before the conversion
(date(2026, 9, 25), "email"), # 41 days before the conversion
]
def eligible_touchpoints(touchpoints, conversion_day, window_days):
cutoff = conversion_day - timedelta(days=window_days)
return [
channel
for day, channel in sorted(touchpoints)
if cutoff <= day <= conversion_day
]
for window in (30, 45, 90):
eligible = eligible_touchpoints(touchpoints, conversion_day, window)
last_click = eligible[-1] if eligible else "direct (no eligible touchpoint)"
print(f"window {window}: eligible={eligible} last click={last_click}")Running it prints:
window 30: eligible=[] last click=direct (no eligible touchpoint)
window 45: eligible=['email'] last click=email
window 90: eligible=['paid_search', 'email'] last click=emailThe three results show the effects described above:
- At 30 days, no touchpoint qualifies, so the conversion has no earlier source to credit.
- At 45 days, email qualifies and gets the full last-click credit.
- At 90 days, both touches qualify. Last click still gives email 100%. A data-driven model would now have two touchpoints to share credit between, where at 45 days it had only one.
The values 30, 45 and 90 are chosen to make the logic visible. GA4 itself offers only the fixed choices listed in the table.
Which reports the setting affects
The lookback window applies to reports that use the reporting attribution model. These are the attribution reports and the advertising and key event reports that show attributed conversions.
It does not affect session-scoped or user-scoped acquisition dimensions. A report that shows the source of a session records that session's own source, whatever happened before it. A later chapter covers these scopes in detail. For now, remember that two reports can disagree even when one property and one date range are used, because only one of them applies the window.
Choosing a window
Start from the length of your real purchase cycle, not from the default.
- Find how long customers take from first touch to key event. The conversion paths report and the time lag views show this.
- Pick the shortest window that covers most of that range. A window far longer than the cycle adds old, weakly related touches to each path.
- Use the acquisition setting separately. Keep 30 days unless new-user acquisition in your business is fast and you want credit tied to very recent touches.
- Keep the choice stable. Compare model results at a fixed window, then change the window deliberately as a separate step.
| Situation | Reasonable starting point |
|---|---|
| Impulse retail, low-priced products | 30 days |
| Mixed consideration, typical online store | 60 or 90 days |
| Long cycles, high-value or business purchases | 90 days |
| Newsletter sign-up as the key event | 30 days |
These are starting points to test against your own path data, not rules.
Common errors
- Assuming the window is the user's whole history. Only touches inside the window can be credited, so a first visit 120 days ago never appears in attributed results for a 90-day window.
- Expecting the setting to change every report. Session-scoped acquisition reports do not use it.
- Comparing GA4 to Google Ads without comparing windows. Google Ads has its own conversion windows, so a mismatch can come from different cut-offs alone. The discrepancies chapter returns to this.
- Changing the window and the model in the same step. You then cannot tell which change moved the numbers. Change one, compare, then change the other.
- Treating a rise in direct conversions as a traffic change. A shortened window can raise the direct share without any change in marketing activity.
Exercise
A property uses last-click attribution with the default 90-day window for purchases. A customer clicked a paid social ad 70 days before buying and had no other tracked touch. Describe how this purchase appears if you change the window to 60 days, and explain why a team might wrongly read the change as a drop in paid social performance.
Show answer
With a 90-day window, the paid social click is inside the window, so last click credits the purchase to paid social. With a 60-day window, the click is 70 days old and falls outside, so no eligible touchpoint remains and the purchase appears as direct. Paid social conversions fall and direct conversions rise, yet the customer and the advertising are unchanged. Only the eligibility cut-off moved. A team that compares reports from before and after the change without noting the window could think paid social weakened.
Exercise
Why can the same property show different conversion counts for one channel in an attribution report and in a session-scoped acquisition report, even for identical dates?
Show answer
The attribution report credits conversions using the reporting attribution model and its lookback window, so it can assign a conversion to a touchpoint from earlier sessions. A session-scoped acquisition report uses the source recorded for the session in which the event occurred, with no lookback. The two reports answer different questions, so their counts differ.