Open AbhiPrasad opened 3 months ago
Platform/SDK
JavaScript SDKs
We should better document how our sdks interact with cookies/localstorage/sessionstorage, as it's a frequent privacy concern for our users.
The basic gist is:
no sdk ever sets cookies
sdks may get cookies to attach to events as debugging context with opt-in integrations + sendDefaultPii true
sendDefaultPii
https://docs.sentry.io/platforms/javascript/configuration/integrations/httpclient/ sends cookie data
Replay uses sessionstorage
sessionstorage
Offline integration uses localstorage
localstorage
Routing to @getsentry/product-owners-sdks-web-frontend for triage ⏲️
Core or SDK?
Platform/SDK
Which part? Which one?
JavaScript SDKs
Description
We should better document how our sdks interact with cookies/localstorage/sessionstorage, as it's a frequent privacy concern for our users.
Suggested Solution
The basic gist is:
no sdk ever sets cookies
sdks may get cookies to attach to events as debugging context with opt-in integrations +
sendDefaultPii
truehttps://docs.sentry.io/platforms/javascript/configuration/integrations/httpclient/ sends cookie data
Replay uses
sessionstorage
Offline integration uses
localstorage