Sub topic 2
Where GA4 Gets Traffic Source Data: UTM Parameters and Channel Groups
This chapter assumes that you know the GA4 interface, key events, and the basic meaning of traffic sources, mediums, and UTM parameters.
Traffic source data
GA4 uses traffic source data to describe how people arrived at your website or app. The main values are:
- Source: the platform or site that sent the visitor, such as
google,newsletter, orfacebook. - Medium: the type of traffic, such as
organic,email,cpc, orreferral. - Campaign: the marketing campaign name.
- Content and term: optional values that distinguish ads, links, or keywords within a campaign.
For links that you control, add UTM parameters to the destination URL:
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_saleWhen a visitor follows this link, GA4 can record newsletter as the source, email as the medium, and spring_sale as the campaign. These values help GA4 identify the session's acquisition source and classify the visit into a channel.
Use a consistent naming scheme. For example, choose either paid_social or paid-social, rather than using both. Inconsistent names create separate values in reports and can make channel analysis harder.
Manual tagging and automatic tagging
Manual UTM tagging works well for email links, social posts, partner links, and other campaigns that you manage. Tag the final URL that users will visit.
Google Ads can use automatic tagging. In that setup, Google adds a click identifier, commonly called a gclid, to the URL. GA4 can use this identifier to connect the visit with Google Ads campaign information. Avoid changing tagged URLs through redirects or link tools that remove query parameters.
If a visit has no usable campaign information, GA4 may use the referring website, app information, or browser context. A visit with no identifiable referrer or campaign is commonly classified as direct traffic.
Channel groups
A channel group is a rule-based label that combines source and medium into a marketing category. It makes reports easier to read than a long list of individual source and medium values.
| Source and medium | Typical default channel |
|---|---|
| `google / organic` | Organic Search |
| `newsletter / email` | |
| `google / cpc` | Paid Search |
| `example.com / referral` | Referral |
| No source or referrer | Direct |
The default channel group applies GA4's built-in rules. For example, a medium such as email can place a visit in Email, while organic can place it in Organic Search. The exact result depends on the values GA4 receives and the rules used by the channel group.
You can also create custom channel groups when the default categories do not match your reporting needs. For example, you might create a channel called Partner Campaigns for selected sources and mediums. Custom groups change how traffic is grouped in reports; they do not repair missing or incorrectly tagged source data.
Exercise
A newsletter link uses utm_source=newsletter and utm_medium=email. What source, medium, and default channel would you expect?
Show answer
The source is newsletter, the medium is email, and the visit would typically belong to the Email channel.