On this page
What this issue is
A self-referral happens when a visitor moves between two places you control (or use) and analytics treats the second as a new visit from an outside source. Typical cases are www.example.com to shop.example.com, a site to a hosted booking tool, or a site to a payment provider and back.
In GA4 you see it in Reports > Acquisition > Traffic acquisition. Your own domain, or a tool such as a payment gateway, appears as a 'Referral' source with a high conversion rate. Organic search looks weaker than it really is.
The usual causes are: the tag uses a different measurement ID or client ID on each domain, cross-domain measurement is not set up, a redirect drops the referrer, or a third-party page is not on the unwanted referrals list.
Why it costs you leads or sales
The visit that brought the person from Google gets no credit for the sale. Reports then say organic search does not convert, and the credit goes to a source that did no marketing work. That leads to wrong decisions: cutting content budget, ignoring pages that really sell, or paying for ads to capture demand you already had.
- Google searchVisitor lands on your blog from organic search
- Product pageVisitor clicks through to the shop subdomain
- New sessionGA4 sees your own domain as the referrer
- PurchaseCredited to referral, not organic
The session breaks at the hand-off to the second domain, so the sale is credited to the wrong source.
Example: illustrative numbers only. With a self-referral, organic loses credit for sales it started.
How to check if your site has it
Open the traffic report
Go to Reports > Acquisition > Traffic acquisition and change the first column to 'Session source / medium'.
Look for your own domains
Search for your main domain, subdomains, booking tools, payment providers and checkout domains with the medium 'referral'.
Compare with conversions
If one of those sources has a very high conversion rate or a very short time before purchase, it is probably a hand-off, not a real source.
Test the journey yourself
Click from a page on one domain to the other with GA4 DebugView open. Check whether the session ID and client ID stay the same.
Check the Landing page report
In Explorations, look for sessions whose landing page is a checkout, thank-you or booking page. Real landings on those pages usually mean a restarted session.
How to fix it
Two settings do most of the work. Cross-domain measurement keeps one session across your domains. List unwanted referrals tells GA4 to ignore a domain as a source. Use the first for domains you own or whose pages carry your tag. Use the second for third-party pages that you cannot tag.
Use one measurement ID everywhere
Every domain in the journey should send data to the same GA4 web data stream.
Set up cross-domain measurement
Go to Admin > Data streams > your web stream > Configure tag settings > Configure your domains. Add each domain with a match type such as 'Contains'.
Add unwanted referrals
In the same Configure tag settings screen, open 'List unwanted referrals'. Add payment providers and third-party pages that return visitors to your site.
Keep subdomains consistent
Subdomains of one domain share cookies by default, so most self-referrals come from a different tag or a stripped referrer. Check that the tag loads on every page, including the checkout.
Check redirects
Make sure redirects between domains pass the query string, including the
_gllinker parameter, so the session survives.
Use the Google tag settings
In your Google tag (or GA4 configuration tag), add a setting named 'linker' with the domains listed in 'domains', or use the cross-domain field in the tag's configuration settings.
Publish and preview
Use Preview mode, click the link to the other domain and check that the URL gets a
_glparameter.
Check how the tag is installed
If a plugin such as Site Kit or a theme option adds the tag, make sure it is the only place. Duplicate tags with different IDs cause split sessions.
Use GA4 admin settings
Cross-domain settings live in GA4 itself, so configure them in Admin > Data streams, not in the plugin.
Add checkout and store domains
If your store uses a separate primary and checkout domain, add both under 'Configure your domains' in GA4.
Check the tracking setup
Under Settings > Customer events, confirm that the pixel or app sends to the right GA4 ID.
Add the tag once
Add the tag in Project settings > Custom code, so it loads on every page. Then add linked domains in GA4.
Configure the linker in gtag.js
Add the
linkersetting to your config call, as in the snippet below.
gtag('config', 'G-XXXXXXX', {
'linker': {
'domains': ['example.com', 'shop.example.org'],
'accept_incoming': true
}
});Before
- Own domain listed as a top referral
- Sessions restart at the hand-off
- Purchases credited to referral
After
- One session across domains
- Own domain absent from sources
- Purchases credited to organic search
How to confirm it's fixed
- Click from a search result (or a link with a test UTM) through every domain to the final step
- In DebugView, the session ID stays the same across domains
- The URL gets a
_glparameter on the cross-domain link - After 1-2 days, your own domains no longer appear as new referral sources
- Purchases and leads show the original source or medium
How to prevent it happening again
- Add any new subdomain, booking tool or checkout domain to the cross-domain list before launch
- Review the Session source / medium report for unexpected referrals every month
- Keep one measurement ID across all properties in the journey
- Re-test the full journey after changing checkout, payment or redirect settings
- Annotate changes so you can explain shifts in source data later
How FunnelGuard handles this
FunnelGuard does not check for self-referrals today. It is a possible future check. A robot visitor can run your journeys, but it does not review how GA4 groups sources in your reports.
Nearby, FunnelGuard runs your real journeys on a schedule, checks each step, and checks the tracking hits sent to platforms such as GA4. That helps you see if a hit is missing at a step. To watch for self-referrals yourself, review the Traffic acquisition report monthly, as described above, and re-test the cross-domain journey in DebugView after each change. The free plan (1 site, 2 journeys, daily checks) covers the journey checks.
Questions people ask
What is a self-referral in Google Analytics 4?
A self-referral is a visit where your own domain, subdomain or a tool you use appears as the traffic source. GA4 starts a new session at the hand-off, so the original source, such as organic search, loses credit for the conversion.
Why is my own domain showing as a referral in GA4?
Usually because the session restarts when a visitor moves between domains. Common causes are missing cross-domain measurement, different measurement IDs, a tag missing on some pages, or redirects that drop the linker parameter.
How do I stop payment gateways showing as referrals in GA4?
Add the gateway's domain under Admin > Data streams > your stream > Configure tag settings > List unwanted referrals. GA4 then ignores it as a source and keeps the original source for the conversion.
How do I set up cross-domain tracking in GA4?
Go to Admin > Data streams, open your web stream, choose Configure tag settings, then Configure your domains. Add every domain in the journey. Make sure each one runs the same GA4 tag.
Do I need cross-domain tracking for subdomains?
Usually not for cookies, since subdomains share them. If you still see self-referrals between subdomains, look for a missing or duplicate tag, a different measurement ID or a redirect that strips parameters.
Will fixing self-referrals change my past GA4 data?
No. The changes apply to new data only. Past reports keep the old source labels, so note the date of the change and compare periods carefully.
Does FunnelGuard detect self-referrals?
No. FunnelGuard does not check for this yet. It does run your journeys and check tracking hits, but you need to review source reports in GA4 yourself.
Related issues
- SEO-421Organic conversions not attributed (lost referrer, redirects stripping)Fix guide
- SEO-419Organic traffic in GA4 doesn't match Search Console clicksFix guide
- SEO-420Organic landing pages missing the analytics tagFix guide
- SEO-422Search Console not linked to GA4Fix guide
- SEO-424Consent banner suppresses most organic visitsFix guide
- SEO-425Rank tracking not set up for money keywordsFix guide