You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.
Even though example.com/ may be the same page as 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:
- Navigate to the desired account, property, and view.
- In the VIEW column, click View Settings.
- 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 example.com loads your index.html web page, enter
index.html
in this field. - 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.