What Data Is Collected
The browser SDK records breadcrumbs automatically for page navigation, clicks, failed
fetch
responses, and console.error / console.warn calls, and sends them with events. Squasher does not
store breadcrumbs from Squasher SDKs today. Set enableAutoBreadcrumbs: false to stop the SDK from
recording them. Set replay: { enabled: false } to stop session replay, or
replay: { privacy: { maskAllText: true } } to mask all page text and typed input. See
Session replay.
PII Scrubbing
Squasher masks some secret values automatically:- For SDK events sent to
https://ingest.squasher.ai, Squasher replaces the value of eachattributesorextrakey that containsauthorization,cookie,password,secret,token, orapi_keyas a separate part of the key name (for examplepasswordorauth.token) with[REDACTED]. withHttpRequest()in the Node SDK removes the query string from the request URL. It also masks each header whose name contains a word such asauthorization,cookie,token,secret, orpassword, and it masks bearer tokens, JWTs, API keys, and email addresses in other header values.
beforeSend to change or drop an event before the SDK sends it. The Node, browser, and edge
SDKs accept beforeSend: (event) => event | null. Return null to drop the event.
Data Retention
Retention depends on the plan and the data type. See Retention and the organization Billing page in your dashboard for the current values.AI Triage & Your Data
When AI triage runs, the model reads the error group summary: error type, title, level, environment, service, event count, first and last seen times, and status. Triage does not read individual events, so user context, request data, and breadcrumbs are not sent to the model. Squasher sends the title without changes. Do not put personal data in error messages, or remove it withbeforeSend.