Tracking subdomains in Google Analytics

If you have multiple subdomains on your site, like store.name.com and www.name.com, you might want to use the code that allows you to see them all in one Analytics profile.

But there’s a downside. Your stats for store.name.com/index.html and www.name.com/index.html will get combined.

There is also a solution. You can create an advanced filter to keep them separate. See How do I track all of the subdomains for my site in one profile?

Update: Unfortunately, this messes up the site overlay feature. When it tries to create a site overlay it puts your subdomain in the wrong place in the URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

ten + 2 =