---
title: "Data Collected"
description: "See what data is collected by the Sentry Cordova SDK."
url: https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected/
---

# Data Collected for Cordova

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 and build time of your application.

The category types and amount of data collected vary, depending on the integrations you've enabled in the Sentry SDK. This page lists data categories that the Sentry Cordova SDK collects.

You can always scrub any data before it's sent to Sentry. See [Scrubbing Sensitive Data](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/sensitive-data.md) for more information.

## [HTTP Headers](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#http-headers)

By default, the [HttpContext integration](https://docs.sentry.io/platforms/javascript/guides/cordova/configuration/integrations/httpcontext.md) sends the `User-Agent` and `Referer` headers of the current page to Sentry.

## [Information About Logged-in User](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#information-about-logged-in-user)

By default, the Sentry SDK doesn't send any information about the logged-in user, such as email address, user ID, or username. User information is only sent if you set it with [`Sentry.setUser()`](https://docs.sentry.io/platforms/javascript/guides/cordova/apis.md#setUser).

## [Users' IP Address](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#users-ip-address)

If you set the `ip_address` of the user to `"{{ auto }}"` with [`Sentry.setUser()`](https://docs.sentry.io/platforms/javascript/guides/cordova/apis.md#setUser), Sentry will infer the IP address from the connection between your app and Sentry's server.

To ensure your users' IP addresses are never stored in your event data, you can go to your project settings, click on ["Security & Privacy"](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/security-and-privacy/), and enable "Prevent Storing of IP Addresses" or use Sentry's [server-side data scrubbing](https://docs.sentry.io/security-legal-pii/scrubbing.md) to remove `$user.ip_address`.

## [Request URL](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#request-url)

By default, the HttpContext integration sends the URL of the current page to Sentry. Breadcrumbs for outgoing `fetch` and XHR requests include the full request URL, including the query string.

## [Request and Response Bodies](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#request-and-response-bodies)

The Sentry SDK doesn't send request or response bodies.

## [Source Context](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#source-context)

By default, SDKs set up by the Sentry CLI Wizard (`@sentry/wizard`) will enable uploading source maps to Sentry.

To disable source map upload, see [the Source Maps documentation](https://docs.sentry.io/platforms/javascript/guides/cordova/sourcemaps.md).

## [Local Variables In Stack Trace](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#local-variables-in-stack-trace)

The Sentry SDK doesn't send local variables in JavaScript stack traces.

## [Device, OS and Runtime Information](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#device-os-and-runtime-information)

By default, the Sentry SDK sends information about the device, operating system, and runtime to Sentry. When the native SDK is enabled, this information is collected by the native iOS or Android SDK. Otherwise, it's obtained from the User Agent string.

## [Console Logs](https://docs.sentry.io/platforms/javascript/guides/cordova/data-management/data-collected.md#console-logs)

By default, the Sentry SDK sends console logs to Sentry as breadcrumbs, which may contain PII data.

To disable sending console messages, set the `console` option of the [Breadcrumbs integration](https://docs.sentry.io/platforms/javascript/guides/cordova/configuration/integrations/breadcrumbs.md) to `false`.
