Page URL
The full canonical or observed URL of the page viewed, used to categorise content consumption, landing experiences, navigation paths, and on-site performance by exact page location. This dimension typically includes protocol, hostname, path, and may include query parameters depending on implementation rules.
Business Use Case
Marketing and product teams use Page URL to identify which exact landing pages drive the highest engagement, conversion rate, and revenue, such as comparing performance of /pricing versus /enterprise/pricing across paid and organic traffic.
Business Criticality
High
Journey / Navigation Area
Digital Analytics
Scope
Event
Formula
Observed page location captured at page_view event time. Recommended normalized form: LOWER(REGEXP_REPLACE(page_location, '#.*$', '')) with optional query-string handling based on governance rules.Calculation Notes
1️⃣ Capture every page_view event post URL normalization. 2️⃣ Define retention of query parameters to prevent cardinality explosion. 3️⃣ Strip URL fragments (#) as they are client-side and not analytically meaningful. 4️⃣ Standardize lowercase hostnames and protocol handling. 5️⃣ For SPAs, ensure virtual page views update the URL and fire on route change. 6️⃣ Exclude internal tools, preview environments, and localhost traffic. 7️⃣ Avoid collecting sensitive query parameters like email, phone, or account IDs.
Technical Details
Events
| Platform | Event |
|---|---|
| Google Analytics 4 | page_location |
| Adobe | eVar3, prop3 Can use any eVar and prop or any other dimension |
Data Mappings
W3 Data Layer
{
"event": "page_view",
"page": {
"url": "https://www.example.com/products/running-shoes?color=blue",
"path": "/products/running-shoes",
"title": "Running Shoes",
"referrer": "https://www.google.com/"
}
}GA4 Data Layer
{
"event": "page_view",
"page_location": "https://www.example.com/products/running-shoes?color=blue",
"page_path": "/products/running-shoes",
"page_title": "Running Shoes",
"page_referrer": "https://www.google.com/"
}Adobe Client Data Layer
{
"event": "page-view",
"page": {
"pageInfo": {
"URL": "https://www.example.com/products/running-shoes?color=blue",
"pageName": "Running Shoes",
"destinationURL": "https://www.example.com/products/running-shoes?color=blue"
}
}
}XDM Mapping
{
"xdm.web.webPageDetails.URL": "https://www.example.com/products/running-shoes?color=blue",
"xdm.web.webPageDetails.name": "Running Shoes",
"xdm.web.webReferrer.URL": "https://www.google.com/"
}SQL Queries
Google Analytics 4 (BigQuery)
SELECT event_date, event_timestamp, user_pseudo_id, user_id, (SELECT ep.value.string_value FROM UNNEST(event_params) ep WHERE ep.key = 'page_location') AS page_url, COUNT(*) AS page_views FROM `project.dataset.events_*` WHERE event_name = 'page_view' GROUP BY 1,2,3,4,5;Adobe Experience Platform (AEP Query Service)
SELECT DATE(eventTimestamp) AS event_date, eventTimestamp AS event_timestamp, identityMap.ECID[0].id AS mcid, _experience.analytics.customDimensions.eVars.eVar1 AS page_url, COUNT(*) AS page_views FROM dataset.events WHERE eventType = 'page_view' GROUP BY event_date, event_timestamp, mcid, page_url;Source Data
Digital Analytics, Business Intelligence
Dependencies
Prerequisite: List the dependencies required for this Dimension
Events:
Dimensions:
Report Attributes
Dimensions: Page URL, Landing Page, Page Path, Hostname Metrics: Views, Users, Sessions, Engaged Sessions, Conversions, Revenue, Bounce Rate KPIs: Conversion Rate, Exit Rate, Revenue per Session
Segment Eligibility
True
Governance
Derived Dimensions
Governance
GitHub
catalog/dimensions/page-url.yml