What is Page Location in Google Analytics 4?

Cody Schneider6 min read

Confused by “Page location” and “Page path” in Google Analytics 4? You're not alone. GA4 introduced new ways to measure user behavior on your site, and knowing when to use each of these page-based dimensions is crucial for accurate analysis. This article breaks down exactly what the Page Location dimension is, how it’s different from Page Path, and how you can use it to uncover deeper insights about your marketing campaigns and website content.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

What Exactly is Page Location in GA4?

In Google Analytics 4, Page Location is the dimension that captures the full and complete URL of the page a user is viewing. Think of it as the page’s entire web address, exactly as it would appear in your browser's address bar. It includes everything from the protocol all the way to any tracking parameters at the end.

A typical Page Location value looks like this:

https://www.yourwebsite.com/blog/cool-article?utm_source=newsletter&utm_campaign=april_promo

Let's break that down:

  • Protocol: https://
  • Subdomain & Domain: www.yourwebsite.com
  • Page path: /blog/cool-article
  • Query parameters: ?utm_source=newsletter&utm_campaign=april_promo

Each of these parts offers a layer of context. The ability to see the full URL, including these query parameters (the text after the "?"), makes Page Location powerful for granular analysis, especially when tracking marketing campaigns or analyzing pages with dynamic content.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Page Location vs. Page Path: What’s the Difference?

If you have spent any time in GA4’s standard reports, you have likely come across “Page path and screen class,” often the default dimension in content engagement reports. Understanding the difference between Page Location and Page Path is key to choosing the right tool for your analytics needs. Here’s the fundamental distinction:

Page Location: The Full Address

Page Location shows every single character of the URL, including protocols and queries. It is essential when you need detailed views for parsing non-core page name information. For example, it helps analyze user engagement on different subdomains, marketing channels, or internal tracking campaigns.

For example, if the full Page Location is https://blog.yoursite.com/features/new-release?variant=B, it provides various contexts:

  • The visitors are on the blog.yoursite.com subdomain, focusing on the marketing campaign of yoursite.com, not the app.yoursite.com page.
  • The URL query suggests users are seeing the variant=B, which is a test view in an A/B experiment.
  • You could use URL parameters like ?tracking=campaign-1 to differentiate and track who clicked your CTA. For instance, by sending a newsletter to different customer segments with parameters like ?tracking=segment-A and ?tracking=segment-B, you can identify which segments have better conversion rates.

Page Path: The Local Route

Conversely, Page Path in GA4 focuses only on the part of the URL after the domain name and before the query parameters. It's essentially a cleaner version of the URL, providing unique reporting views, especially useful for UTM-based campaign traffic. Using our earlier example, the corresponding Page Path might look like:

/blog/cool-article

Unique Page Location URLs with different UTM parameters will still fall into a single Page Path category. The Page Path dimension is ideal for summaries like aggregating page views and user activity, regardless of the varied sources they're coming from.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

When to Use Each Dimension

  • Use Page Path: To measure overall page performance, like identifying the most viewed blog articles or pages on your site.
  • Use Page Location: For understanding specific user journeys and distinguishing campaigns using detailed URL parameters, subdomains, etc. It's suited for more nuanced data analysis.
  • For example, if you want to compare click-throughs of a summer sales campaign launched on LinkedIn vs. email newsletters, differentiate them with UTM queries. Though they share a common path, use Page Location to distinguish long-tail URLs with tracking parameters.

How to Find Page Location Data in Your GA4 Reports

One common point of confusion for new GA4 users is that the Page Location dimension isn't readily available in most standard reports. By default, GA4 favors the Page Path for its clean, aggregated view. However, you can add Page Location with a few customizations for more granular data.

Method 1: Customizing Standard Reports

You can add "Page location" as a dimension in standard "Engagement" reports or further customize dashboards in GA4 to access full URL or page location data from web streams.

  1. Navigate to the Reports section in your Google Analytics dashboard.
  2. Expand the Life Cycle section, scroll to and click Engagement and then Pages and screens.
  3. In the top right corner, click the Customize Report icon.
  4. Under the Report Data section, click the Dimensions link.
  5. Click on "+ Add dimension", find Page location in the options window, and apply.
  6. Save your configuration to make Page Location a default dimension in your reports. This customized report becomes available in the Library for future reference.

Your report table will now show full Web Addresses/URLs, aiding in the analysis of marketing attribution or helping in debugging webpage issues.

Method 2: Building an Exploration Report

The Explorations section in GA4 offers flexible tools, allowing users to create fully bespoke reports, commonly referred to as sandbox reports with no predefined rules. It's ideal for data-driven marketing approaches, enabling detailed campaign analysis found only within the Page Location URL part.

  1. From the main Navigation bar, open the Exploration tab and start a new Blank Template.
  2. Under Variables, add desired dimensions like Page Location and relevant metrics.
  3. Use the Tab Settings to build visualizations, dragging dimensions into columns and metrics into rows.
  4. Create filters for this data by specific rules like session default channel, refining your exploration.
GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Practical Scenarios

Using the Page Location dimension offers detailed insights into campaign traffic and behavior analysis on your site.

Analysis of Campaign Performance

Suppose your marketing team sent out different newsletters (emails) with unique tracking parameters. Filtering Page Location can isolate traffic for each campaign, providing insights on conversion rates.

Differentiating Traffic Between Subdomains

Companies often maintain multiple subdomains under a main domain, such as app.example.com and blog.example.com. Subdomains might have pages sharing identical paths such as /pricing/features. Analyzing subdomains separately using Page Location can measure which paths drive more conversions.

On-Site Search Behavior

For any ecommerce or content-heavy site, understanding what visitors search for on the website is key. On-site search terms are appended as query parameters on URLs. By analyzing these parameters via Page Location, you can see what the most popular search terms are across your user base.

Final Thoughts

Mastering the difference between Page Path and Page Location in GA4 empowers you to leverage the specific strengths of each. Whether you need aggregated data for overall performance tracking or detailed URL analysis for campaign insights, understanding how to use these dimensions effectively makes all the difference in refining your analytics strategy.

Related Articles