Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

www vs. non-www. versions interfering with Analytics tracking?

8:22 am on Oct 24, 2012 (gmt 0)

New User

joined:Oct 24, 2012
posts: 37
votes: 1

I never actually thought of the tracking ramifications before, but occasionally I work with sites that have both the www. and non-www. versions of the site live. Does this interfere with tracking in Google Analytics? (i.e. would I see double stats if someone visited domain.com/product/ and another user visted www.domain.com/product/)
As a side note, I know that you can now verify Google Webmaster Tools via Analytics if you already have it implemented, and you can set the preferred domain to either www. or non-www. in Google Webmaster Tools. So...maybe that takes care of it?
8:12 pm on Oct 24, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

Visitors are tracked by page so you will see how many people visited
whatever the hostname.

I always set up separate profiles with different filters. One records accesses to www on the correct hostname and another records all other accesses elsewhere. This second profile records visits to non-www, to Google cache, and scraped and copied pages.
9:19 am on Nov 2, 2012 (gmt 0)

New User

10+ Year Member

joined:Sept 17, 2003
votes: 0

It does not interfere irrespective of you do setting through webmasters tool. The page is same. If you open both the urls and check the analytics code, it's same.

However, it is always suggested that you redirect one version to another version with 301 redirect in order to avoid split of link authority.