[UA] '/' and '/index.html' tracked separately

Even though www.example.com/ may be the same page as www.example.com/index.html, they show up as two separate entries in your reports. You can configure Analytics to treat them as the same page by defining the Default page for your site:

  1. Navigate to the desired account, property, and view.
  2. In the VIEW column, click View Settings.
  3. In the Default page field, enter the default page for this domain. This is the page that loads when a user enters only the domain of your site into their address bar. For example, if www.example.com loads your index.html web page, enter index.html in this field.
  4. Click Apply.

This also works at the subdirectory level. In other words, once you have entered index.html as the default page, Analytics also treats example.com/subdir/ and example.com/subdir/index.html as the same page.

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
15780607360103336181
true
Search Help Center
true
true
true
true
true
69256
false
false