Sub topic 10
Attribution and channel grouping
This chapter explains how GA4 decides which channel gets credit for a conversion, and how it sorts visits into channels such as Paid Social and Organic Social. It assumes you have read the earlier chapters on UTM tagging, events, and key events. You should be comfortable with utm_source, utm_medium, and the idea of a key event.
Two separate questions
Attribution work answers two questions that are easy to mix up.
- Classification. When a visit arrives, which channel is it? This is channel grouping.
- Credit. When a key event happens, which earlier visits get credit for it? This is the attribution model.
Classification happens first and is based on the visit's source, medium, and campaign values. Credit is assigned afterward, in reports, using the classified visits. A mistake in classification, such as a missing UTM tag, spreads into every credit calculation.
How GA4 groups visits into channels
GA4 has a default channel group. It applies rules to the source and medium of each session or first user visit and assigns a channel name. The rules are evaluated in order, and the first match wins.
The social-related channels are:
| Channel | What GA4 looks for (simplified) |
|---|---|
| Organic Social | The source is a known social site, or the medium is one of `social`, `social-network`, `social-media`, `sm`, `social network`, or `social media`, and the medium does not look paid |
| Paid Social | The source is a known social site and the medium matches a paid pattern such as `cpc`, `ppc`, `paidsocial`, `paid_social`, `paid-social`, or similar |
| Referral | The medium is `referral` or the visit arrived from another site that is not recognized as social or search |
| Direct | No source information was available |
| Unassigned | No rule matched |
The exact patterns live in Google's documentation and change from time to time. Check the current definition before you build a naming convention around them.
The key point is that GA4 uses your UTM values when they are present. If you tag a link with utm_source=instagram&utm_medium=paid_social, GA4 sees a recognized social source and a paid medium, so it assigns Paid Social. If you tag the same link with utm_medium=banner, no rule matches and the visit lands in Unassigned or in a different channel than you intended.
A worked classification
Consider these four links from the same campaign.
| Link | source | medium | Likely channel |
|---|---|---|---|
| Paid carousel ad on Instagram | `instagram` | `paid_social` | Paid Social |
| Organic post on LinkedIn | `linkedin` | `social` | Organic Social |
| Untagged link in a Facebook post | `facebook.com` (from referrer) | `referral` | Organic Social, because GA4 recognizes the source as a social site |
| Link in a creator's bio with `utm_medium=influencer` | `tiktok` | `influencer` | Often Unassigned, because the medium matches no rule |
The last row shows why naming conventions matter. A medium you invented is useful to you but invisible to the default rules.
When the default grouping does not fit
You have three options when the default channel group misclassifies your traffic.
- Change your UTM values. This is the simplest fix. Use
socialfor organic andpaid_socialfor paid, and the default rules work without further setup. - Create a custom channel group. In GA4 Admin, you can define your own channel group with your own rules, such as an "Influencer" channel for
utm_medium=influencer. Custom channel groups apply to reports retroactively, because they are evaluated when the report is built. - Use a custom dimension or report filter. This suits one-off analysis, for example filtering by
utm_campaignto look at one launch.
A custom channel group lets you fix historical data. Changed UTM values only help future clicks. This is a good reason to prefer the custom group when old links are already published and cannot be edited.
Attribution models
Once visits are classified, GA4 must decide which of them deserves credit for a key event. A visitor might click an organic post on Monday, a paid ad on Wednesday, and then type your address on Friday to buy. Three channels touched that purchase.
An attribution model is the rule that splits or assigns credit across those touchpoints. A lookback window is how far back GA4 searches for touchpoints before the key event.
GA4 currently offers these models, though availability has changed over time and you should check the current interface:
- Data-driven attribution. Uses machine learning on your account's conversion paths to estimate each touchpoint's contribution. It is the default for most properties. It needs enough conversion volume to work well.
- Paid and organic last click. Gives all credit to the last non-direct touchpoint, paid or organic.
- Google paid channels last click. Gives all credit to the last Google Ads click and otherwise falls back to last click.
Older models such as first click, linear, time decay, and position-based were removed from GA4 reporting. Some third-party tools still offer them.
Same journey, different credit
The table shows how one purchase from the example journey is credited under different rules.
| Model | Organic Social (Mon) | Paid Social (Wed) | Direct (Fri) |
|---|---|---|---|
| Last click, ignoring direct | 0 | 1.0 | 0 |
| Last click, including direct | 0 | 0 | 1.0 |
| Data-driven (example split) | 0.3 | 0.6 | 0.1 |
The data-driven split is invented for illustration. Actual values depend on your data. Notice that direct is usually ignored by last-click models when another channel is in the path. This is why a social ad that prompted a later direct visit still earns credit in most GA4 reports.
Where the model applies, and where it does not
Attribution settings control some reports, not all of them. Keep these distinctions in mind.
- Acquisition reports (for example, Traffic acquisition) are session-scoped. They show the channel that started each session and do not use the attribution model.
- User acquisition shows the channel that first brought a user to the site.
- Advertising reports and Attribution reports use the selected attribution model and lookback window to credit key events.
- Exploration reports let you choose a model when you build them.
This explains a common confusion. The Traffic acquisition report may show 40 purchases for Paid Social while the Advertising report shows 55 credited to Paid Social. Both are correct for what they measure. One counts sessions where the purchase occurred. The other counts credit assigned across the whole path.
Lookback windows
The default window for acquisition key events is 30 days, and for all other key events it is 90 days. You can change these in the property's attribution settings. A longer window gives early touchpoints a chance at credit, which matters for products with long consideration periods. A shorter window favors recent clicks. Changing the window changes the reported numbers going forward and in reports computed with the new setting, so note the date of any change in your reporting log.
Common problems
- Social traffic shows as Direct. Many in-app browsers and apps strip the referrer. Without UTM tags, GA4 has nothing to classify. Tag every link you control.
- Mixed-case values split rows.
Instagramandinstagramappear as separate sources. Choose lowercase and enforce it. - Unassigned is growing. A new medium value matches no rule. Review the Unassigned rows by source and medium and either rename the medium or add a custom channel.
- Campaign credit looks too high. Platforms count view-through and longer windows. GA4 counts only sessions it observed. Differences between GA4 and ad platform numbers are expected, and a later chapter covers them.
- Data-driven attribution shifts over time. The model retrains on recent paths, so credit for the same past period can change slightly. Export numbers you report formally.
Decision criteria
Use these questions to pick an approach.
- Can you control all link tags? If yes, fix the UTM values first.
- Do old links exist that you cannot change? Build a custom channel group.
- Do you have fewer than a few hundred key events per month? Data-driven models may be unstable, so compare them with last click before you trust them.
- Do you need to explain results to a team? A simple last-click view, shown beside the data-driven one, is easier to discuss.
Exercise
Your team publishes a TikTok link with utm_source=tiktok&utm_medium=creator. In GA4's Traffic acquisition report, these visits appear under Unassigned. Give two ways to get them into a meaningful channel, and say which one also repairs data that has already been collected.
Show answer
Option 1: change the UTM medium on future links to a value the default rules recognize, such as social for organic posts or paid_social for paid ones. This affects only new clicks. Option 2: create a custom channel group in GA4 Admin with a rule such as "medium exactly matches creator" assigned to a channel named Creator. Custom channel groups are applied when the report is built, so they also reclassify data already collected. Option 2 repairs existing data.
Exercise
A customer clicks an organic LinkedIn post on Monday, a paid Instagram ad on Wednesday, and then types your URL directly on Friday and buys. Under "Paid and organic last click", which channel gets the credit, and why?
Show answer
Paid Social (the Instagram ad on Wednesday). Last-click models in GA4 ignore Direct visits when there is an earlier non-direct touchpoint inside the lookback window, so the most recent non-direct click gets all the credit.
Exercise
The Traffic acquisition report shows 40 purchases for Paid Social, and the Advertising attribution report shows 55. Does this mean tracking is broken?
Show answer
No. Traffic acquisition is session-scoped and counts purchases that happened in sessions started by Paid Social. The attribution report applies the selected model and lookback window and gives credit to Paid Social for purchases that happened in later sessions from other channels. The two reports answer different questions, so the numbers differ by design.