Unassigned traffic, (not set) values and payment domains credited as referrals all point to attribution GA4 can’t resolve.
If you want to fix them, treat each one separately. They look alike in reports and have different causes.
What Each One Means
| What You See | What It Means | Usual Cause |
|---|---|---|
| Unassigned | GA4 has a source and medium, and they don’t match any channel rule. | Non-standard UTM values |
| (not set) | GA4 has no value for that dimension. | Events with no session, or missing links |
| A payment domain as a referral | The visitor left for a third party and came back. | No unwanted referral or cross-domain setup |
Fix Unassigned With UTM Naming
GA4 assigns channels from utm_medium and utm_source using fixed rules. Find the offenders in Reports > Acquisition > Traffic acquisition: set the dimension to Session source / medium and filter the channel group to Unassigned.
| Channel | Use This Medium | Values I See That Break It |
|---|---|---|
email |
newsletter, mailchimp, blast |
|
| Organic Social | social |
linkedin, post, organic_social |
| Paid Social | paid_social or cpc, with a social source |
facebook_ads, sponsored |
| Paid Search | cpc or ppc |
adwords, search |
| Display | display, banner or cpm |
programmatic, ads |
| Affiliates | affiliate |
partner, referral_program |
| SMS | sms |
text |
Rules that prevent most of it:
- Always set
utm_source,utm_mediumandutm_campaigntogether. A link with only a source ends up Unassigned. - Lowercase everything.
- Put the platform in the source (
linkedin) and the type of traffic in the medium (social). - Keep the allowed values in one shared sheet, and build links from it.
- Never put UTMs on internal links. They restart attribution mid visit.
You can’t repair past data. Fixing the links fixes it from that day on. I go deeper in UTM attribution.
Fix (not set)
What causes it depends on the dimension:
- Source / medium (not set): events that arrive without a session. The most common cause I find is server-side events sent through the Measurement Protocol without the visitor’s
session_idandclient_id. - Campaign (not set) on Google Ads traffic: the Google Ads account isn’t linked to GA4, or auto-tagging is off and the ads have no UTMs.
- Landing page (not set): a session with no
page_view, often because the GA4 tag fired after another event or was held back by consent. - Anything from the last day or two: the data hasn’t finished processing. Check again after 48 hours.
For Measurement Protocol events, read the session ID from the GA4 cookie in the browser, pass it to your server, and include it with the event:
{
"client_id": "123456789.1700000000",
"events": [{
"name": "generate_lead",
"params": {
"session_id": "1700000123",
"engagement_time_msec": 1
}
}]
}
Payment Domains as Referrals
When a customer pays through PayPal, a bank’s verification page or a hosted checkout and returns, GA4 can start a new session with that domain as the source. The sale is then credited to the payment provider instead of the ad or search that brought the customer in.
- In GA4, go to Admin > Data streams and open the web stream.
- Click Configure tag settings, then Show more.
- Open List unwanted referrals.
- Add each payment and vendor domain: your payment gateway, 3-D Secure bank domains that show up in reports, booking tools and hosted forms.
- Save, then place a test order and confirm the session source stays the same.
Check the referral report every few months. New bank verification domains appear over time.
Cross-Domain Tracking
If visitors move between domains you own (a marketing site and an app, or a store on a second domain), list them under Configure tag settings > Configure your domains. Without it, your own domain shows up as a referral and the session splits in two. I cover the full setup in cross-domain tracking for Webflow and web apps.
What’s Normal
A small amount of Unassigned and (not set) is expected, usually 1 to 2% of sessions. If either is above 5%, or if any of it carries revenue, it’s worth fixing. For how GA4 decides source in the first place, see Google Analytics attribution and traffic source.