Sub topic 14
Troubleshooting Misclassified Traffic in GA4
Assume you know the GA4 interface, sessions, users, events, and basic marketing terms. Also assume you know that URLs can contain query parameters. This chapter focuses on finding why traffic appears in the wrong channel.
Start with the raw dimensions
A channel group is an interpretation of traffic. GA4 usually bases that interpretation on dimensions such as:
- Source: the origin of the traffic, such as
google,newsletter, orpartner-site.com. - Medium: the marketing method, such as
organic,cpc,email, orreferral. - Campaign: the name of the promotion, such as
spring_sale_2026.
When a channel looks wrong, inspect these dimensions before changing a channel definition. A session with source = newsletter and medium = email should normally appear as Email. A session with source = google and medium = cpc should normally appear as Paid Search.
The channel shown in a report can also depend on its scope. Session channel group describes the session that brought the user to the site. First-user channel group describes how the user was originally acquired. Event-scoped channel dimensions can differ when later events have different attribution information.
Common symptoms and causes
| Symptom | Likely cause | What to check |
|---|---|---|
| Campaign traffic is Direct | Missing or stripped UTMs, redirects, privacy tools, or app-to-web links | Inspect the final landing URL and redirect chain |
| Partner traffic is Referral | No campaign tags were added | Check whether the link contains `utm_medium` |
| Paid traffic is Organic Search | The medium says `organic`, or paid parameters were lost | Compare the ad URL with the final URL |
| Traffic is Unassigned | The values do not match the channel rules | Inspect source, medium, campaign, and event data |
| Internal visits appear as Referral | Cross-domain or unwanted-referral settings are incomplete | Check hostnames and referral exclusions |
Direct does not mean “people typed the URL.” It means GA4 did not receive usable acquisition information for that session. Bookmarks, missing referrers, blocked cookies, redirects, and untagged documents can all contribute.
Referral means GA4 received a referring website, but the visit was not identified with another campaign method. A referral from a payment provider or another domain you control may need configuration or campaign tagging.
Unassigned means GA4 received traffic data but could not match it to a channel. This differs from (not set), which usually means the particular dimension has no value available.
Use a repeatable investigation
- Find an affected session or a recent example in DebugView or a suitable report.
- Record the session source, session medium, campaign, landing page, and hostname.
- Open the exact link in a private browser window.
- Confirm that every redirect preserves the
utm_parameters. - Check whether Google Ads auto-tagging is enabled and the Google Ads and GA4 accounts are linked.
- Check cross-domain measurement if a journey moves between domains.
- Allow time for standard reports to process. Recent data and exploratory reports may not match exactly.
Use consistent lowercase values. For example, choose email rather than mixing Email, e-mail, and newsletter. Consistency makes analysis easier, although the default channel rules may recognize several common values.
from urllib.parse import parse_qs, urlparse
url = "https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026"
query = parse_qs(urlparse(url).query)
required = ["utm_source", "utm_medium", "utm_campaign"]
for name in required:
values = query.get(name)
if not values:
print(f"Missing {name}")
else:
print(f"{name}: {values[0]}")
if query.get("utm_medium", [""])[0].lower() == "email":
print("Expected channel: Email")Do not add UTM parameters to internal links. Internal tagging can overwrite the original acquisition data and make one visit appear to start a new campaign.Follow the data path
Exercise
Exercise
A newsletter link lands in Direct. The final URL has no utm_ parameters because a redirect removed them. What should you investigate first?
Show answer
Fix the redirect so it preserves the complete destination query string, then test the link in a new session. Existing sessions will not be reclassified.