mirror of
https://github.com/luxfi/financial.git
synced 2026-11-02 13:41:54 +00:00
This site had no telemetry of any kind: we could not say how many people reached it, which products they read about, or whether anything we publish finds an audience. It is one of seven Lux surfaces being wired to our own analytics so that traffic lands in a stream we own and can read. Telemetry goes through @hanzo/event, the same client every other Hanzo surface uses, posting to /v1/event. No third-party tag, no vendor loader. The provider wraps the client layout so every route is covered: it counts the first load, and because App Router navigations keep it mounted, the pageview hook counts the route changes after that. The ingest key is publishable and write-only, so it belongs in the bundle the way a Stripe publishable key does. It is what files the traffic under our org; without it events land in a shared public tenant we cannot read back. A tenant rebuilding this site white-label points telemetry at their own org with NEXT_PUBLIC_HANZO_INGEST_KEY, alongside the brand override. Do Not Track and Global Privacy Control are honoured here rather than in the SDK, which does not read them. Also deletes five files under public/images/integrations. They are named .png but are saved HTML pages carrying a Google Tag Manager snippet, and nothing in the site references them. We do not ship someone else's tag next to our own analytics.