WebmasterID logoWebmasterID
Analytics dimensions

Page referrer dimension

Page referrer is the dimension that records the full URL a visitor came from before the current page — captured by GA4 as the page_referrer parameter on page_view. It is event-scoped and granular: it shows the immediate previous page, including internal navigations within your own site. That makes it different from the session-level source/medium, which describes how the whole visit began rather than each hop.

Verified against primary sources

What this means

On each page_view, GA4 records page_referrer: the full URL of the page the visitor was on immediately before. Unlike source/medium, which is resolved once for the session at acquisition, page_referrer updates per pageview and includes internal-to-internal navigation.

That granularity makes it useful for path analysis and for spotting which exact URLs precede a given page.

How it differs from session source

Session source/medium answers 'how did this visit begin?' and is sticky for the session. Page referrer answers 'what page came just before this one?' and changes constantly, often pointing to your own domain. Confusing the two leads people to think internal clicks are new acquisition.

Like all referrer data, page_referrer is subject to Referrer-Policy, so cross-site values may be trimmed to the origin or absent.

How it appears in analytics and logs

A page referrer value is the URL that preceded this specific pageview, which can be your own domain on internal clicks. It is not the same as the visit's acquisition source and should not be read as such.

Diagnostic use case

Use page referrer to trace the immediate previous URL for a pageview, while relying on source/medium for the session's overall origin.

What WebmasterID can help detect

WebmasterID captures the referring URL first-party per event, so immediate-previous-page analysis works without cross-site tracking.

Common mistakes

Privacy and accuracy notes

Page referrer reflects the Referer header the browser sends, subject to Referrer-Policy. WebmasterID records only what the browser provides and does not reconstruct suppressed referrers.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.