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.
- Google searchVisitor clicks an organic result
- RedirectOld URL redirects and drops parameters or referrer
- Landing pageSession starts as Direct
- ConversionLead or sale credited to Direct
A redirect on the landing page drops the referrer data, so the later conversion is filed as Direct.
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
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.
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.
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.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.
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.
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.
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.
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.
Check URL redirects
Go to Content > Menus > View URL Redirects (or Online Store > Navigation > URL Redirects, depending on your admin). Shopify keeps query strings on its redirects, so look for apps or theme scripts that rewrite the URL instead.
Check the checkout domain
If checkout sits on a different domain, set up cross-domain measurement in GA4 and check the tag is present there.
Fire the GA4 tag early
Make sure the GA4 configuration or Google tag fires on Initialization or All Pages, not on a late event, so it reads the referrer on the first page.
Set cross-domain linking
In GA4 Admin > Data streams > Configure tag settings > Configure your domains, add every domain in the journey.
Check 301 redirects
In Project settings > Hosting > 301 redirects, Webflow keeps query strings on redirects. Remove chains where one redirect points to another.
Check embedded forms
If a form or scheduler is embedded from another domain, add that domain to cross-domain settings in GA4.
Check funnel redirects
In Sites > Funnels, check each step's redirect and thank-you settings. Where you redirect to another URL, include the query string if the option is available.
Check custom domains
Make sure the funnel runs on one domain, or add cross-domain measurement if it spans several.
Check redirects
In Marketing & SEO > SEO Tools > URL Redirect Manager, avoid chains and redirect old URLs straight to the final page.
Check tracking setup
In Settings > Marketing Integrations, confirm your GA4 ID is connected only once.
Check URL mappings
In Settings > Developer Tools > URL Mappings, avoid chains and point old URLs directly to the final one with a 301.
Check external pages
If scheduling or checkout runs on another domain, add it to cross-domain measurement in GA4.
Keep the query string
Use a redirect rule that appends the original query string (see the examples below) and make it a single hop.
Do not strip the referrer
Avoid
rel=noreferreron internal links and set Referrer-Policy to strict-origin-when-cross-origin.
location = /old-page {
return 301 https://example.com/new-page$is_args$args;
}RewriteEngine On
RewriteRule ^old-page/?$ https://example.com/new-page [R=301,L,QSA]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
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
- 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
- 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.
Related issues
- 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-423Self-referrals breaking organic attributionFix guide
- SEO-424Consent banner suppresses most organic visitsFix guide
- SEO-428Organic leads not reaching CRMFix guide