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

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.mysaasapp.com being a subdomain where customer-foo can access his data. Now this customer points a CNAME record of mysaasapp.customer-foo.com to mysaasapp.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 mysaasapp.com.

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

share|improve this question

1 Answer 1

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 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.