OneSignal Destination

Segment makes it easy to send your data to OneSignal (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to OneSignal in the format they understand. Learn more about how to use OneSignal with Segment.

Getting Started

After destination Segment with your app, enable OneSignal in your segment destinations. Use your OneSignal App ID to enable the destination. This ID can be found on the settings page for your app on the OneSignal dashboard.

OneSignal will only track new users. If you have existing push notification data in another service, please get in touch with us to transfer it over: support@onesignal.com

OneSignal supports the identify and track methods and is currently only available on iOS via Segment.


Identify & Track

Both Identify and Track have identical behavior for the OneSignal destination.

OneSignal will store the following data fields about a user:

  • App Version
  • Device Type
  • Device Model
  • Device OS Version
  • Push Notification Token (If available)
  • Advertising ID (If available)
  • Identifier For Vendor (iOS Only)
  • Timezone

OneSignal will also assign the following custom tags based on user attributes or traits, when available:

  • Segment user ID
  • Segment Group ID
  • Age
  • Avatar
  • Birthday
  • Description
  • Email
  • Name
  • FirstName
  • LastName
  • Gender
  • Phone
  • Title
  • Username
  • Website

All of the above values can be used to deliver and schedule notifications to your users from the OneSignal dashboard.


Supported Sources and Connection Modes

WebMobileServer
📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.

Settings

Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

App ID/Key

Your OneSignal App ID/key can be found under your account settings

Direct

Endpoint


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!