Description
Our approach is privacy first and we want to be transparent about that
sendDefaultPii is not the best API since it hides a lot of functionality behind one flag we are probably revisiting this in the future.
But until we have a better API, we want that sendDefaultPii: true will be added to the onboarding docs (in-product and docs) with a comment like:
Sentry.init({
dsn: "DSN",
// Adds request headers and IP for users,
// visit: https://docs.sentry.io/platforms/javascript/data-management/data-collected/ for more info
sendDefaultPii: true,
We know that what's not in onboarding docs is very hard to discover and the functionality provided by sendDefaultPii: true is something crucial for debugging your issues.
Each SDK should link to the specific docs added in #82.
Why should we be doing this?
To make it very clear to our users that this option exists and they can change the behavior in case they have privacy concerns.
Why now?
Because we had [INC-984] and we should be more deliberate what we do
Notion Document(s)
Related DACI: https://www.notion.so/sentry/DACI-user-ip_address-auto-behind-sendDefaultPii-true-1818b10e4b5d802f8938e894fd0348d5
Stakeholder(s)
@HazAT
Team(s)
Mobile, Web Backend, Web Frontend, GDX