I have a new mobile site which sites on m., m.example.com

What is the best method for integrating it's Google Analytics data with the existing data I have.

I want them together so I can easily see total visits for example. But then would like to segment them again to see how much traffic is going to each domain.

Is this possible, if so how?



Take a look at the Google Document "Tracking Multiple Domains - Web Tracking (ga.js)", specifically "Tracking Across Multiple Domains and Sub-domains".

  • Thanks @initall looks like I just need the same code on both, with the same value for '_setDomainName' and true for '_setAllowLinker' ? – Jake N Jan 29 '13 at 11:36
  • You can relax to only _setDomainName('.example.com'). The _setAllowLinker is just for the examples where they link to and between different toplevel domains, as the cookie information (which is what setDomainName sets) is otherwise lost. – initall Jan 29 '13 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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