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.

Prerequisites
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.
Setup
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.
Dashboard
- Open your project from the dashboard, then click Settings and select Connect Integrations.
- Under the Connections heading, click Customer.io.
- Configure a new Customer.io integration:
- Enter a user-friendly name and description.
- Enter your Customer.io Site ID and API key, found in your Customer.io dashboard Integration settings.
- Choose one or more event type:
- Custom Events
- Opens
- Uninstalls
- 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.