'/' 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?