You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`umami.ts`| JWT (username/password login) | Page views, visitors, referrers, countries, download events for veszelovszki.com, getcmdr.com, and getprvw.com|
44
44
|`cloudflare.ts`| Bearer token (via `LICENSE_SERVER_ADMIN_TOKEN`) | Download counts, active users by version/arch/country — fetched from worker endpoints (`/admin/downloads`, `/admin/active-users`) |
45
45
|`paddle.ts`| Bearer token, cursor pagination | Completed transactions, subscriptions by status |
46
46
|`github.ts`| Optional Bearer token | Release download counts per asset; star history (daily + cumulative) for cmdr and mtp-rs via stargazers API with pagination |
@@ -59,7 +59,8 @@ Auto-deploys to Cloudflare Pages on push to `main` when files in `apps/analytics
59
59
60
60
- Create CF Pages project `cmdr-analytics-dashboard` in the CF dashboard (or `wrangler pages project create`)
61
61
- Add `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` to GitHub repo secrets (for wrangler deploy)
62
-
- Set all env vars below as CF Pages secrets (via `wrangler pages secret put` or CF dashboard)
62
+
- Set all env vars below as CF Pages secrets (via `wrangler pages secret put` or CF dashboard). Remember to add
63
+
`UMAMI_PRVW_WEBSITE_ID` when deploying.
63
64
- Configure custom domain `analdash.getcmdr.com` in CF Pages settings
64
65
- Set up Cloudflare Access policy for `analdash.getcmdr.com` in the CF dashboard
65
66
@@ -74,6 +75,7 @@ All set as CF Pages secrets, never in code.
74
75
|`UMAMI_PASSWORD`| Existing Umami credentials |
75
76
|`UMAMI_WEBSITE_ID`| getcmdr.com website ID |
76
77
|`UMAMI_BLOG_WEBSITE_ID`| veszelovszki.com website ID (env var name kept for CF secrets compatibility) |
78
+
|`UMAMI_PRVW_WEBSITE_ID`| getprvw.com website ID |
77
79
|`PADDLE_API_KEY_LIVE`| Live API key (not sandbox) |
78
80
|`POSTHOG_API_KEY`| Personal `phx_...` key (not the public `phc_...` project key) |
79
81
|`POSTHOG_PROJECT_ID`|`136072`|
@@ -93,7 +95,10 @@ aggregate numbers. A true funnel would require cross-site user identity tracking
93
95
94
96
-**Gold (`#ffc206`)**: getcmdr.com / vdavid/cmdr — the primary product
95
97
-**Purple (`#a78bfa`)**: vdavid/mtp-rs — the library repo
96
-
-**Autumn green (`#8faa3b`)**: veszelovszki.com — David's personal site These colors are used in metric dots, chart
98
+
-**Autumn green (`#8faa3b`)**: veszelovszki.com — David's personal site
99
+
-**Cyan (`#22d3ee`)**: getprvw.com — Prvw product site
100
+
101
+
These colors are used in metric dots, chart
97
102
strokes, and chart fills. Keep them consistent when adding new UI.
98
103
99
104
**Decision**: Single page, not multi-page. **Why**: Only six sections. Scroll is simpler than navigation.
0 commit comments