(not set) landing page in GA4: causes and fixes
When your GA4 Landing page report shows a big "(not set)" row, it means those sessions had no page_view event. Google's help page says so directly: (not set) appears for the landing page dimension "when a session doesn't have a page_view event." The fix is almost always in your tagging order, consent mode setup or how sessions restart, not in GA4's settings.
A small (not set) share is normal. When it crosses roughly 5% of sessions on a lead-gen or D2C site, your landing page conversion rates are being calculated on incomplete data, and that's worth fixing before you judge any campaign.
Why GA4 can't name the landing page
GA4 sets the landing page from the first page_view in a session. If a session starts with some other event, or never records a page view, there's nothing to fill the dimension with. Google's (not set) help page and its tagging best practices page point to a handful of causes.
1. Events fire before the Google tag config
If a custom event (a scroll, a chat widget load, a view_item) fires before the Google tag is configured, Google says it gets batched with session_start, and later page views can't be tied to that session start. This is the most common cause we see on Shopify and WordPress sites with several plugins pushing to the dataLayer.
Fix: put all configuration in the config command, or the Google tag in GTM, as early as possible. In GTM, trigger the Google tag on Initialization – All Pages, not on a later trigger such as DOM Ready. We covered a related setup check in Google tag upgraded to a GTM container.
2. Consent mode set up wrongly
Google's help page names two consent mode mistakes:
- Using the
defaultcommand to set values that should change after the visitor clicks the banner. That stopsuser_engagementfrom being sent and loses session start data. Changes after the click must useupdate. - Continuing to send events with denied consent after the user has granted it. Google says these get treated as a separate session with no
session_start.
Indian sites that added a cookie banner in a hurry for DPDP Act readiness often have the first problem. Check your CMP's GTM template settings, not just the banner design.
3. Sessions that restart without a page view
A GA4 session times out after 30 minutes of inactivity by default. If someone leaves a product page open, comes back an hour later and clicks "Add to cart" without reloading, the new session starts with an add_to_cart event and no page_view. This is our own practitioner explanation, consistent with Google's rule above, not a Google statement.
Single-page apps (React, Next.js, many quick-commerce storefronts) show this a lot, because route changes don't reload the page. If your SPA's virtual page views aren't firing on history changes, sessions after the first will lack page views.
Fix: make sure every route change sends a page_view. Enhanced measurement's "Page changes based on browser history events" option handles most SPAs. Test it in DebugView.
4. Cross-domain and cookie problems
Google lists two identity issues:
- A late cross-domain linker. If the linker initialises late, the client ID changes mid-journey and creates short, broken sessions. Sites that send users from a landing page domain to a separate booking or checkout domain are at risk.
- Inconsistent
cookie_prefixvalues across pages. Google says this produces (not set) when events are analysed with session or user dimensions.
Payment gateway returns are a related issue. If Razorpay or PayU shows up as a referral, see our guide to fixing payment gateway referrals in GA4.
5. Server-side and Measurement Protocol hits
Google warns against running server-side tagging and standalone client-side tagging for the same property on the same page, and says that if you use server-side GTM, all active tags should go through the server container. Separately, events you send from a backend (a CRM sending purchase or generate_lead via Measurement Protocol) don't include a page view, so if they don't carry the right session ID they can show up with (not set) landing pages. This second point is our practitioner reading, not Google wording.
How to find which cause you have
Build a quick Free-form exploration:
- Rows: Landing page + query string. Filter to exactly "(not set)".
- Add Event name as a second row dimension and Event count as the metric.
- Add Device category and Session source / medium as columns.
What the pattern tells you:
| What you see | Likely cause |
|---|---|
Mostly user_engagement, scroll or custom events | Events firing before config, or session timeout restarts |
| Spikes right after a CMP or banner change | Consent mode default/update mistake |
| Heavy on one domain or after checkout | Cross-domain linker or cookie prefix |
purchase or generate_lead with no other events | Server-side or Measurement Protocol hits |
| Source / medium also (not set) | Missing session_start; often the GTM trigger type |
If source / medium is (not set) as well, those sessions are probably also landing in Unassigned, which we covered in unassigned traffic in GA4.
What to do this week
- [ ] Check what share of sessions in your Landing page report is (not set) for the last 28 days. Note the number.
- [ ] In GTM, confirm the Google tag fires on Initialization – All Pages.
- [ ] Open Preview mode and check that no event fires before the Google tag on page load.
- [ ] Review your consent setup:
defaulton load,updateafter the click, nothing else. - [ ] On SPAs, test three route changes in DebugView and confirm each sends
page_view. - [ ] If you use cross-domain tracking, check that the
_glparameter survives the hop and that cookie prefixes match. - [ ] Recheck the (not set) share two weeks after the fix. Changes only apply to new data.
FAQ
Is some (not set) in the landing page report normal?
Yes. Session timeouts and background tabs will always create a few sessions with no page view. As a rule of thumb, under about 2% is fine and above 5% needs investigation. These thresholds are our guidance, not Google's.
Will fixing it change my historical data?
No. GA4 doesn't reprocess past data. Fixes only affect sessions recorded after the change, so annotate the date.
Is "(not set)" the same as "(data not available)"?
No. Google describes (not set) as a placeholder that can usually be fixed, while (data not available) is usually something you can't act on.