Skip to Content
HeyBug docs
Security

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.

NameWhereSet whenPurpose
ot_sessionCookieYou sign inKeeps you signed in. HttpOnly, SameSite=Lax, path /.
ot_oauthCookieYou start sign-in with a providerHolds the sign-in flow. Expires after 10 minutes, and is cleared when the callback runs.
ot-theme, ot-densitylocalStorageYou change theme or densityDisplay choice.
ot.rail.collapsedlocalStorageYou collapse the side menuMenu state.
ot:palette-recentlocalStorageYou use the command paletteRecent commands.
ot.changelog.seenlocalStorageYou open the updates panelWhen you last saw updates.
heybug.sessionEndedsessionStorageYour session endsShows the signed-out notice once.
ot.billing-banner.dismissedsessionStorageYou dismiss the billing noticeHides it for this tab.
ot-plan-group:<title>sessionStorageYou open or close a use-case group in a planRemembers 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 status shows your choice.
  • DO_NOT_TRACK=1 and HEYBUG_TELEMETRY=0 always turn it off, whatever you chose.
  • heybug telemetry enable and disable only save your choice to ~/.heybug/telemetry (file mode 0600). The command itself sends nothing.

Steps to check in the browser

  1. Open HeyBug and sign in. The sign-in page works too, before you sign in.
  2. Open developer tools (F12, or Cmd+Option+I on macOS) and go to the Network tab.
  3. Reload the page. Turn on the Domain column (right-click the column header). Every row should show your HeyBug host.
  4. Open the Application tab (Storage in Firefox), then Cookies. After sign-in, ot_session is the only cookie you should see. ot_oauth appears only while a provider sign-in is in progress.
  5. Open Local Storage and Session Storage. Compare the keys with the table above. A key that is not in the table is worth reporting.
  6. 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 enable

When 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 status says telemetry is on and you did not turn it on. Run heybug 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.
  • Privacy notice: the customer-facing version of this decision.
  • Troubleshooting: general help when a page or command misbehaves.

On this page