Understanding Google Analytics Default Page Setting

When you navigate to Google Analytics Admin, you see the option to change view settings:

One of the view settings is ‘Default Page’:

Introduction to Default Page

Following is an example of a URL that points to a directory structure instead of an actual web page within the directory:

www.yourWebsite.com/

Another example of a URL that points to a directory structure instead of an actual web page within the directory:

www.yourWebsite.com

Other examples of URLs that points to a directory structure instead of an actual web page within the directory:

www.yourWebsite.com/shop/men/clothes

www.yourWebsite.com/shop/men/clothes/

Following is an example of a URL that points to an actual web page within the directory:

www.yourWebsite.com/shop/men/clothes/tops.php

Now when a user type a URL into his browser address bar that points to a directory structure (instead of an actual web page within the directory) then the web page which is served to him by your web server is called the default page.

A common filename for such a page could be index.html

So when a user type say www.yourWebsite.com/ into his browser address bar,  he is actually shown the contents of the default page (www.yourWebsite.com/index.html)

This default page may be visible or hidden from an end user depending upon, how your web server has been configured.

Note: If no default page is served then the web server would show an error page.

Sometimes the default page is visible to an end user and he can access the same web directory via different URLs like:

www.yourWebsite.com/

www.yourWebsite.com/index.html

Even though www.yourWebsite.com/ and www.yourWebsite.com/index.html are the same web page, they show up as two separate entries in your GA reports.

When you set ‘index.html‘ web page as your default page:

you tell GA to treat both www.yourWebsite.com/ and www.yourWebsite.com/index.html as same page.

So without default page setup, you may see the following two entries in your GA reports for any visit to the home page:

Once the default page has been setup and going forward, GA will consolidate the website usage data from two pages and may report it like the one below:

So any visit to the www.yourWebsite.com/ will be reported as a visit to the page www.yourWebsite.com/index.html

Another example

Let us suppose the following two URLs point to the same web page:

www.yourWebsite.com/shop/men/clothes/

www.yourWebsite.com/shop/men/clothes/index.html

Even though www.yourWebsite.com/shop/men/clothes/ and www.yourWebsite.com/shop/men/clothes/index.html are the same web page, they show up as two separate entries in your GA reports.

When you set ‘index.html’ web page as your default page:

you tell GA to treat both www.yourWebsite.com/shop/men/clothes/  and www.yourWebsite.com/shop/men/clothes/index.html as same page.

So without default page setup, you may see the following two entries in your GA reports:

Once the default page has been setup and going forward, GA will consolidate the website usage data from two pages and may report it like the one below:

Caveat

Use the ‘Default Page’ setting only when your website directories can be accessed both with and without default pages. Otherwise this setting could mess up your GA reports.

For example, if a web directory can be accessed only via a single URL say: www.yourWebsite.com/shop/men/clothes/

And you set ‘index.html‘ web page as your default page:

Then GA will report any visit to www.yourWebsite.com/shop/men/clothes/  as a visit to /shop/men/clothes/index.html

So basically append the request URI with ‘index.html’.

Overtime, GA could append all request URI in your reports with ‘index.html’:

Ideally a web directory should be accessible only via a single URL.

So if you ask your web developer to 301 redirect all default pages to their corresponding web directory then you won’t need to use the ‘Default Page’ settings. This is what I recommend.

For example, you can ask your web developer to 301 redirect www.yourWebsite.com/shop/men/clothes/index.php

to www.yourWebsite.com/shop/men/clothes/

I like to keep the ‘Default Page’ text field blank:

Other Articles on Specialised Tracking in Google Analytics

  1. Google Analytics Recurring Revenue and Subscriptions Tracking Guide
  2. How to track the impact of cookie consent on website traffic in Google Analytics
  3. Phone Call Tracking in Google Analytics and Beyond
  4. Scroll Tracking via Scroll Depth Trigger in Google Tag Manager
  5. Video Tracking via YouTube Video Trigger In Google Tag Manager
  6. Calculated Metrics in Google Analytics – Complete Guide
  7. The one thing that you don’t know about PayPal.com and the referral exclusion list
  8. Introduction to Postbacks in Google Analytics
  9. Creating Content Group in Google Analytics via tracking code using gtag.js
  10. Tracking Site Search without Query Parameter in Google Tag Manager
  11. Setting Up Site Search Tracking for POST based search engines in Google Analytics
  12. Tracking Site Search for GET-Based Search Engines in Google Analytics
  13. Understanding site search tracking in Google Analytics
  14. Tracking Virtual Pageviews in Google Tag Manager – Complete Guide
  15. Creating and using Site Search Funnel in Google Analytics
  16. Learn to Setup Facebook Pixel Tracking via Google Tag Manager
  17. How to use Keyword Hero to reveal Not Provided keywords in Google Analytics
  18. Guide to Event Tracking via Google Tag Manager
  19. Learn to track Qualified and Won leads in Google Analytics
  20. Creating your own Google Analytics Tag Auditing System
  21. Using multiple Google Analytics tracking codes on web pages
  22. Guide to Offline Conversion Tracking in Google Analytics
  23. Google Analytics and YouTube Integration Guide
  24. Complete Guide to Google Analytics for Facebook
  25. Tracking true referrals in Google Analytics when using PayPal and other payment gateways
  26. Virtual pageviews in Google Analytics – Complete Guide
  27. YouTube Video tracking via Google Tag Manager
  28. Implementing E-Commerce Tracking via Google Tag Manager
  29. Event Tracking in Google Analytics – Complete Guide
  30. E-Commerce Tracking in Google Analytics – Complete Guide
  31. Google Analytics Cross Domain Tracking Explained Like Never Before
  32. Google Analytics Social Tracking – Twitter, Facebook, Google Plus and LinkedIn
  33. Setting up & Tracking AMP Pages in Google Analytics
  34. Setting up Sales Funnel across websites in Google Analytics
  35. Using Data Visualization to analyze the SEO Performance
  36. Tracking offline conversions in Google Adwords
  37. How to Correctly Measure Conversion Date & Time in Google Analytics
  38. Tracking Twitter and Linkedin Social Interactions in Google Analytics
  39. Implementing Scroll Tracking via Google Tag Manager
  40. Phone Call Tracking and ROI calculations – Champion’s Guide
  41. Google Analytics Cross Domain Tracking (ga.js)
  42. Open Graph Protocol for Facebook Explained with Examples
  43. How to Exclude URL Query Parameters in Google Analytics?
  44. Understanding Google Analytics Default Page Setting
  45. Implementing rollup reporting in Google Analytics
 

"How to use Digital Analytics to generate floods of new sales and customers"

(Even if you are completely new to Analytics)

 

What You’ll Learn On This FREE Web Class!

#1 The number 1 reason why most marketers and business owners are not able to scale their advertising and maximise sales. 

#2 Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics. 

#3 The number 1 reason why conversion optimization is not working for your business. 

#4 How to advertise on any marketing platform for FREE with an unlimited budget.

#5 How to learn and master digital analytics in record time.

 
 

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

Himanshu Sharma

Digital Marketing Consultant and Founder of Optimizesmart.com

Himanshu helps business owners and marketing professionals in generating more sales and ROI by fixing their website tracking issues, helping them understand their true customers purchase journey and helping them determine the most effective marketing channels for investment.

He has over 12 years experience in digital analytics and digital marketing.

He was nominated for the Digital Analytics Association's Awards for Excellence.

The Digital Analytics Association is a world renowned not-for-profit association which helps organisations overcome the challenges of data acquisition and application.

He is the author of four best-selling books on analytics and conversion optimization:

error: Alert: Content is protected !!