whisper-money/resources/js
Víctor Falcón 448bb2e64a
feat(posthog): route analytics through reverse proxy (#463)
## What

Route PostHog through the managed reverse proxy at `t.whisper.money` to
dodge ad blockers and keep analytics first-party.

We use the **JS library method** (`posthog-js` in
`resources/js/lib/posthog.ts`), so only that init needed changes — no
snippet.

## Changes
- `api_host` default → `https://t.whisper.money` (proxy domain)
- Add `ui_host` (default `https://eu.posthog.com`) so dashboard links
resolve back to PostHog correctly
- Both stay env-overridable: `VITE_POSTHOG_HOST`, new
`VITE_POSTHOG_UI_HOST`
- Update `.env.example`

## Test
- `posthog.test.ts` passes
- format + lint clean (one pre-existing unrelated warning)
2026-06-01 09:29:30 +02:00
..
components feat(accounts): show 50 transactions per page and link to full list (#459) 2026-05-30 18:48:21 +02:00
contexts Move transaction filtering from client-side to server-side (#126) 2026-02-16 12:49:04 +01:00
hooks feat(cashflow): add savings and period views (#424) 2026-05-25 16:41:00 +02:00
layouts feat(open-banking): remove feature flag gating (#297) 2026-04-17 10:20:05 +02:00
lib feat(posthog): route analytics through reverse proxy (#463) 2026-06-01 09:29:30 +02:00
pages fix(register): don't block signup on unrecognized browser timezone (#462) 2026-06-01 09:03:15 +02:00
providers fix: move community link to user menu (#442) 2026-05-27 17:39:26 +02:00
services feat(transactions): add counterparty fields (#440) 2026-05-27 16:20:55 +02:00
types feat(transactions): add counterparty fields (#440) 2026-05-27 16:20:55 +02:00
utils fix(accounts): translate update button in edit account modal (#455) 2026-05-30 16:09:30 +02:00
app.tsx fix: filter Safari cashback extension errors (#447) 2026-05-28 15:10:49 +02:00
ssr.tsx Remove plaintext-transactions feature flag & E2E references (#116) 2026-02-13 11:10:21 +01:00