cordova-cli icon indicating copy to clipboard operation
cordova-cli copied to clipboard

Telemetry: Platforms and plugins usage and versions

Open janpio opened this issue 6 years ago • 5 comments

One very interesting thing to know would be the platforms and plugins being used/installed (including version). This would enable much better decisions on how to handle platform and plugin updates, but also what users are still using out there and thus has to be supported.

It would enable us to build similar graphs to https://datastudio.google.com/reporting/0B-Ja5cNOX_XLTElHdWd4V2NUem8/page/jfJF for platforms, individual versions of platforms, plugins in general, or versions of specific plugins (e.g. core plugins).

janpio avatar Sep 20 '18 17:09 janpio

Would this be a part of Cordova CLI telemetry or something else?

brody4hire avatar Sep 20 '18 17:09 brody4hire

One caution here is that lots of companies have private in-house plugins. We might want to only track install stats for plugins that are publicly available on npm (but I'm not sure how we'd do that)

dpogue avatar Sep 20 '18 17:09 dpogue

I had thought we would only want to track plugins maintained by Cordova itself.

Alternative may be to check the download statistics available on npm and GitHub.

brody4hire avatar Sep 20 '18 17:09 brody4hire

Would this be a part of Cordova CLI telemetry or something else?

Yes of course, additionally to the data that is already tracked.

One caution here is that lots of companies have private in-house plugins. We might want to only track install stats for plugins that are publicly available on npm (but I'm not sure how we'd do that)

Full agreement. Maybe just a list of defined core plugins as @brodybits suggested. Whatever is actually interesting for us.

Alternative may be to check the download statistics available on npm and GitHub.

Yes, that might be a workaround that already works.

janpio avatar Sep 20 '18 17:09 janpio

Turns out the download statistics from NPM are only for the plugin in general, not for the individual versions :( They have the data, but no API to access it.

janpio avatar Feb 17 '19 14:02 janpio