Web analytics for custom events platform

I am creating a platform that creates websites. Think Wordpress.com as an example. Each site will be a subdomain of my domain, for example abc.mydomain.com or xyz.mydomain.com.

I have several analytics requirements that I could not satisfy everyone:

  • I would like to see statistics for individual sites, as well as aggregate statistics for all sites.
  • I would like to track user events, for example, how many were made by users.
  • I would like to support any number of subdomains.
  • I would like to provide my clients with limited access to see data only on my site.
  • I would like to be able to install all this automatically, ideally through the API, when a new site is created.

I know that with the help of Google Analytics you can create filters and profiles that can solve 3) and / or 4), but I do not think that this is displayed through the API. And I believe that there is a restriction on 50 profiles.

Also, if I can’t satisfy 4), I probably can’t use Google Analytics at all, as my clients will most likely want to use it, and I don’t think you can run two GA trackers at the same time. However, I would happily donate 4) if others were satisfied, as customers could still use their own GA account.

Of course, I can simply create a cron script to analyze various databases and log files, but I hope not to reinvent the wheel. In addition, I would skip all the beautiful graphics and additional features that most services have.

?

.

+2
2

youcalc.com, google analytics api, .

0

Google Analytics ? Google Analytics, , .

0

Source: https://habr.com/ru/post/1702612/


All Articles