matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.93k stars 2.66k forks source link

[Piwik Apps in Cloudflare] Define Piwik ID separately for different sub-domain #13283

Open andre1502 opened 6 years ago

andre1502 commented 6 years ago

Piwik Apps in Cloudflare are quite good and easy to set without changes anything inside the code. Hopefully it can have another improvement where it's also can define Piwik ID separately for different sub-domain on same domain.

Thanks.

sgiehl commented 6 years ago

I'm not able to help here. maybe @tsteur can answer thisone

tsteur commented 6 years ago

Looking at https://www.cloudflare.com/apps/developer/docs/install-json/options it looks possible to configure a list of fields where users could then define one or multiple subdomains, and if the current subdomain matches a configured subdomain to use a different idSite. It's not really on the roadmap right now though.

Not sure re cloudflare: Can you set them up in cloudflare as different apps?

andre1502 commented 6 years ago

Hi @sgiehl and @tsteur,

Thanks for your reply.

Not sure re cloudflare: Can you set them up in cloudflare as different apps?

I already try and Cloudflare doesn't allow install same apps more that once in one instance. So, as currently no luck, please do consider this improvement in your next roadmap (I hope it won't too long).

Or anything I can help to work on this project? But maybe in the end you will still need time to check and merge the submit.

Thanks once again.

acrogenesis commented 4 years ago

I know this is old but it would be nice to have this.