WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.58k stars 222 forks source link

Growth Metric #1562

Open adamziel opened 3 days ago

adamziel commented 3 days ago

Let's track Playground growth and share the stats publicly. Version 1 would involve measuring the number of started Playground sessions in any context (browser, node, desktop app etc.)

Done is

Technical considerations

This requires either:

bgrgicak commented 2 days ago

A decision not to track sessions started outside of the official Playground projects.

I prefer this option. We need to allow opt-out of telemetry/metrics data for sessions that are started outside of our project. The easiest solution is not to track.

Our data doesn't need to be perfect, it should cover all standard usage behaviors to help us spot trends.

bgrgicak commented 2 days ago

Should we start sending metrics to the new Playground server?

adamziel commented 2 days ago

@bgrgicak sending them to the new server implies we'll need to figure out wrangling and dashboarding the data. I'd prefer Google Analytics + "share this dashboard" for now, unless there's another canonical approach in WP.org.

bgrgicak commented 1 day ago

Sorry, I haven't explained my thoughts completely.

The current GA implementation is limited to the browser, but if we sent all analytics data to the Playground server we would get support for other Playground apps like CLI and remote.

In that case, the Playground server could be the starting point and data could be sent to another service. Today this is GA, but it could be anything else in the future. (GA seems to support sending events over HTTP.)