Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Organic conversions not attributed: fix lost referrers and redirects

SEO-421Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Analytics tools decide where a visit came from using two clues: the referrer (the page the visitor came from, such as google.com) and parameters in the URL (such as utm_source or gclid). If either clue is lost on the way to your page, the visit is labelled Direct or Unassigned instead of Organic Search.

Why it costs you leads or sales

The leads still arrive, but organic search gets no credit. SEO looks weaker than it is, budget moves to channels that look better, and you can't tell which pages and keywords bring revenue. Smart bidding and reports that rely on source data also learn from incomplete data.

Where the source gets lost
  1. Google searchVisitor clicks an organic result
  2. RedirectOld URL redirects and drops parameters or referrer
  3. Landing pageSession starts as Direct
  4. ConversionLead or sale credited to Direct

A redirect on the landing page drops the referrer data, so the later conversion is filed as Direct.

Conversions by channel in reportsExample numbers
Conversions by channel in reports (example)Organic (reported): 60 conversions; Direct (inflated): 40 conversions; Organic (real): 100 conversions038776040100Organic (reported)Direct (inflated)Organic (real)conversions

Example: 100 conversions truly come from organic search, but 40 are reported as Direct because of lost referrers.

How to check if your site has it

Find where attribution breaks
  1. Look for odd Direct or Unassigned conversions

    In GA4, open Reports > Acquisition > Traffic acquisition and compare Direct and Unassigned conversions against your expectations. A high Direct share on landing pages that rank well is a warning sign.

  2. Check landing pages of Direct sessions

    Add the landing page dimension to the report. If Direct sessions cluster on URLs that are old, redirected or on a different host, a redirect is likely the cause.

  3. Trace the redirect

    Open your browser developer tools, Network tab, tick Preserve log, and load a URL with ?utm_source=test&gclid=abc. Check that each redirect keeps the query string.

  4. Test from a search click

    Search for your page on Google, click through and watch GA4 DebugView or the Realtime report. Confirm the session source is google / organic.

  5. Follow the whole journey

    Click through to any form, checkout or booking page on another domain. Note where the domain changes and whether the analytics tag is on both sides.

Trace redirects and see whether the query string survivesbash
curl -sIL -o /dev/null -w '%{url_effective}\n' 'https://example.com/old-page?utm_source=test&gclid=abc'

# Show every hop
curl -sIL 'https://example.com/old-page?utm_source=test' | grep -i -E '^(HTTP|location)'

How to fix it

The fix depends on the cause. Start with redirects, then check cross-domain hops and the referrer policy.

Keep source data through redirects
  1. Review redirect plugins

    In your redirect plugin (for example Redirection or Rank Math Redirections), check the option to pass through query parameters and turn it on. Replace redirect chains with one direct redirect.

  2. Check HTTPS and www rules

    Look at Settings > General and any server rules so http, https, www and non-www go to one final URL in a single hop.

nginx: redirect and keep the query stringnginx
location = /old-page {
    return 301 https://example.com/new-page$is_args$args;
}
Apache: redirect and keep the query stringhtaccess
RewriteEngine On
RewriteRule ^old-page/?$ https://example.com/new-page [R=301,L,QSA]
Redirect behaviour

Before

  • Old URL redirects twice and drops the query string
  • Session starts as Direct
  • Lead credited to Direct

After

  • One 301 hop that keeps the query string
  • Session starts as google / organic
  • Lead credited to Organic Search
What a redirect does to your tracking dataInteractive
Redirect strips parameters

Ad click → yoursite.com/offer?gclid=Cj0KCQ…&utm_source=google&utm_campaign=spring

301 redirect

Lands on → yoursite.com/offer/

  • gclid
  • utm_source
  • utm_campaign

The landing page loads without gclid or UTMs, and the session is filed as Direct or Unassigned.

Toggle to see how one redirect setting changes what analytics receives.

How to confirm it's fixed

Confirmation checks
  • curl or browser Network tab shows one redirect hop and the query string preserved
  • GA4 DebugView or Realtime shows the session as google / organic after a real search click
  • A test conversion is credited to the same source as the landing session
  • No cross-domain hop shows your own domain as a referral in GA4
  • Direct and Unassigned conversion share drops over the next few weeks

How to prevent it happening again

Habits that protect attribution
  • Test redirects with a query string before every site migration or URL change
  • Keep redirects to a single hop
  • Add every domain in the journey to GA4 cross-domain settings
  • Re-test the journey after changing themes, plugins, consent tools or checkout apps
  • Record site changes in your own change log so shifts in Direct traffic can be explained

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It checks that redirects keep working and that UTM parameters persist through your journey, by running the journey as a robot visitor on a schedule and checking each step. If a redirect strips the UTMs, the failure is re-checked from a second region and you get one alert with a screenshot and a likely cause.

Questions people ask

Why are my organic conversions showing as Direct in GA4?

GA4 labels a session Direct when it has no referrer and no tracking parameters. For organic visitors this usually means a redirect, cross-domain hop or strict referrer policy removed the clues before your tag ran. Trace the visitor's path and fix the step that drops them.

Do redirects remove UTM parameters?

Some do. Server redirects that point to a fixed URL without the query string drop UTMs and gclid. Use a rule that appends the original query string, such as $is_args$args in nginx or the QSA flag in Apache.

Why is my GA4 traffic Unassigned?

Unassigned means GA4 couldn't match the session to a channel rule. Causes include missing or inconsistent UTM values, a lost referrer, or events arriving without session source data. Check the landing pages of those sessions and the parameters they carry.

How do I check if a redirect keeps my tracking parameters?

Load the old URL with a test query like ?utm_source=test&gclid=abc and watch the final URL in the browser. Or run curl -sIL on it and read each Location header. If the parameters vanish, that redirect is the problem.

Does a cross-domain checkout break organic attribution?

It can. Without cross-domain measurement, the visitor starts a new session on the second domain, with your own site as the referrer. Add both domains in GA4 under Configure your domains and make sure the tag runs on both.

Can I recover attribution for past conversions?

Not in GA4 itself, because it does not reprocess old sessions. You can match leads in your CRM against landing page and source data if you stored it. Fix the cause now so new conversions are tracked correctly.

Can FunnelGuard detect lost organic attribution?

Only partly. It checks redirects and UTM persistence along your journeys and alerts you if they break. It does not simulate a real Google click or check how GA4 classifies sessions, so test that by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Redirects and UTM persistence checked.

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.