Google Analytics Configuration Mistake #1: Missing Default Page
September 21, 2006 by Justin Cutroni Setting the default page for your website is a simple configuration step that insures the quality of your Google Analytics report data is good. The default page for a website is the page shown to a visitor when they enter just the website domain into the browser’s location bar. If you type http://www.epikone.com/ into your browser my webserver returns index.php. You won’t see index.php in the browser’s location bar, but that’s the page the server returns. This is the same for directories within your website. http://www.epikone.com/blog also returns index.php.
Why does this matter to GA? When the urchin.js tracking code executes it creates pageviews using the page name that the visitor requested. What if there is no page name, as is the case above? GA creates a pageview for /. When people type http://www.epikone.com/index.php GA create a pageview for index.php. See how this can cause a problem? GA collects pageviews for / and for index.php. Two pageviews for the same page.
Pageviews for a page should be summarized in a single line item, not two! Note: I know the above example isn’t all that great. It would be better if 50% of the traffic was for / and 50% was for index.php. But I don’t have any profiles with bad data :)
To remedy this problem enter the default page for your website in the ‘Default page:’ field in the ‘Main Website Profile Information’ configuration section.
Be sure to only enter the page name, no ‘/’ before the page name and no regular expressions. Just the name of the page, nothing else.
Remember, this change will not affect data that has already been processed by Google Analytics. It will only affect data that will be processed in the future.
Subscribe:











7 Responses to “Google Analytics Configuration Mistake #1: Missing Default Page”
Thanks for the great tip! I have read all your blog posts and you are VERY helpful!
I made this change in my Google Analytics profile. My question is now for all the date ranges BEFORE i made this change I am getting visitor information for BOTH the root / AND /index.php.
AFTER I made this change when you look at the visitor information the top content just has /index.php.
How would I join the data for “/” and “/index.php” for the previous dates before I made this change in my profile?
Thanks!!
By Rob on Nov 28, 2006
Hey Rob,
Unfortunately you can not change your historical data. Changes that you make to a profile configuration only affect the data going forward.
Thanks for the comment!
Justin
By Justin on Nov 28, 2006
Hey there, great article-good read.
I’m curious though, have you ever had the issue where GA wasn’t returning “great” data for the index page? See, I’m having an issue similar (or the same) as this one. My stats are showing very small pageviews for my homepage. Everything is set up correctly in my settings, but the numbers are still in the 10-15 range, while every other page is in the 1000’s. Ideas?
Also, you can actually see an entry for “/”. I don’t…and searching for “/” is difficult as it picks up pretty much every other page…
Anyway, if you have any suggestions or ideas I’d love to hear them…
Have a good one,
Mike
By Mike on May 18, 2007
k…I think I got it (for what it’s worth)…I missed the “/” at the end of the Website URL entry
By Mike on May 18, 2007
Hi Mike,
I’m gald you figured it out and glad you you enjoyed the post.
Thanks for reading!
Justin
By Justin on May 18, 2007