1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

when setup G analytics, does it matter use www. or without www?

Discussion in 'Black Hat SEO' started by flyingbear, Aug 15, 2011.

  1. flyingbear

    flyingbear Junior Member

    Joined:
    Mar 7, 2011
    Messages:
    195
    Likes Received:
    19
    when create account, say, if use www.mysite.com, is it different from mysite.com? I mean if someone input mysite.com (no www) in browser, will it track it too?

    or, better use mysite.com?
     
  2. shaun_shaun

    shaun_shaun Junior Member

    Joined:
    Mar 22, 2011
    Messages:
    157
    Likes Received:
    82
    www and non www are 2 separate versions.. If ur site indexed as www, then add the www version ..
    u can always set ur preferred url in webmasters tool.
     
  3. flyingbear

    flyingbear Junior Member

    Joined:
    Mar 7, 2011
    Messages:
    195
    Likes Received:
    19
    really? I used the site:mysite.com, it returned about 750 pages, if I used site:www.mysite.com, it returned about 800 pages. I guess both www.mysite.com and mysite.com are indexed.

    the question is: what I should use in analytics now?
     
  4. shaun_shaun

    shaun_shaun Junior Member

    Joined:
    Mar 22, 2011
    Messages:
    157
    Likes Received:
    82

    first did u build backlinks to any of these domains (www or non www) ? If u did, choose that domain as preferred domain.
    then follow these steps,
    1.choose preferred domain in webmasters tool
    2.put a htaccess 301 redirect to ur preferred domain.
    3.add canonical tag to ur index page


    then choose ur preferred domain for analytics,
     
    Last edited: Aug 15, 2011
  5. maramald0

    maramald0 Newbie

    Joined:
    Aug 15, 2011
    Messages:
    16
    Likes Received:
    1
    I usually stick with the plain domain and use it in both the webmaster tools and analytics. You can set what is the main domain too and let google show just it (and not the www one)
     
  6. milian

    milian Power Member

    Joined:
    Jan 9, 2010
    Messages:
    515
    Likes Received:
    69
    Occupation:
    SEO stuff
    Location:
    Around
    Yeah you need to do this ASAP, as if both your non www and ww are indexed you more than likely being held back due to duplicate content!