Snowplow

Snowplow helps you track all events across all channels to give you an up-to-the-minute view of user behaviors. With the Urban Airship Connect integration you will have access to all your mobile data in addition to any other data you want to collect via Snowplow. This enables you to have complete control over your data warehouse. Amazon Redshift is used so your data analysts can run custom queries and generate reports.

  • Understand user lifecycle.
  • Uncover activation behaviors that lead to long term users.
  • Optimize user acquisition spend based on the highest performing source that leads to conversions.

Client Code (optional)

Associate a user’s Advertising Identifier (IDFA, for iOS, or AAID, for Android) with the Urban Airship channel ID. See ID Matching for details about this feature.

iOS

Add the iOS Advertising ID:

// Get the current identifiers
let identifiers = UAirship.shared().analytics.currentAssociatedDeviceIdentifiers()

// Set the advertising ID info
identifiers.advertisingID = ASIdentifierManager.sharedManager().advertisingIdentifier.UUIDString;
identifiers.advertisingTrackingEnabled = ASIdentifierManager.sharedManager().advertisingTrackingEnabled;
identifiers.vendorID = UIDevice.currentDevice().identifierForVendor?.UUIDString

// Associate the identifiers
UAirship.shared().analytics.associateDeviceIdentifiers(identifiers)

// Get the current identifiers
UAAssociatedIdentifiers *identifiers = [[UAirship shared].analytics currentAssociatedDeviceIdentifiers];

// Set the advertising ID info
identifiers.advertisingID = [[ASIdentifierManager sharedManager].advertisingIdentifier] UUIDString];
identifiers.advertisingTrackingEnabled = [ASIdentifierManager sharedManager].advertisingTrackingEnabled;
identifiers.vendorID = [[UIDevice currentDevice].identifierForVendor UUIDString];

// Associate the identifiers
[[UAirship shared].analytics associateDeviceIdentifiers:identifiers];

Android

Automatically track the Android Advertising ID:

UAirship.shared().getAnalytics().setAutoTrackAdvertisingIdEnabled(true);

Manually track the Android Advertising ID:

// Get the Android Advertising ID info - This call is blocking and should be done in a
// background thread.
AdvertisingIdClient.Info adInfo = AdvertisingIdClient.getAdvertisingIdInfo(getContext());

UAirship.shared().getAnalytics()
           .editAssociatedIdentifiers()
           .setAdvertisingId(adInfo.getId(), adInfo.isLimitAdTrackingEnabled())
           .apply();

Set Up Snowplow

AWS

Complete the AWS setup steps in the Amazon S3 guide.

Snowplow

Complete Snowplow’s setup steps.