Search code examples
javascriptgoogle-analyticsgoogle-analytics-apisaas

Google analytics for saas platform


I've built a software that basically works as an CMS/Commerce for my clients. They point their domain address to my server and I take care of technical details and infra.

That said, I need a way of tracking Google Analytics for all my clients in a way that I can see client-individual info or consolidate (all domains). Considering the software is the same for all of my clients, they have the same url structure and functionalities.

I need to be able to get my overall conversion rate and compare it to one of my clients.

My approach was to change the tracker name like this

ga('create', 'UA-XXXXXXXX-1', 'client1');
ga('client1.send', 'pageview');

And than filter in the GA panel by client by tracker name or apply no filter and see consolidate data.

Is it possible? What am I missing?

I probably cannot afford to use multiple properties (distinct by client) because GA limits 50 properties by account. My goal is to reach many times this limitation.

Keep in mind that I'm dealing with multiple domains.

Thanks!


Solution

  • This topic got solved by using Google Analytics custom dimensions.

    https://support.google.com/analytics/answer/2709828