Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Self-referrals breaking organic attribution: how to fix it

SEO-423Medium impactOther toolBy FunnelGuardPublished Updated
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.

How a self-referral steals the credit
  1. Google searchVisitor lands on your blog from organic search
  2. Product pageVisitor clicks through to the shop subdomain
  3. New sessionGA4 sees your own domain as the referrer
  4. 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.

Where 100 purchases get creditedExample numbers
Where 100 purchases get credited (example)Organic (real): 40 purchases; Organic (reported): 15 purchases; Own domain referral (reported): 25 purchases01531401525Organic (real)Organic (reported)Own domain referral (…purchases

Example: illustrative numbers only. With a self-referral, organic loses credit for sales it started.

How to check if your site has it

Find self-referrals in GA4
  1. Open the traffic report

    Go to Reports > Acquisition > Traffic acquisition and change the first column to 'Session source / medium'.

  2. Look for your own domains

    Search for your main domain, subdomains, booking tools, payment providers and checkout domains with the medium 'referral'.

  3. 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.

  4. 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.

  5. 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.

Fix self-referrals in GA4
  1. Use one measurement ID everywhere

    Every domain in the journey should send data to the same GA4 web data stream.

  2. 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'.

  3. 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.

  4. 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.

  5. Check redirects

    Make sure redirects between domains pass the query string, including the _gl linker parameter, so the session survives.

Platform notes
  1. 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.

  2. Publish and preview

    Use Preview mode, click the link to the other domain and check that the URL gets a _gl parameter.

gtag.js cross-domain linkerjavascript
gtag('config', 'G-XXXXXXX', {
  'linker': {
    'domains': ['example.com', 'shop.example.org'],
    'accept_incoming': true
  }
});
Attribution before and after

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

Confirmation checklist
  • 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 _gl parameter 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

Prevention habits
  • 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.