Segment

Segment is a customer data warehouse that lets you combine data from disparate applications and platforms. The Urban Airship/Segment integration maps Segment events to Urban Airship events for retargeting with Urban Airship Engage.

This integration implements hooks in your app for the following Segment methods:

  • Identify
  • Track
  • Screen
  • Group

For each Segment method, there is an equivalent Urban Airship feature to map to:

Urban Airship Concept Segment Concept
Screen Viewed Event (Only visible via Connect) Screen
Named Users Identify
Custom Events Track
Tags Group


Segment also provides an excellent overview of this integration.

Getting Started

Account Setup

First you will need to create an account with both Segment and Urban Airship.

Your Urban Airship account must include Engage at minimum.

SDK Integration

  1. Integrate both Segment and Urban Airship SDKs into your project.

    • If you do not yet have Urban Airship’s SDK installed, follow the steps in Segment’s Urban Airship Integration setup document. You will install Urban Airship’s SDK during Segment’s setup process.

    • If you already have Urban Airship’s SDK installed and then install the Segment SDK, either:

      • Reinstall the kit through Segment for an SDK update and to map the events, or
      • Map Segment events to Urban Airship-specific events, e.g., tags, custom events, etc.
  2. Add the Urban Airship depencency and Segment integration to your project.

Use Cases

Use cases are specific to how you are using Segment, but this is an example of a supported integration:

  • Track Segment events, such as made a purchase or watched a video, and send them as Urban Airship Custom Events to trigger a campaign. For instance, you could creat a re-engage campaign for web abandon cart with custom event automation, via the UI or API.