Sub topic 10
Landing pages and how visits begin
This chapter covers the landing page dimension, how GA4 assigns it, how to read the Landing page report, and the mistakes that distort it. It assumes you know what a session is, what an engaged session is, and how engagement rate and bounce rate are calculated. It also assumes you can open a report in the GA4 interface. The Data API section at the end is optional.
What a landing page is
A landing page is the first page a visitor views in a session. Marketers sometimes call it the entry page. GA4 does not store it as a separate fact about the visit. It derives it from the events inside the session, using the first page_view event it finds.
This ties the dimension to the event model. The session_start event marks the beginning of the visit, but it carries no page of its own. The landing page comes from the first page_view that follows.
Where to find the report
Open Reports, then Engagement, then Landing page. If you do not see it, it may be missing from the report collection. A user with edit rights can add it through Library.
The default report lists landing pages as rows. Its columns include sessions, users, new users, average engagement time per session, key events, and total revenue. You can add engagement rate and bounce rate through the report customization pencil icon. The exact default columns have changed between releases, so treat this list as a starting point.
Landing page versus page views
The Pages and screens report counts every page view. The Landing page report counts only sessions that began on a page. These are different questions.
| Question | Report | Unit counted |
|---|---|---|
| Which pages get viewed the most? | Pages and screens | Views (`screenPageViews`) |
| Which pages do visits start on? | Landing page | Sessions (`sessions`) |
| Which pages hold attention? | Both, with different engagement metrics | Engagement time or engagement rate |
A page can have thousands of views and few landings. A checkout page is a typical example, because visitors reach it from other pages. A blog post shared on social media can show the opposite pattern, with most of its views being landings.
The sessions in the Landing page report add up to roughly the total sessions of the property. This is a useful sanity check. If the rows sum to much less than total sessions, the gap is probably in a (not set) row or in rows hidden by report thresholds or row limits.
Engagement metrics by landing page
Landing pages are the most common place to apply engagement rate and bounce rate. Both metrics are session-based, so each session is counted once, under the page where it started. This gives you a fair comparison between entry points.
Recall the definitions:
- An engaged session lasts at least 10 seconds, or has a key event, or has at least two page or screen views.
- Engagement rate is engaged sessions divided by sessions.
- Bounce rate is the share of sessions that were not engaged. It equals 1 minus engagement rate.
The 10-second threshold is the default. You can change it in the data stream's enhanced settings, so confirm what your property uses before you compare numbers with another property.
Here is a worked example with three landing pages.
| Landing page | Sessions | Engaged sessions | Engagement rate | Bounce rate |
|---|---|---|---|---|
| `/blog/ga4-basics` | 4,000 | 2,200 | 55% | 45% |
| `/pricing` | 1,500 | 1,200 | 80% | 20% |
| `/` | 3,500 | 2,450 | 70% | 30% |
The blog post brings the most sessions but has the highest bounce rate. That does not make it a bad page. A reader who finishes the article in one visit and leaves may be exactly the visitor you wanted. Whether 45% is a problem depends on what the page is for.
The arithmetic is easy to check in code. This script reproduces the table.
rows = [
("/blog/ga4-basics", 4000, 2200),
("/pricing", 1500, 1200),
("/", 3500, 2450),
]
for page, sessions, engaged in rows:
engagement_rate = engaged / sessions
bounce_rate = 1 - engagement_rate
print(f"{page:20} {engagement_rate:6.1%} {bounce_rate:6.1%}")Average engagement time in this report is average engagement time per session. It is total user engagement time divided by sessions, not divided by users. It is also not the same as session duration, because it counts only time when the page was in the foreground.
How a session starts, and why that matters
A new session begins when a user arrives and no active session exists. GA4 ends a session after 30 minutes of inactivity by default. This has consequences for landing pages.
- If a visitor leaves a tab open for more than 30 minutes and then interacts with it, GA4 starts a new session. The landing page of the new session is the first
page_viewafter that point. This may be the same page the visitor was already on, or a later page. - Changing campaign source or medium mid-visit does not start a new session in GA4. This differs from Universal Analytics, where a campaign change did. A visitor who arrives from an email link and later arrives from a search result within the timeout stays in the same session, and the landing page does not change.
- Crossing to a second domain without cross-domain measurement configured starts a new session on the second domain. Its landing page is then a page that visitors actually reached by clicking from your first site, which inflates entry counts for that page.
Query strings and fragmented rows
The landing page value can include the query string, depending on the dimension you choose. In the Data API, landingPage and landingPagePlusQueryString are separate dimensions. Check the API schema for the current definitions before you rely on either one.
When the query string is included, the same page appears many times:
/pricing/pricing?utm_source=newsletter/pricing?utm_source=newsletter&utm_medium=email/pricing?ref=abc123
Each variant is its own row with its own session count. Its engagement rate is calculated from fewer sessions, which makes it noisier. If a page looks unpopular, check whether its traffic is spread across variants. You can fix this in the report with a filter or a search on the page path. You can also exclude unwanted query parameters in the data stream's settings, but that change applies only to data collected after you make it.
The `(not set)` landing page
A (not set) row means GA4 found a session but no page_view to take a landing page from. Common causes:
- Events fire before the page view, or the
page_viewnever fires. This happens when the tag is misconfigured, or when a consent tool blocks the page view but lets other events through. - A session continues from an earlier page, and the user triggers only non-page events afterwards.
- Measurement Protocol events are sent without a matching page view. These events are sent from a server or app and have no page context.
A small (not set) share is normal. A large share is a signal to inspect your tagging, for example with DebugView. Don't read it as a finding about user behavior.
Landing pages and key events
Landing pages show which entry points lead to key events. The Landing page report has a key events column, which counts key events that occurred in sessions starting on that page. Note that these key events can happen on any page of the session, not on the landing page itself.
This is session-scoped attribution to an entry point. A blog post with 4,000 sessions and 40 key events does not mean the blog post converted 40 times. It means 40 key events happened in sessions that began there, possibly on the pricing page or a form page later.
Pulling landing pages with the Data API
This request body goes to the runReport method of the GA4 Data API. It returns the ten landing pages with the most sessions, along with engaged sessions, engagement rate, bounce rate, and key events.
{
"dateRanges": [{ "startDate": "28daysAgo", "endDate": "yesterday" }],
"dimensions": [{ "name": "landingPage" }],
"metrics": [
{ "name": "sessions" },
{ "name": "engagedSessions" },
{ "name": "engagementRate" },
{ "name": "bounceRate" },
{ "name": "keyEvents" }
],
"orderBys": [{ "metric": { "metricName": "sessions" }, "desc": true }],
"limit": 10
}Compare the result with the interface. The numbers should agree, apart from small differences caused by data freshness, thresholds, and sampling or cardinality limits. If they disagree, check that the date range and any filters match.
Common mistakes
- Treating landing page sessions as page popularity. Use Pages and screens for that question.
- Judging a landing page by bounce rate alone. A single-purpose page, such as a contact details page, can be a success with a high bounce rate. Pair bounce rate with key events.
- Comparing landing pages with very different session counts. A 90% engagement rate on 20 sessions is not evidence of anything.
- Ignoring query-string variants. Group them before ranking.
- Reading
(not set)as a user behavior. It is a collection issue.
Exercise
A page /guide shows 12,000 views in Pages and screens but only 900 sessions in the Landing page report. A colleague says the Landing page report is undercounting. Give a more likely explanation and a check you can run.
Show answer
Most of the views are probably not landings. Visitors reach /guide from other pages on the site, and a single session can view it more than once, so views exceed landing sessions. To check, compare the landing page sessions for /guide with the sum of landing page sessions across the site and total sessions. If the rows add up to total sessions (apart from (not set)), the report is not undercounting. You can also look at the previous page path for /guide views to see where the visitors come from.
Exercise
A landing page has 2,000 sessions and 1,300 engaged sessions. What are its engagement rate and bounce rate? Name one reason its bounce rate might be acceptable.
Show answer
Engagement rate is 1,300 / 2,000 = 65%. Bounce rate is 1 - 0.65 = 35%. The bounce rate might be acceptable if the page answers a single question, such as an opening-hours page, so a visitor can leave satisfied without a second page view, a key event, or 10 seconds of engagement.