Sub topic 1
Why internal traffic and unwanted referrals skew your reports
This chapter explains how your own visits and misleading referral sources distort GA4 data. It also shows how to spot the distortion in your own property. Later chapters cover the settings that fix it.
Prerequisites
This chapter assumes you have the following:
- A GA4 property with a web data stream.
- Editor or Administrator access to the property.
- A working grasp of GA4 events, sessions, and traffic sources.
- The public IP addresses of your office or network. Look these up later if you don't have them yet.
You do not need to change any settings to follow this chapter.
The problem in one paragraph
GA4 records every hit it receives from your tag. It cannot tell whether the person behind a hit is a customer, an employee, a developer testing a release, or a customer returning from a payment page. Unless you tell it otherwise, all of those hits become events, sessions, and conversions in your reports. Two kinds of noise cause most of the damage:
- Internal traffic is activity from people who work on or for the site, such as staff, agency partners, and QA testers.
- Unwanted referrals are sessions where GA4 credits a source that did not really bring the visitor. The usual cause is a visitor leaving your site and coming back through a third-party domain, such as a payment gateway.
How internal traffic distorts reports
Internal visits differ from real customer visits in predictable ways. Here are the common effects:
- Inflated volume. Users, sessions, and page views rise, especially on small sites where a few staff visits are a large share of the total.
- Skewed engagement. Staff often open a page, check one thing, and leave. They may also stay on a page for a long time. Either pattern moves engagement rate and average engagement time away from what customers do.
- False conversions. Test purchases and form submissions count as real conversions. They affect conversion rate, revenue, and any audiences or Google Ads imports that depend on those events.
- Misleading paths. Staff browse pages that customers rarely visit, such as admin views, pricing drafts, and the careers page. This can make rarely used pages look popular.
- Polluted funnels and cohorts. Internal sessions enter funnels and retention reports as if they were prospects.
The effect depends on your traffic volume. A site with 500,000 monthly sessions barely notices 200 internal sessions. A site with 3,000 monthly sessions does.
A worked example
Suppose a small online shop has the following in one week:
| Metric | Reported | Internal share | Customer-only |
|---|---|---|---|
| Sessions | 1,200 | 180 | 1,020 |
| Purchases | 30 | 12 test orders | 18 |
| Conversion rate | 2.5% | n/a | 1.76% |
The reported conversion rate is 30 / 1,200 = 2.5%. After removing internal activity it is 18 / 1,020, about 1.76%. A decision based on 2.5% would overstate performance by roughly 40%.
How unwanted referrals distort reports
GA4 attributes a session to a source using several signals, including campaign parameters and the referrer. When someone arrives with no campaign parameters, GA4 looks at the referrer, which is the previous page's domain. If that domain is not your own, GA4 can record it as a referral source.
That works well for a blog linking to you. It fails when the visitor was already on your site and made a round trip through another domain. A typical sequence looks like this:
- A visitor arrives from a Google ad and starts a session.
- They add a product to the cart and click Pay.
- The browser goes to
paypal.comto complete payment. - PayPal sends the visitor back to your thank-you page.
- GA4 sees the referrer
paypal.comand may start a new session credited to it.
The results are two related problems:
- The purchase is credited to the wrong source. The conversion lands on
paypal.com / referral, not ongoogle / cpc. Paid channels look worse than they are, and a referral that did no marketing work looks like your best converter. - Session counts rise. One real visit becomes two sessions. The second one has a very short path and often a high conversion rate, which distorts averages.
Other domains cause the same effect. Common ones are:
- Payment providers and bank 3-D Secure pages.
- Single sign-on and identity providers.
- Booking engines or ticketing platforms on a separate domain.
- Your own subdomains, when cross-domain measurement is not set up.
Cross-domain measurement is a related but separate topic. It is meant for domains you own and measure with the same tag. The unwanted referrals list, covered later, handles domains you do not control.
Spotting the damage in your own property
Check for these symptoms before you change anything. Doing so gives you a baseline to compare against later.
Signs of internal traffic
- Traffic that peaks during staff working hours in your office time zone, with no matching customer pattern.
- High page views on admin, staging, or login pages.
- Purchases or leads with test values, such as a 1.00 order.
- A city or region report dominated by your headquarters location.
Signs of unwanted referrals
- A payment, login, or booking domain among your top referral sources.
- Referral sessions that contain a purchase and nearly no other behavior.
- Fewer conversions credited to paid or organic channels than your ad platform or order system shows.
To look for referral problems, open Reports > Acquisition > Traffic acquisition and change the primary dimension to Session source / medium. Scan the rows with the medium referral. Any domain you recognize as a service your visitors pass through, and not a site that links to you, is a candidate.
What GA4 gives you to fix each problem
The two problems use different mechanisms. Keep them separate, because they work at different points in the pipeline.
| Problem | Where you configure it | What it does |
|---|---|---|
| Internal traffic | Data stream tag settings, then a property-level data filter | Marks matching events with a `traffic_type` value, then a filter excludes them from reports |
| Unwanted referrals | Data stream tag settings | Tells GA4 not to start a new referral session from the listed domains |
Two details matter for planning:
- Filters remove data permanently. Once a data filter is active, excluded events are not stored in the property, and you cannot get them back. This is why GA4 offers a Testing state, which later chapters cover.
- Referral exclusion changes attribution, not volume of events. The listed domain stops being treated as a source, so the session continues under its original source.
Common mistakes at this stage
- Assuming the problem is small without measuring it. Check the share of internal sessions with a rough count of staff visits per week, or compare orders in GA4 with orders in your back office.
- Excluding by hostname or page. This does not remove internal users. It removes the pages.
- Treating payment returns as real referrals. Reporting on
paypal.com / referralas a marketing channel leads to wrong budget decisions. - Confusing internal traffic with bot traffic. GA4 automatically filters known bots and spiders. It does not filter your employees.
- Fixing the report and not the property. Hiding rows in a report or using a comparison does not change stored data. It helps for analysis but must be repeated in every report.
What comes next
The next chapters follow the dependency order of the fix:
- How GA4 marks events using the
traffic_typeparameter. - How IP address match types work.
- How to define the rule, create the data filter, and test it before activation.
- How GA4 decides a session's referral source, and how to configure the unwanted referrals list.
- What to do when IP addresses are dynamic, and how to audit the property.
Exercise
A shop reports 40 purchases and 1,600 sessions in a week. Staff placed 10 test orders during 250 internal sessions. What is the conversion rate before and after removing internal activity? In one sentence, say why the difference matters.
Show answer
Before: 40 / 1,600 = 2.5%. After: (40 - 10) / (1,600 - 250) = 30 / 1,350, about 2.22%. The reported rate overstates real performance by roughly 12%, so decisions about budget or page changes would rest on a number customers did not produce.
Exercise
A visitor clicks a Google ad, adds an item to the cart, pays on paypal.com, and returns to your thank-you page. GA4 credits the purchase to paypal.com / referral. Name two ways this harms your reports.
Show answer
The purchase is credited to the wrong source, so the Google ad's conversions are understated and paypal.com looks like a high-performing referral. Also, one real visit is counted as two sessions, which raises the session count and distorts per-session averages.
Exercise
Why can you not fix past distorted data by setting up an internal traffic rule today?
Show answer
Rules and filters apply only to data collected after they take effect. Events already stored in the property keep their original values, so historical reports stay distorted unless you analyze them with a report-level comparison or segment.