Privacy by design: no product analytics in the web app
## What it is for
What it is for
HeyBug does not track how people use the web app. There is no product analytics, no advertising tracker and no session recording. This page states that decision and shows how to check it yourself, in a browser or in the repo. Use it for a security review, a procurement form or your own audit.
The page covers the web app and the CLI.
What the web app stores
The page loads only scripts from its own origin (see web/index.html). Everything the app writes is listed here. Nothing in the list identifies you for analytics.
| Name | Where | Set when | Purpose |
|---|---|---|---|
ot_session | Cookie | You sign in | Keeps you signed in. HttpOnly, SameSite=Lax, path /. |
ot_oauth | Cookie | You start sign-in with a provider | Holds the sign-in flow. Expires after 10 minutes, and is cleared when the callback runs. |
ot-theme, ot-density | localStorage | You change theme or density | Display choice. |
ot.rail.collapsed | localStorage | You collapse the side menu | Menu state. |
ot:palette-recent | localStorage | You use the command palette | Recent commands. |
ot.changelog.seen | localStorage | You open the updates panel | When you last saw updates. |
heybug.sessionEnded | sessionStorage | Your session ends | Shows the signed-out notice once. |
ot.billing-banner.dismissed | sessionStorage | You dismiss the billing notice | Hides it for this tab. |
ot-plan-group:<title> | sessionStorage | You open or close a use-case group in a plan | Remembers the group for this tab. |
The app does not read or write document.cookie directly. It makes no requests to other hosts. Links such as the GitHub link in the footer are only followed when you click them.
What the CLI collects
- Telemetry is off by default.
heybug telemetry statusshows your choice. DO_NOT_TRACK=1andHEYBUG_TELEMETRY=0always turn it off, whatever you chose.heybug telemetry enableanddisableonly save your choice to~/.heybug/telemetry(file mode 0600). The command itself sends nothing.
Steps to check in the browser
- Open HeyBug and sign in. The sign-in page works too, before you sign in.
- Open developer tools (F12, or Cmd+Option+I on macOS) and go to the Network tab.
- Reload the page. Turn on the Domain column (right-click the column header). Every row should show your HeyBug host.
- Open the Application tab (Storage in Firefox), then Cookies. After sign-in,
ot_sessionis the only cookie you should see.ot_oauthappears only while a provider sign-in is in progress. - Open Local Storage and Session Storage. Compare the keys with the table above. A key that is not in the table is worth reporting.
- Open the page source (Ctrl+U). The script tags should all point to paths on your HeyBug host.
Working example
Run these from a clone of the repo. Each check should print what is described below it.
# Expect exactly two lines, both same-origin paths (/theme-boot.js and /src/main.tsx).
grep -n "<script" web/index.html
# Expect no output: no absolute URLs in the HTML shell.
grep -niE "https?://" web/index.html
# Expect no output: no fetch or WebSocket to another host, and no direct cookie access.
grep -rnE "fetch\(['\"\`]https?:|new WebSocket|document\.cookie" web/src
# Telemetry state. Expect "Telemetry is off." then "Telemetry is off (DO_NOT_TRACK is set)."
heybug telemetry status
DO_NOT_TRACK=1 heybug telemetry enableWhen it fails
- A request goes to another host, or a script tag points off-site. Note the host, the page address and the time. Report it at https://github.com/heybug/heybug/issues. This contradicts the privacy notice at
/legal/privacy, so treat it as a bug. - A grep check prints a match. Do not merge the change. A new script or a request to another host needs owner review before it ships, because the privacy notice says there are no trackers.
- Storage holds a key that is not in the table. Report the key name, not its value, using the same issue link.
heybug telemetry statussays telemetry is on and you did not turn it on. Runheybug telemetry disable, then check the file in~/.heybug/. If the state comes back, report it with the output.heybug: command not found. Install the CLI first. See Getting started.
Related
- Privacy notice: the customer-facing version of this decision.
- Troubleshooting: general help when a page or command misbehaves.