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?

1 Answer 1


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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