Repository navigation
docs(sdk): SDK data inventory for App Privacy / Play Data safety (O20) - #816
Merged
Merged
Conversation
…acy labels Public /docs/sdk-privacy page for Apple App Privacy and Google Play Data safety, verified against current SDK and ingest code. Draft for founder review of every privacy claim before merge.
unjica
marked this pull request as ready for review
October 19, 2026 07:39
added 2 commits
October 19, 2026 09:43
Keep the O20 cross-link above the numbered Install steps from O22.
This was referenced Oct 19, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft docs page
/docs/sdk-privacylisting what the browser and React Native SDKs collect/send, with proposed Apple App Privacy and Google Play Data safety mappings.Do not merge until Sanja approves every privacy claim below.
Related: #470 (scrub shipped), #476 (custom regex open). No new issues.
Privacy claims checklist (approve each line)
ingestUrl+ paths/ingest/error|event|batch|session—packages/telemetry-core/src/index.ts:114,:161-162,:188,:463-474,:515-518,:626.Authorization: Bearer(or X-API-Key); Content-Type JSON; no cookies —packages/telemetry-core/src/index.ts:441-448.anonymous_idis a random UUID; browsers persist it inlocalStoragekeytacko_telemetry_anon_id—packages/telemetry-core/src/index.ts:47,:86-103.session_id,user_id,user_email,anonymous_id,sdk_version,country,device_browser,device_os,started_at,ended_at—packages/telemetry-core/src/index.ts:165-182.user_id/user_emailare set only via optionalidentify—packages/telemetry-core/src/index.ts:420-424.message, optionalstack/context, optionaluser_id/session_idplus envelope fields —packages/telemetry-core/src/index.ts:626-631.window.onerrorandunhandledrejection—packages/telemetry-core/src/index.ts:304-365.ErrorUtilsglobal handler; JS-only (no native crash reporter) —packages/telemetry-react-native/src/index.ts:34-65.@telemetry-tracker/core+ peerreact-native(adds no OS permissions / no native module) —packages/telemetry-react-native/package.json:36-41.device_browser/device_os) and locale-derivedcountry(not GPS) —packages/telemetry-core/src/device-context.ts:3-7,:27-50.webVitals !== false) —packages/telemetry-core/src/index.ts:388-391,:410-413.piiScrubis opt-in (default off when omitted/false) —packages/telemetry-core/src/index.ts:127-132,:527-531.packages/telemetry-core/src/pii-scrub.ts:25-26,:84.TELEMETRY_INGEST_PII_SCRUB—docs/PII-SCRUBBING.md:1-3,:30.createOnRequestErrorstrips query/hash from path and does not copy request headers —packages/telemetry-next/src/server.ts:19,:119-123.ErrorOccurrence/Event/SessionPrisma models have no IP column; IP used for rate limiting viaclientIpKeyGenerator—apps/api/prisma/schema.prisma:575-599,:627-649,:651+;apps/api/src/lib/client-ip.ts:64-88.docs/PII-SCRUBBING.md:22(and absence of breadcrumb APIs in core).apps/dashboard/app/docs/sdk-privacy/page.tsx(What we do not claim).device-context.ts:27-35.Test plan
/docs/sdk-privacyafter preview deploy (optional)