Customer.io

Overview

Customer.io is a behavioral email platform that harnesses user activity and profile data to send targeted campaigns at scale. With the Urban Airship Connect and Customer.io integration, incorporate mobile engagement data into your Customer.io profiles and run email campaigns based on Urban Airship events.

Set up Customer.io

In order for Urban Airship to send events to Customer.io, you need to register users in Customer.io and associate an email address.

See Integrating with Customer.io for more information on registering users.

The important thing to remember is that your Urban Airship Named User must match the identifier you send over to Customer.io in your identify call. In the next section we’ll show you how to set the Urban Airship Named User to match your Customer ID.

Client Code

In your iOS or Android/Amazon project, set the Urban Airship named user to be the same ID you use in the Customer.io identify call.

iOS

UAirship.namedUser().identifier = "NamedUserID"
[UAirship namedUser].identifier = @"NamedUserID";

See iOS: Named Users for more detail.

Android/Amazon

// Associate the channel to a Named User ID.
UAirship.shared().getNamedUser().setId("NamedUserID");

See Android: Named Users for more detail.

Connect Dashboard

  1. From within the Urban Airship dashboard, with your app selected, click Connect from the top navigation. Click the Customer.io integration option to begin setup.
  2. Name and configure a new Customer.io integration:
  3. Click the Save button.

Once you’ve enabled the integration, we’ll start sending events from this app to your Customer.io instance, and they will appear in your user’s activity stream.

The following example from the Customer.io dashboard shows an expanded custom event and open event. The custom event in this example was instrumented using our Google Analytics Tracker, which passes Google Analytics events to Urban Airship as custom events.