homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: DixonJones & mademetop

Website Analytics - Tracking and Logging Forum

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

Msg#: 4511580 posted 8:22 am on Oct 24, 2012 (gmt 0)

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?



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

Msg#: 4511580 posted 8:12 pm on Oct 24, 2012 (gmt 0)

Visitors are tracked by page so you will see how many people visited
/thispage 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.


10+ Year Member

Msg#: 4511580 posted 9:19 am on Nov 2, 2012 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved