Skip to content

What is collected

Every kind of data Sypnia receives from your app and its users, which of it is personal data, where it is kept in the browser, and what Sypnia never collects.

Applies to EngineCloud
View as Markdown
On this page
  1. From the browser
  2. About the visit
  3. About the person, only if your app sends it
  4. About what they did
  5. About how the app behaved
  6. Replay recordings and page snapshots
  7. From your server
  8. Database error details
  9. From uptime checks
  10. What is kept in the person’s browser
  11. What Sypnia never collects
  12. What the agent reads
  13. Sypnia Cloud: data about you, the customer
  14. What is yours to do
  15. Engine and Cloud
  16. Example: one checkout, what Sypnia holds

This page is for whoever must know, or explain to others, what Sypnia takes from an app. Collection happens in the SDKs, which are the same for the open-source engine and Sypnia Cloud. The difference is where the data then lives: on your own infrastructure, or on ours. See Data location and retention.

Three rules shape everything below:

  1. What a person types is never collected. Not in events, not in replays.
  2. Masking happens in the browser, before anything is sent.
  3. Sypnia collects how the app behaved, not the content your app exchanged with its server: no request bodies, and no response bodies, with two exceptions, both about failures. In the browser, the code and the start of the message of a failed API call. On your server, the code and the full message of a database call that returned an error, which is on by default and can contain personal data: see Database error details.

From the browser

About the visit

DataDetailPersonal data?
Session idA random id for the visit.Not on its own.
Device idA random id the SDK keeps in the browser, to tell devices apart across visits.It singles out a browser, not a named person.
Browser, operating system, screen size, time zoneSent once when a session starts. The browser and the operating system are read from the browser’s user agent.Not on their own.
Viewport size, device class, the page’s languageSent with each event.No.
The page the person came fromIts address and path, without the query.Rarely.
Pages visitedThe path only: no domain, no query, no hash. The path is stored as it is, so /orders/8841 keeps its id. Routes, used for grouping, replace ids with :id.It can be, if your paths contain names or personal ids.
Time on each page and scroll depthNo.

About the person, only if your app sends it

Sypnia does not know who anyone is unless your app says so with identify().

DataDetailPersonal data?
Person idThe id your app chooses. Use your internal user id.Yes.
Name and e-mailOptional. Stored only if your app sends them.Yes.
Account id and nameOptional. The team or company the person belongs to in your app.It can be.

Names and e-mails travel in one event, sent when your app calls identify(). Every other event carries the two ids and nothing else about the person.

If your app never calls identify(), every session stays anonymous and still works. See Identifying people.

You can delete one person at any time. They leave every list at once, and everything stored about them, the raw event files included, is gone within 24 hours. See Deleting data.

About what they did

DataDetailPersonal data?
ClicksThe element, its label (the control’s accessible name or visible text, up to 80 characters), what kind of control it is, where on the page it sits, and the position of the click. Never the value of a field.The label can be, when the control’s text is a name. Elements inside a masked area have no label, and no element has one when all text is masked.
Rage clicks and dead clicksThe same as a click.The same.
Form failuresThe label of the field the browser refused, and the reason. Never what was typed.No.
Custom eventsThe name and the properties your code sends.Whatever you put in them. Do not put personal data there.

About how the app behaved

DataDetailPersonal data?
ErrorsName, message (up to 500 characters) and stack (up to 4,000). E-mail addresses in them are replaced by [email] before they are sent.The message can be, if your code puts other personal data in error messages.
Requests to your APIMethod, route, status, duration, trace id. For a failed call, the error code and the first 160 characters of the error message your API returned, with e-mail addresses replaced by [email]. You can switch that detail off.The error message can be.
Performance measurementsValues, and a selector for the element behind them. The selector never contains text.No.

Replay recordings and page snapshots

A recording holds the structure of the page and every change to it, the mouse’s movement, clicks and scrolls.

On the pageIn the recording
Text shown on the pageRecorded as shown, unless you mask it. This includes names, amounts and anything else your app displays.
What a person typesNever. Each character is replaced by an asterisk.
The content of password, card and one-time-code fieldsNever, and this cannot be changed.
Frames (iframe, frame, object, embed), videos, canvasNot recorded, nor anything inside a frame.
ImagesNot copied: only their address.

A page snapshot, used to draw click maps, is one copy of a page’s structure with the same rules.

Because page text is recorded as shown, replays are personal data whenever your pages show personal data. Masking explains how to hide areas, or all text.

From your server

DataDetailPersonal data?
SpansFor each request, database call and call to another service: name, kind, timing, status and a limited set of attributes, such as the route, the status code or the name of a table.Rarely.
Server errorsName, message and stack, including what your code writes to console.error while it handles a request. The message of a failed service call is redacted before it leaves your server: e-mail addresses, URLs, UUIDs, quoted values, long tokens and every run of digits are replaced. A database’s error message is not redacted: see below.The message of an exception or of a log line can be.
Database error detailsWhen a database call returns an error: the database’s code and its full message, values included. On by default.It can be: whatever the database put in its message.
Person and accountThe ids only (user.id, sypnia.account.id): a name or an e-mail passed to identify() on the server is not sent. A request that comes from an identified browser session gets its person from the session. Your server code sets them only for requests with no browser session, such as calls from a mobile app.Yes.

The server SDKs send spans in the OpenTelemetry protocol (OTLP); every attribute they set is listed in the semantic conventions. They do not collect request bodies, the answers of calls that succeeded, cookies, headers or environment variables, and never send query strings, full URLs or SQL text (url.query, url.full, db.query.text), which ingest also drops from any other sender. Attributes whose name contains authorization, cookie, password, secret or token are dropped at ingest, including those sent through OpenTelemetry. With OpenTelemetry, you decide which attributes your exporter sends; see OpenTelemetry.

Database error details

This is the one answer the server SDKs read, and it is on by default.

  • What is read. When a database call returns an error, what the database said: for Supabase and PostgREST, the first 4 KB of the answer, from which the SDK keeps code, message, details and hint; for pg, the error’s SQLSTATE, message, detail and hint. The answers of calls that succeeded are never read.

  • What is kept. The code, and the message exactly as the database wrote it, values included, up to 2,000 characters, as the attribute sypnia.db.message and, when the call failed, as the span’s status message. The detail and the hint follow the message on lines of their own (Detail: …, Hint: …), and the detail is where a database writes the values. Nothing in it is replaced: a sign-up with an e-mail that already has an account arrives as

    Text
    duplicate key value violates unique constraint "users_email_key"
    Detail: Key (email)=(maria@example.com) already exists.

    with the e-mail.

  • It may contain personal data. A database puts values in its messages: an e-mail, a name, an amount, an id from the call that failed. Those values are stored with the trace and the problem, kept for the project’s retention, seen by everyone who can read the project, and, after the agent’s redaction of e-mails, long numbers and tokens, part of what the analysis reads.

  • Why it is on by default. The exact message, with its value, is what tells you exactly what failed. Cutting the values out would leave you guessing.

  • How to turn it off. captureDbErrors: false in the init of @sypnia/telemetry/node, or in withSypnia’s server option for Next.js. Then no answer is read: a failed database call keeps its status or its SQLSTATE, which holds no value, and no message. See Database error details.

From uptime checks

Nothing about people. A check stores whether your address answered, its status code and how long it took.

What is kept in the person’s browser

The browser SDK keeps three small things in the browser’s local storage, for your site only: the device id, the current session, and whether this session is being recorded. If a person opts out, it keeps a fourth: the note that says so. The person’s id, name and e-mail are never stored in the browser; after identify() the session keeps a short hash of the id, not the id itself, so that a different sign-in starts a new session. It sets no cookies, loads nothing from other companies, and cannot follow a person from your site to another.

What Sypnia never collects

  • What a person types, in any field. There are no keystroke events.
  • Passwords, card numbers, security codes and one-time codes.
  • Request bodies, the answers of calls that succeeded, cookies and headers. (The two exceptions, both about failures, are in the rules at the top of this page.)
  • The query and the hash of page addresses.
  • Sign-in tokens in links: the parameters access_token, refresh_token, token and code are removed from addresses inside recordings.
  • The content of frames (iframe, frame, object, embed), videos and canvases.
  • The clipboard, the camera, the microphone, files on the device.
  • A person’s location. Sypnia does not look up where an IP address is.
  • Advertising ids, or anything from other sites.

IP addresses. Like any server, ingest sees the address a request comes from. It is used to limit abuse and is not stored with events, sessions or people. On Sypnia Cloud it appears in our servers’ request logs, which are kept for 30 days.

What the agent reads

The agent’s analysis reads events, stacks, traces and counts. It never reads replay recordings or typed input, and masked fields are not sent to it. Who the people are is not sent to the model either: no ids, names or e-mails, only counts. On Sypnia Cloud it runs on a model reached through OpenRouter, with the settings that forbid providers from keeping the data or training on it; on the engine, on the provider you configure. The exact list is in Models and what is sent.

Sypnia Cloud: data about you, the customer Cloud

Apart from your app’s data, Sypnia Cloud keeps what it needs to run your account: your name and e-mail address, your organization and its members, your plan and invoices, and a record of changes made in your organization. Card details go to the payment provider and are not stored by Sypnia.

What is yours to do

Sypnia gives you the tools; some decisions only you can make.

  • Tell your users. Your privacy notice should say that visits are recorded to find and fix problems.
  • Ask first where you must. If your users must agree before they are recorded, start the SDK only after they agree. See Privacy and masking.
  • Mask what is sensitive. Health data, documents, anything you would not want a colleague to read over a shoulder. For an app that is sensitive throughout, mask all text.
  • Keep personal data out of error messages, custom events and paths.
  • Identify with an id, and send names and e-mails only if you want to see them in Sypnia.

Engine and Cloud

The Sypnia engine and Sypnia Cloud compared
Sypnia engineOpen source, self-hostedSypnia CloudPaid service, with a free tier
What is collectedEverything on this page.The same, plus the account data above.
Where it goesYour own bucket and database. Sypnia, the company, receives nothing.Sypnia Cloud, on Amazon Web Services in the United States.
Who decides how long it is keptYou.Your plan, and you can delete sooner.

Example: one checkout, what Sypnia holds

For the customer who could not pay, Sypnia holds: a random session id and device id; that they used a desktop browser in English; that they opened /checkout, clicked the button labelled «Pay $64.00» five times, and left after 42 seconds; that POST /api/checkout answered 400 in 3,870 ms; the spans of that request; and a recording of the checkout page in which the order summary is readable and the card field holds only asterisks.

It does not hold: the card number, the customer’s address unless the page displayed it and you did not mask it, the body of the payment request, or the customer’s name, unless the shop identified them.

  1. From the browser
  2. About the visit
  3. About the person, only if your app sends it
  4. About what they did
  5. About how the app behaved
  6. Replay recordings and page snapshots
  7. From your server
  8. Database error details
  9. From uptime checks
  10. What is kept in the person’s browser
  11. What Sypnia never collects
  12. What the agent reads
  13. Sypnia Cloud: data about you, the customer
  14. What is yours to do
  15. Engine and Cloud
  16. Example: one checkout, what Sypnia holds

    Search pages, sections and terms