Data Collection

Types of data collected by the SDK.

Data collection can be disabled at the SDK level to prevent the collection of any data (with the exception of the data collection opt-in status). Disabling data collection disables all features of the SDK.

Data collected in the SDK

 Note

The data collected in the SDK is not used to track users across apps.

Any feature enabled

If any feature is enabled, the SDK will collect and send the following data:

  • Channel ID
  • Locale
  • TimeZone
  • Platform
  • Opt in state (push and notifications)
  • SDK version
  • Accengage Device ID (Accengage module for migration)

In-app automation enabled

In addition to the default data collection when any feature is enabled, In-App Automation will also collect:

  • App Version (App update triggers)

Message center enabled

In addition to the default data collection when any feature is enabled, Message Center will also collect:

  • Message Center User
  • Message Reads & Deletes

Push enabled

In addition to the default data collection when any feature is enabled, push will also collect:

  • Push tokens

Chat enabled

In addition to the default data collection when any feature is enabled, Airship Chat will also collect:

  • User messages

Analytics enabled

In addition to the default data collection when any feature is enabled, analytics will also collect:

  • Events
  • Associated Identifiers
  • Registered Notification Types
  • Time in app
  • App Version
  • Device model
  • Device manufacturer
  • OS version
  • Carrier
  • Connection type
  • Framework usage

Tags and attributes enabled

In addition to the default data collection when any feature is enabled, tags and attributes will also collect:

  • Channel and Contact Tags
  • Channel and Contact Attributes

Contacts enabled

In addition to the default data collection when any feature is enabled, contacts will also collect:

  • External ids (named user)

Location enabled

In addition to the default data collection when any feature is enabled, location will also collect:

  • Location permissions
  • Collect location for the app (Airship no longer supports uploading location as events)

Disabling data collection on the React-native platform requires setting configurations files for both the iOS and Android native SDKs.

Config Instructions

Data collection can be disabled at the native SDK level by following the platform-specific data collection guides:

Opting In: Data Collection

Restoring full Airship functionality by opting back into data collection can be accomplished with the following call:

  UrbanAirship.setDataCollectionEnabled(true);

Excluding Push from Opt-out

By default, push functionality will also be disabled when data collection is disabled. However, you can override this behavior with the following call:

   UrbanAirship.setPushTokenRegistrationEnabled(true);