Quick fix: GA4 shows "(not set)" as a landing page when a session has no page_view event, because the Landing page dimension is "the page path associated with the first page view in a session". A likely reason (our reading of Google's docs, which publish no breakdown) is a session that restarts after 30 minutes of inactivity: the visitor comes back to an open tab, scrolls or clicks, and GA4 starts a new session without a new page view. First find out which events start those sessions, then fix the matching cause below. If it is mostly timeouts, a longer session timeout reduces them:
Admin > Data collection and modification > Data streams > (your web stream)
> Configure tag settings > Show all > Adjust session timeout
The exact error
It is a dimension value, not an error message. In Reports > Engagement > Landing page (and in any exploration using the Landing page or Landing page + query string dimensions) you see a row labelled:
(not set)
Google's help explains it in two sentences:
(not set) is a placeholder name that Analytics uses when it hasn't received any information for a dimension.
(not set) can appear for the landing page dimension when a session doesn't have a page_view event.
Versions: GA4 is hosted and has no versions; this is the wording of Google's help pages fetched on 17 November 2026. Google publishes no "normal" percentage for this row.
Why it happens
GA4 fills the landing page from the first page_view in a session. Sessions, though, can start without one. Google's docs give the pieces:
- A web session "ends or times out after 30 minutes of user inactivity" by default.
- The automatic
session_startevent fires "when a user engages the app or website", and a new session ID is attached to every event after it. page_viewis sent "each time the page loads or the browser history state is changed by the active site".
So any session whose events are only clicks, scrolls, user_engagement or custom events has no first page view, and its landing page is (not set). The session still counts, with its source, engagement and key events; only the landing page is missing.
Find your cause
Start by listing the first event of sessions without a page view. If you export to BigQuery, this query does it (replace the project, dataset and dates; it parses as BigQuery SQL but was not run against a live dataset here):
WITH events AS (
SELECT
user_pseudo_id,
(SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS session_id,
event_name,
event_timestamp
FROM `your-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20261101' AND '20261114'
),
sessions AS (
SELECT
user_pseudo_id,
session_id,
ARRAY_AGG(IF(event_name IN ('session_start', 'first_visit'), NULL, event_name) IGNORE NULLS ORDER BY event_timestamp LIMIT 1)[SAFE_OFFSET(0)] AS first_event,
COUNTIF(event_name = 'page_view') AS page_views
FROM events
GROUP BY user_pseudo_id, session_id
)
SELECT first_event, COUNT(*) AS sessions_without_page_view
FROM sessions
WHERE page_views = 0
GROUP BY first_event
ORDER BY sessions_without_page_view DESC;
Without BigQuery, build a free-form exploration with Landing page and Event name as rows, Event count as the value, and a filter of Landing page exactly matches (not set). Then match what you see:
| Cause | How to recognise it | Fix |
|---|---|---|
| Session timed out, visitor came back to the open tab | First events are user_engagement, scroll, click or other interaction events | Lengthen the session timeout; accept a small remainder |
| Automatic page views turned off | send_page_view: false in the Google tag, or Page views off in Enhanced measurement, with no manual page_view on some pages | Send a page_view on every page |
| Single-page app without history page views | One page_view per full load; route changes send nothing | Enable page changes based on browser history events, or send virtual page views |
| Consent mode set up wrongly | Sessions with consent events and no session_start; (not set) rises after a CMP change | Use update for consent changes; do not send denied events after consent was granted |
| Measurement Protocol events | Server-side events (purchases, refunds, offline conversions) as first events | Reuse the browser's session ID; do not invent new ones |
Cause 1: the session timed out and the visitor came back
A visitor reads a page, leaves the tab for more than 30 minutes, then scrolls or clicks. That interaction starts a new session, but no page loaded, so no page_view is sent and the new session has no landing page. Google does not describe this exact sequence in one place; it follows from the session, session_start and page_view definitions above. To reduce it, raise the timeout: go to Admin > Data streams, select your web stream, then Configure tag settings > Show all > Adjust session timeout, and set hours and minutes. A longer timeout also merges some visits that used to count as two sessions, so your session count can drop. Some (not set) from this cause is expected on long-read and dashboard-style pages.
Cause 2: automatic page views are turned off
By default the Google tag sends a page_view on load. Setting send_page_view to false stops that, and Google notes the setting "does not persist across pages", so it must be handled on every page. If some templates turn it off and never send a manual page view, sessions that start on those pages and never reach one that sends a page view land as (not set). Search your code and your Google Tag Manager container for send_page_view, and make sure each page sends one of these:
// Default: let the Google tag send it
gtag('config', 'G-XXXXXXXXXX');
// Or, if you turned automatic page views off, send it yourself
gtag('config', 'G-XXXXXXXXXX', { send_page_view: false });
gtag('event', 'page_view', {
page_location: window.location.href,
page_title: document.title
});
In Tag Manager, the related Google advice is to fire the Google tag on the Initialization - All pages trigger. If a consent, blocking or page-specific trigger stops the tag that sends the page view, the session can end up with events but no page_view.
Cause 3: a single-page app that only counts the first load
Google defines an SPA as a site that loads "an HTML document once and fetch[es] any additional content using JavaScript APIs". If only the initial load sends a page_view, a session that restarts after a timeout while the visitor moves between screens never gets one. Google's recommended fix for apps that use the History API: Admin > Data streams > Web > Enhanced measurement, edit Page views, open Show advanced settings, and enable both Page loads and Page changes based on browser history events. If you configure your tags in Tag Manager, Google says not to enable automatic history tracking in Google Analytics, "as this can lead to double-counting page views", and points to its Tag Manager SPA tutorial instead. Apps that do not use the History API should send a manual page_view on each screen change.
Cause 4: consent mode is implemented wrongly
Google's (not set) page lists two consent mode mistakes:
- Using the
defaultcommand for everything, including the change after the visitor answers the banner. Google says "As a result, the user_engagement event isn't sent, and the initial event with the session_start parameter is lost." Usegtag('consent', 'update', {...})for the change. - Sending extra events with denied consent after the visitor granted it. "These additional events with denied consent are treated as a separate session, which won't have a session_start event."
Google's consent guide adds that the default command must run "on every page of your site before any commands that send measurement data (such as config or event)", and that "The order of the code here is vital." Check the order in your page source or your consent management platform's template.
Cause 5: Measurement Protocol events
Measurement Protocol is GA4's API for sending events from a server. Google says it exists "to augment existing events collected using gtag, GTM, or Firebase", and that "creating a new session_id creates a new session without the need to send session_start". A server event with a session ID your browser tag never used becomes its own session with no page_view, so (not set). Read the visitor's current session ID in the browser and pass it to your server with the order or form data:
gtag('get', 'G-XXXXXXXXXX', 'session_id', (id) => {
// send id to your backend with the form or order
});
Then include it as session_id in the event params, along with engagement_time_msec, which Google says are needed for events to "contribute correctly" to session and engagement metrics.
Check it is fixed
- Turn on debug mode with Tag Assistant (tagassistant.google.com) for your own browser, or for every visitor by adding
debug_mode: trueto the config command (remove it afterwards), then open Admin and, under Data display, click DebugView. - Load a page and confirm the stream shows
session_startandpage_view. In an SPA, change screens and confirm a newpage_vieweach time. - For consent fixes, accept the banner and confirm events continue in the same session without a second
session_start. - After 24 to 48 hours (GA4 processing time), compare the (not set) share of sessions in the Landing page report with the period before the fix.
Expect it to fall, not to reach zero: returning visitors after a timeout (Cause 1) keep producing a few.
Related errors
Session source / medium will report (not set) for sessions where the automatically collected event session_start is missing.Same family; Google's fix is the Initialization - All pages trigger in Tag Manager. These sessions show as Unassigned in channel reports.(data not available)Appears in source and medium when GA4 has data that "hasn't been processed" and a GCLID or UTM parameter is present. Google says you usually cannot reduce it; Intraday shows more of it than Daily.(not set)in Content group: automatic events such assession_startdo not acceptcontent_group, or the parameter was sent empty.(not set)for a new custom parameter: expected for the first 24 hours after you register it.
What to do next
- Benchmarks warning on the same Home page? See fix GA4 "Benchmarking data not available".
- Broken UTM tags cause the source and medium version of (not set): check links with the free UTM audit linter.
- New to SQL for the BigQuery check? Start with SQL for beginners: your first 10 queries.
- Official docs: What the value (not set) means, About Analytics sessions and Measure single-page applications.
FAQ
Why is my GA4 landing page (not set)?
Because those sessions contain no page_view event. A likely case is a session that restarted after 30 minutes without a page load; otherwise page views are turned off, an SPA does not send virtual page views, consent mode is misordered, or server-side events start their own sessions.
What percentage of (not set) landing pages is normal in GA4?
Google does not publish one. Compare your own trend: a sudden jump after a release, tag or consent banner change points to Causes 2 to 5, while a steady small share is more likely timeouts.
Are (not set) landing page sessions lost data?
No. The sessions, users, engagement and key events are counted. Only the landing page value is missing, so landing page totals add up to less than your real entrances.
Can I filter (not set) out of the Landing page report?
Yes, with a report filter or a search, but that hides the symptom. Fix the cause first so the numbers per landing page are complete.
How this fix was verified
GA4 is a hosted Google product, so nothing could be reproduced locally, and we did not sign in to any Google account. Every cause is built from Google's own documentation, fetched on 17 November 2026 from macOS 26.5 on Apple M4: the (not set) help page, the Dimensions and metrics reference, Landing page report, About Analytics sessions, Automatically collected events, Configure your Google tag settings, DebugView, Data freshness, the Measurement Protocol guide and reference, the gtag page view guide, the SPA guide and the consent mode guide.
Run here: the BigQuery query was parsed with sqlglot 30.33.0 (BigQuery dialect) in a local Python venv; it was not executed against a GA4 export. Docs only: all UI paths and all behaviour. Cause 1 combines Google's session, session_start and page_view definitions; Google does not describe that exact sequence on one page. Causes 2 to 5 are stated or directly implied by Google's pages.
Last verified: 17 November 2026.
We re-check this fix monthly and record any change in this page's changelog.
Comments 0
No comments yet. Be the first to share your thoughts.
Leave a comment