website/docs/architecture/external-analytics.md
MCP for Unity tracks adoption with several aggregate signals, ordered from most to least honest about real users:
Server/src/core/telemetry.py). Surfacing it on this dashboard needs a read API on the Coplay telemetry backend.mcpforunityserver from the public pypistats.org API. Heavily inflated by CI, mirrors, uvx re-fetches, and Docker rebuilds — an install-event reach number, not a user count. A downloads badge appears in the README.All sources are cookieless, store no personal data, and expose only aggregates. The DAU/WAU source is the in-product telemetry that runs inside the Unity Editor and is controlled by the user from the MCP for Unity settings window.
.github/workflows/stats.yml) runs daily at 06:00 UTC, and on demand via Run workflow.website/scripts/fetch-stats.mjs fetches PyPI recent-download counts and, when GoatCounter secrets are present, the total pageview count.$GITHUB_STEP_SUMMARY.Stars, forks, and PyPI numbers work out of the box. The two highest-signal rows need setup:
Unique repo cloners / viewers (GitHub traffic):
CoplayDev/unity-mcp with Repository permissions → Administration: read (the traffic API requires it; the default GITHUB_TOKEN returns 401/403).STATS_GITHUB_TOKEN.In-product DAU / WAU (the true active-user count):
Server/src/core/telemetry.py (deduplicated per anonymous install UUID) and POSTed to the Coplay telemetry backend. Surfacing it here needs a read / aggregate API on that backend plus a token — back-end work owned by Coplay. Once available, add a COPLAY_STATS_TOKEN secret and a fetch in fetch-stats.mjs.Docs traffic (GoatCounter):
mcp-for-unity); keep its dashboard private.GOATCOUNTER_TOKEN (token) and GOATCOUNTER_SITE (site code), and an Actions variable GOATCOUNTER_CODE (same site code) so the docs build injects the cookieless beacon — collection happens on the public site, the numbers stay private.Then run Actions → Adoption stats → Run workflow. The stats workflow needs only contents: read — it posts to the run summary and never commits.