On this page
What this issue is
GA4 sends a session_start event when a visit begins. It stores a session ID in a cookie named like _ga_XXXXXXXXXX (the part after _ga_ comes from your measurement ID). Each hit carries that ID as the sid parameter. When the next page loads, GA4 reads the cookie and keeps the same session.
Why it costs you leads or sales
Split sessions break attribution. The first page keeps the ad source, but later pages appear as direct or as your own site referring to itself. A lead or purchase can then be credited to the wrong channel, and ad platforms and your reports disagree.
- Ad clickVisitor lands with gclid and UTMs
- Landing pageSession 1 starts, source is google / cpc
- Cookie not keptNew sid on the next page
- Form pageNew session, source looks direct
- Thank-you pageConversion credited to direct
The cookie fails to persist after the landing page, so each later page starts a new session.
Common causes
| Cause | What you see |
|---|---|
| Cookies blocked or cleared on each page (consent setup, server headers, cookie flags) | New sid and client ID on every page |
| Tag loaded twice with different settings or IDs | Duplicate or inconsistent session events |
| Cross-domain journey not configured (site to checkout or booking domain) | New session when the visitor changes domain |
| Cookie domain mismatch (www vs root, subdomains) | Session resets when moving between hosts |
| Redirects or page reloads that drop the cookie before it is written | Session resets on the page after the redirect |
| Payment or other third-party domains listed as referrals | Sessions restart when the visitor returns |
| Consent mode denying storage until the visitor accepts | Pings without cookies, so no stable session |
cookie_flags, cookie_expires or cookie_domain set wrongly in config | Cookie rejected by the browser |
How to check if your site has it
Open DevTools and the Network tab
In Chrome press F12, go to Network and filter by
collect. Reload the landing page.Read the sid on the first hit
Click a request to
google-analytics.com/g/collect. In the payload findsid(session ID) andcid(client ID). Note both.Click to a second page
Navigate normally with a link. Check the next
collectrequest.cidandsidshould match the first page. A newsidon every page means the session is splitting.Look for session_start
On the first hit of a visit the
enparameter should includesession_startalongsidepage_view. It should not repeat on later pages.Check the cookie
Open Application > Cookies. Confirm
_gaand_ga_XXXXXXXXXXexist and keep the same value after navigation.Use GA4 DebugView or Realtime
In GA4 go to Admin > DebugView (with the debug extension on) or Reports > Realtime and confirm the events arrive under one session as you browse.
How to fix it
Start with the cause your check pointed to. The steps below cover the common ones. The exact menu depends on your platform and theme.
Install the GA4 tag once
Make sure only one method loads GA4 (gtag.js or Google Tag Manager, not both) and that one measurement ID is used.
Let the cookie be written
Check that no script, plugin or server rule deletes cookies on page load. Check that the cookie is not blocked by a consent banner that never records a choice.
Use one cookie domain
Keep visitors on one hostname (for example redirect non-www to www), or let GA4 set the cookie on the root domain, which is the default.
Set up cross-domain measurement
In GA4 go to Admin > Data streams > your stream > Configure tag settings > Configure your domains and add every domain in the journey, such as your checkout or booking domain.
Remove payment and booking domains from referrals
In the same Configure tag settings area use List unwanted referrals and add those domains so returning visitors keep their session.
Retest
Repeat the Network check on a fresh browser session.
Find duplicate GA4 installs
Check your SEO or analytics plugin, theme settings and any header scripts. Keep one GA4 install only.
Check cache and consent plugins
Make sure your consent plugin is not blocking the analytics cookie permanently and that caching does not strip cookies.
Use one GA4 connection
In Online Store or Sales channels connect GA4 once (Google & YouTube app or Customer events), and remove any hand-pasted gtag in theme.liquid.
Add the checkout domain
If checkout runs on a different domain, add it under Configure your domains in GA4.
Keep one Google tag
Use a single Google tag with your measurement ID that fires on All Pages. Do not add a second config for the same ID.
Check the trigger
The tag should fire on Initialization or All Pages, not only on a click or custom event.
Check cookie settings
In the Google tag settings, review any cookie domain, expiry or flags you added and remove wrong values.
Paste the tag once
Add GA4 in Project settings > Integrations or Custom code, not both places.
Publish to the live domain
Test on your custom domain, not only the webflow.io staging address.
Check tracking code locations
Look at the funnel, step and site tracking code areas so GA4 is not added in several of them.
Add custom domains to cross-domain
If funnels use a different domain from your main site, add both in GA4 Configure your domains.
Use the Marketing Integrations connection
Connect GA4 once through Marketing Integrations or Google Analytics settings and remove duplicate custom code.
Check cookie consent
Make sure the Wix cookie banner category for analytics is accepted or configured as intended.
Use one injection point
Add GA4 only under Settings > Developer Tools > Code Injection or the built-in Google Analytics setting, not both.
Review the cookie banner
Check that the banner does not clear or block analytics cookies on each page.
Load gtag.js once in the head
Use the snippet below on every page, with no duplicate config calls.
Check server headers
Look for Set-Cookie rules, security plugins or proxies that remove or rewrite cookies.
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>Cookie blocked
Leads or data lost
Each page gets a new sid, so sessions roughly equal page views and the ad source is lost after the landing page.
Toggle to see how the session cookie changes what GA4 reports.
How to confirm it's fixed
- In a fresh browser window the first
collecthit includessession_start - The
sidandcidstay the same across at least three page navigations _ga_XXXXXXXXXXcookie keeps the same value after page changes- GA4 Realtime shows one session as you browse, not several
- Moving to your checkout or booking domain keeps the same session
- After a day, sessions per page view and direct traffic share look more normal
Broken
- New sid on each page
- Sessions close to page views
- Conversions credited to direct
Fixed
- One sid for the whole visit
- Sessions clearly fewer than page views
- Conversions keep the ad source
Example: illustrative numbers showing how split sessions can push conversions into Direct.
How to prevent it happening again
- Keep one documented GA4 install method per site
- Retest sessions after any theme, plugin, consent or tag manager change
- Re-check cross-domain settings whenever you add a checkout, booking or funnel domain
- Test on the live domain in a clean browser, not only in preview
- Review sessions versus page views in GA4 each month for sudden shifts
How FunnelGuard handles this
FunnelGuard detects this issue only partly. When its robot visitor runs a journey, it reads the sid (session ID) from the GA4 hits it captures. It does not compare the sid across pages, so it will not tell you that the session ID changed from one page to the next.
Questions people ask
Why is GA4 counting a new session on every page?
Most often the session cookie (_ga_XXXXXXXXXX) is not being saved or read, so GA4 sees each page as a new visit. Other causes are duplicate GA4 tags, a consent setup that blocks storage, or a cookie domain mismatch. Compare the sid in the collect requests on two pages to confirm.
What is session_start in GA4 and when should it fire?
session_start is an automatic GA4 event that fires when a visit begins, together with the first page_view or engagement. It should appear once per visit, not on every page. If it fires on every page or never, session handling is broken.
Why is my GA4 session_start event missing?
The tag may not be loading at all, the hits may be blocked, or the cookie may fail so sessions never start cleanly. Check the Network tab for g/collect requests and look for session_start in the en parameter on the first one.
How do I check the GA4 session ID?
Open DevTools, go to Network, filter by collect and click a GA4 request. The sid parameter in the payload is the session ID. Navigate to another page and confirm the value stays the same.
Why are my GA4 sessions almost equal to page views?
That ratio suggests sessions are splitting on each page. Look for blocked cookies, duplicate tags, a redirect that drops the cookie, or cross-domain gaps in the journey.
How do I stop GA4 splitting sessions between my site and checkout?
In GA4 go to Admin > Data streams > your stream > Configure tag settings > Configure your domains and add every domain in the journey. Also add payment or booking domains to the unwanted referrals list.
Can a cookie consent banner cause GA4 session problems?
Yes. If analytics storage is denied or the choice is not remembered, GA4 may not keep a stable session cookie. Test with consent accepted and make sure your banner saves the choice across pages.
Related issues
- TRK-001GA4 tag missing from a funnel pageFix guide
- TRK-005Two GA4 measurement IDs sending to the same propertyFix guide
- TRK-006GA4 installed twice (gtag.js and GTM) causing double page_viewsFix guide
- TRK-008gtag.js loaded but config command never calledFix guide
- TRK-013GA4 missing on hosted checkout or booking domainFix guide
- TRK-014GA4 data stream web URL pointing to an old domainFix guide