Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Airship Source


Source Info
  • The Airship Source is an Event Cloud source. This means that it sends data as events, which are behaviors or occurrences tied to a user and a point in time. Data from these sources can be loaded into your Segment warehouses, and also sent to Segment streaming destinations. Learn more about cloud sources.
  • This integration is partner owned. Please reach out to the partner's support for any issues.

Airship(link takes you to an external page) gives brands the data, channels, orchestration and services they need to deliver push notifications, emails, SMS, in-app messages, and more to the right person at the right moment — building trust, boosting engagement, driving action and growing value.

Real-time Data Streaming automatically collects user-level data and sends the data to Segment for analysis or action through other Destination integrations. At Airship, we understand that seamlessly tying data across platforms can be a complex task. This integration removes the development so users can get back to understanding their audience and reaching them on their preferred channel.

This Source integration is maintained by Airship. For any issues with the source, contact the Airship Support team.

(success)

Success!

This page is about the Airship Segment source, which sends data to Segment. For the Airship destination, which receives data from Segment, see the Airship Segment destination.

(new)

This document is about a feature in beta

This means the feature is actively being developed, and some functionality may change before it becomes generally available.


Getting started

getting-started page anchor
  1. From your Segment UI's Sources page click on "Add Source".
  2. Search for Airship within the Sources Catalog and confirm by clicking "Connect".
  3. Give the Source a nickname and follow the set up flow to "Add Source". The nickname will be used to designate the source in the Segment interface, and Segment will create a related schema name. The schema name is the namespace you'll be querying against in your warehouse. The nickname can be whatever you like, but we recommend sticking to something that reflects the source itself and distinguishes amongst your environments (for example, Airship_Prod, Airship_Staging, Airship_Dev).
  4. Copy the Write key from the Segment UI and log in to your Airship account - navigate to Settings > Real-Time Data Stream > Segment and follow the steps for configuration.

The following table lists events that Airship sends to Segment. These events will show up as tables in your warehouse, and as regular events in your other Destinations. Airship will send through the userId if available.

Event nameDescription
Attribute OperationIndicates a change in the device's attributes. Because attribute operations are related to a device they have a device field.
OpenOccurs when a user opens your app.
CloseOccurs when a user closes the app. Close events are often latent, as they aren't sent back to Airship until the user activates the app again.
Custom EventRepresents custom events that are either emmitted from the Airship SDK or submitted through the Custom Events API.
Screen ViewedOccurs when a user has finished viewing a screen within the app.
SendOccurs whenever a push notification is sent to a device identified in the audience selector of a message.
ControlOccurs when a device is excluded from a push because it was arbitrarily selected as a member of a control group.
Tag ChangeOccurs when tags are added or removed for a user.
First OpenThis event occurs when a user opens an Airship-integrated app for the first time.
First Opt-inThis event appears in the stream when a channel is first opted in. This event is specific to email (commercial), sms and open channels.
UninstallOccurs when a user uninstalls an Airship-integrated app in response to a push.
In-App Message Expiration, Resolution, Display EventsOccurs when an in-app message expires, resolved, and displayed to a user.
Message Center Read, Delivery, Delete EventsOccurs when a Message Center message is read, deleted, or delivered to a users inbox.

The following table outlines the properties included in the events.

Property nameDescription
airship_offsetAn identifier of a location in the stream; used to resume the stream after severing a connection.
anonymousIdThe channel identifier.
background_push_enabledIndicates whether or not the device has background push notifications enabled.
body_session_idRepresents the "session" of user activity. Absent if the application was initialized while backgrounded.
body_sourceThe event source. Possible values: SDK, API. The event source. SDK indicates an event sent from the UA SDK. API indicates an event created by request against the Server Side Custom Events API.
location_permissionPossible values: SYSTEM_LOCATION_DISABLED, NOT_ALLOWED, ALWAYS_ALLOWED, FOREGROUND_ALLOWED, UNPROMPTED
messageIdUniquely identifies the Airship event.
push_opt_inIndicates whether or not the device is opted into push notifications.
ua_sdk_versionThe version of the Airship SDK used in the app.
userIdThe named user identifier for the device.

Now that your source is set up, you can connect it to destinations.

Log in to your downstream tools and check to see that your events are populating and they contains all the properties you expect. If all your events and properties are not showing up, refer to the relevant destination docs for troubleshooting.

For any issues with the source events, contact the Airship team.