Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Async Google Analytics works with multiple trackers just fine. However, I wonder if it will work as good in the following scenario.

We're developing a SaaS webapp where users can use custom domains (usual CNAME trick). More specifically, imagine http://customer-foo.example.com being a subdomain where customer-foo can access his data. Now this customer points a CNAME record of example.customer-foo.com to example.com. And here's a problem I see coming: we have a separate Google Analytics account to track usage across all "tenants", but it's set up to work on multiple subdomains of example.com.

How do I set up Google Analytics to correctly track visits on absolutely any domain?

share|improve this question
up vote 3 down vote accepted

Aha. Seems like Cross-Domain Tracking covers this topic, and this article covers it some more.

share|improve this answer
Anton,you can mark your answer as Accepted – Clay Nichols Jan 14 '14 at 15:28

Your Answer


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.