Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Our website is set up to direct all traffic for www.example.com to example.com with a line in the htaccess file. With Google analytics new in page analytics feature we are thinking of removing the line and allowing people to visit www.example.com as well to play with the new features. My question is this. How will this change affect our analytics data.

  • Will nothing change and we can start using the new feature with our existing data
  • Are the two domains tracked separately and we will have to start over with www.example.com

Any help would be great, as I can find nothing on Google help sites covering this. Let me know if you need further explanation.

share|improve this question
    
Im not really sure why you would want to do this, cant you just enable, the new inpage features on your existing GA account ? –  sam Dec 28 '12 at 16:29
    
Both sub-domains will be considered as separate by Google and you can add both of them as different sites in GA. –  AgA Dec 28 '12 at 16:49
add comment

1 Answer

You need note worry about this. In Google Analytics, simply go to the Tracking settings in the Admin section, and enable the multiple subdomain tracking. That way GA will track visits coming to www.example.com and example.com separately and report them to you in the same property.

What you can also do, is use the canonical tag to define which version to use.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.