Files
zeekayandHanzo Dev 20e77c02a5 feat(web): the ONE /v1/event door replaces the Umami tag
The <script src="analytics.hanzo.ai/script.js" data-website-id> tag in
public/index.html talked to a read LENS instead of the one ingestion front door,
so the console could only ever produce pageviews — no errors, no product events.
@hanzo/event POSTs api.hanzo.ai/v1/event, which Cloud fans server-side into the
web (analytics), product (insights) and error (sentry) lenses; Cloud resolves
the tenant, so there is no website id to keep in sync.

Being in the bundle rather than the document also buys what a tag cannot: a
pageview per client-side route change, window.onerror + unhandledrejection +
a React ErrorBoundary on the same stream (no separate DSN), and identify() by
the account's stable id — never email or any other PII. Global Privacy Control
/ Do-Not-Track disables the client outright.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-25 13:49:13 -07:00

43 lines
1.7 KiB
Go

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Hanzo Cloud - AI Infrastructure Platform"
/>
<link rel="apple-touch-icon" href="https://cdn.hanzo.ai/img/hanzo-cloud.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="https://cdn.hanzo.ai/site/cloud/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Hanzo Cloud</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>