How to See Subdomain Traffic in GA4

Use GA4’s Hostname dimension to separate subdomain traffic. Filter a report for one hostname, then inspect its pages without changing collection.
In this story5 sections
Why does the hostname matter?
Suppose your main site and shop both have a page called /contact. The page path alone does not identify which hostname served it. In this example, www.example.com/contact and shop.example.com/contact share a path but belong to different hosts.
Google defines Hostname as the domain and subdomain portion of a visited URL. GA4 populates that dimension automatically. Use it to distinguish the hosts already represented in your collected data.
How do you view pages for one subdomain?
Open Reports, then Engagement and Pages and screens. Choose the date range you want to inspect. If that report is missing, ask the property’s editor to check its report navigation.
In the table’s primary-dimension menu, select Page path and screen class. Above the report, choose Add filter, select Hostname and set the match type to exactly matches. Select the hostname you need, such as shop.example.com, and apply the filter.
Check that the report displays the hostname condition before reading the rows. Google’s report-filter instructions explain the matching options. An exact hostname keeps the question specific; use a broader match only when you intend to include several hosts.
What if Hostname is missing from the main menu?
It can still be available elsewhere. During Digital Boom’s November 2026 check, Hostname was absent from the primary-dimension menu but available through the plus button beside it and in the report-filter builder. We checked those controls using our site’s hostname; this was not a test of collection across two subdomains.
To add it as a secondary dimension, select that plus button, search for Hostname and choose it. This temporary breakdown lets you inspect hostname values beside the existing dimension.
To change the report’s saved primary-dimension choices, an Editor or Administrator can use Customize report, then Dimensions. That changes the shared report definition, so agree the change with the person responsible for reporting.
Does a report filter fix missing tracking?
No. It narrows the data displayed. If the hostname you expect is absent, first check the selected property and period, then investigate whether the relevant pages send data to that property. A reporting filter is not evidence that tracking is working. If the investigation stalls because a former agency controls the tag container, our Google Tag Manager access guide covers that separate access problem.
Keep report analysis separate from Admin data filters. Active hostname data filters affect incoming data permanently. They are not needed simply to inspect a subdomain’s report.
Is this the same as cross-domain measurement?
No. This guide separates report rows by hostname. Preserving measurement across domains is a separate setup and verification task. Do not treat a visible hostname row as proof that a complete journey has been measured correctly.
Our older version used Universal Analytics Views and advanced filters. These instructions replace that workflow with GA4 reporting; they do not promise to reconstruct data that was never collected.
More from Guides






