Skip to content

Add data collected page for KMP #13485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,28 @@ Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-uti

</ConfigKey>

<ConfigKey name="send-default-pii">

If this flag is enabled, certain personally identifiable information <PlatformLink to="/data-management/data-collected/">(PII)</PlatformLink> is added by active integrations. By default, no such data is sent.

<Alert>

If you are using Sentry in your mobile app, read our [frequently asked questions about mobile data privacy](/security-legal-pii/security/mobile-privacy/) to assist with Apple App Store and Google Play app privacy details.

</Alert>

<Alert>

This options is available since SDK version `0.13.0`

</Alert>

This option is turned off by default.

If you enable this option, be sure to manually remove what you don't want to send using our features for managing [_Sensitive Data_](../../data-management/sensitive-data/).

</ConfigKey>

<ConfigKey name="debug">

Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always `false`. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Data Collected
description: "See what data is collected by the Sentry SDK."
sidebar_order: 1
---

Sentry takes data privacy very seriously and has default settings in place that prioritize data safety, especially when it comes to personally identifiable information (PII) data. When you add the Sentry SDK to your application, you allow it to collect data and send it to Sentry during the runtime of your application.

The category types and amount of data collected vary, depending on the integrations you've enabled in the Sentry SDK. By default the Kotlin Multiplatform SDK will collect data as specified by the used native SDKs.

Many of the categories listed require you to set <PlatformLink to="/configuration/options/#send-default-pii">`sendDefaultPii: true`</PlatformLink> in your `Sentry.init` config.

<Alert>

The `sendDefaultPii` option is available since KMP SDK version `0.13.0`.

</Alert>

Read the documentation of the native SDKs for more details.
- [Apple](/platforms/apple/data-management/data-collected/)
- [Android](/platforms/android/data-management/data-collected/)
- [Java](/platforms/java/data-management/data-collected/)