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?