[UA] View Full Page URL In Reports [Legacy]

You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.

By default, the data in your reports includes only the Request URI and not the domain name:

URL of page: http://example.com/foldername/page.html
Request URI: /foldername/page.html
Domain name: example.com

If you'd like to see the domain name as well as the Request URI in your reports, create an Advanced filter for your view with the following settings:

Filter Type: Custom filter > Advanced
Field A: Hostname
Extract A: (.*)
Field B: Request URI
Extract B: (.*)
Output To: Request URI
Constructor: $A1$B1

Note that creating URL rewrite filters like the one described above can affect Analytics' ability to match your goals properly.

If you're using Analytics filters to rewrite your URLs, you need to make sure that your goal settings reflect these changes. Like all filters, URL-rewrite filters are applied to the raw data coming into your account, before goals are processed. As a result, your goal and funnel URLs should reflect the final, rewritten format of the URL. For example:

If your site's URL:

/directory/download/file.html

is rewritten by a filter to look like:

/download/file

then your goal should match

/download/file and not /directory/download/file.html

If you use filters to rewrite the URLs that appear in your reports (e.g., in the All Pages report), the links in your reports based on the rewritten URLs may not work.

Was this helpful?

How can we improve it?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Google apps
Main menu
4634478020773460169
true
Search Help Center
true
true
true
true
true
69256
true
false