Skip to content

Commit aada02c

Browse files
committed
updates and edits [netlify-ignore]
1 parent 4045f91 commit aada02c

File tree

6 files changed

+91
-65
lines changed

6 files changed

+91
-65
lines changed

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination categories last updated 2021-06-30
2+
# destination categories last updated 2021-07-01
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination data last updated 2021-06-30
2+
# destination data last updated 2021-07-01
33
items:
44
- display_name: ActiveCampaign
55
slug: activecampaign
@@ -17189,60 +17189,70 @@ items:
1718917189
required: false
1719017190
description: Configures whether the chat box should be inlined or not
1719117191
settings: []
17192-
- display_name: OneSignal
17193-
slug: onesignal
17194-
name: catalog/destinations/onesignal
17195-
url: connections/destinations/catalog/onesignal
17196-
description: OneSignal is a complete push notification solution for mobile apps.
17192+
- display_name: OneSignal (New)
17193+
slug: onesignal-new
17194+
name: catalog/destinations/onesignal-new
17195+
url: connections/destinations/catalog/onesignal-new
17196+
description: Multi-channel messaging automation
1719717197
hidden: false
17198-
status: PUBLIC
17198+
status: PUBLIC_BETA
1719917199
previous_names:
17200-
- OneSignal
17200+
- OneSignal New
17201+
- OneSignal (New)
1720117202
logo:
17202-
url: 'https://cdn.filepicker.io/api/file/5j05ZZgHQJeNnxbUQ7og'
17203+
url: >-
17204+
https://public-segment-devcenter-production.s3.amazonaws.com/58c0f9b4-3ec6-43c3-9158-0942ff36262b.svg
1720317205
mark:
17204-
url: 'https://cdn.filepicker.io/api/file/6wUHcvNqSTqw7pjSb2Tb'
17206+
url: >-
17207+
https://public-segment-devcenter-production.s3.amazonaws.com/d180bde1-ed0e-4155-95c4-e8013e6bda4e.svg
1720517208
categories:
17206-
- SMS & Push Notifications
17209+
- A/B Testing
1720717210
- Email Marketing
17211+
- Marketing Automation
17212+
- Personalization
1720817213
methods:
17209-
alias: false
17210-
group: false
17211-
identify: false
17212-
page_view: false
17213-
track: false
17214-
components:
17215-
- type: CLOUD
17214+
alias: true
17215+
group: true
17216+
identify: true
17217+
page_view: true
17218+
track: true
17219+
components: []
1721617220
platforms:
17217-
browser: false
17221+
browser: true
1721817222
server: true
17219-
mobile: false
17223+
mobile: true
1722017224
browserUnbundlingSupported: false
17221-
browserUnbundlingPublic: true
17225+
browserUnbundlingPublic: false
1722217226
connection_modes:
1722317227
device:
1722417228
web: false
1722517229
mobile: false
1722617230
server: false
1722717231
cloud:
1722817232
web: false
17229-
mobile: true
17230-
server: true
17231-
summary: >-
17232-
accepts data from any Segment mobile or server source in cloud mode. It
17233-
does not accept data from a web source, and does not offer device-mode
17234-
connections.
17235-
cmode_type: cloud-only
17236-
case: '6'
17233+
mobile: false
17234+
server: false
17235+
summary: No connection mode information available.
17236+
cmode_type: none
17237+
case: '0'
1723717238
settings:
1723817239
- name: apiKey
17239-
display_name: App ID/Key
17240+
display_name: API Key
17241+
type: STRING
17242+
deprecated: false
17243+
required: true
17244+
string_validators:
17245+
regexp: '^.{8,}$'
17246+
description: You can find your API Key in your OneSignal app settings page
17247+
settings: []
17248+
- name: appId
17249+
display_name: App Id
1724017250
type: STRING
1724117251
deprecated: false
1724217252
required: true
1724317253
string_validators:
1724417254
regexp: ''
17245-
description: Your OneSignal App ID/key can be found under your account settings
17255+
description: You App Id
1724617256
settings: []
1724717257
- display_name: Optimizely Full Stack
1724817258
slug: optimizely-full-stack

src/_data/catalog/source_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# source cateogries last updated 2021-06-30
2+
# source cateogries last updated 2021-07-01
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/sources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# sources last updated 2021-06-30
2+
# sources last updated 2021-07-01
33
items:
44
- display_name: .NET
55
slug: net
Lines changed: 46 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
---
22
rewrite: true
33
title: OneSignal New Destination
4+
hide-personas-partial: true
45
---
56

6-
# OneSignal Destination
77
[OneSignal](https://onesignal.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is the market leader in driving customer engagement with multi-channel messaging across Web and Mobile Push, In-App Messages, SMS, and Email subscribers.
88
This destination is maintained by OneSignal. For any issues with the destination, [contact OneSignal Support team](mailto:[email protected]).
99

10-
**Note**: *The OneSignal Destination is currently in beta.*
11-
This means that OneSignal is still actively developing the destination and some functionality may change before it becomes generally available.
10+
{% include content/beta-note.md %}
11+
12+
## Getting Started
1213

13-
# Getting Started
14-
**Do not remove this line. It will auto-populate the following information for your integration:** **https://cl.ly/23e637f055f7
1514
{% include content/connection-modes.md %}
1615

1716
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
18-
1. Search for "OneSignal" in the Destinations Catalog, and select the "OneSignal" destination.
19-
1. Choose which Source should send data to the "OneSignal" destination.
20-
1. Go to the [OneSignal dashboard](https://app.onesignal.com/apps/), select the App and go to the Settings → Keys & IDs. Copy the “App ID” and the “API key”.
21-
1. Enter the OneSignal “App ID” and the “API key” in the "OneSignal" destination settings in Segment and Enable the App.
22-
1. Please make sure you have an “[External User ID](https://documentation.onesignal.com/docs/onboarding-with-onesignal#step-3-connect-user-data-to-onesignal)” set for your users on OneSignal. OneSignal uses the “External User ID” to match with the “User ID” value from Segment.com.
17+
1. Search for OneSignal in the Destinations Catalog, and select the OneSignal destination.
18+
1. Choose which Source should send data to the OneSignal destination.
19+
1. Go to the [OneSignal dashboard](https://app.onesignal.com/apps/){:target="_blank"}, select the App and go to the *Settings > Keys & IDs*. Copy the **App ID** and the **API key**.
20+
1. Enter the OneSignal **App ID** and the **API key** in the OneSignal destination settings in Segment and Enable the destination.
21+
1. Make sure you have an **[External User ID](https://documentation.onesignal.com/docs/onboarding-with-onesignal#step-3-connect-user-data-to-onesignal)** set for your users on OneSignal. OneSignal uses the **External User ID** to match with the **User ID** value from Segment.
22+
23+
> info ""
24+
> The OneSignal Destination is available customers on OneSignal Professional and Enterprise plans.
25+
26+
## Supported methods
27+
28+
OneSignal supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
29+
30+
### Identify
2331

24-
> *OneSignal Destination app is accessible only to customers on OneSignal Professional and Enterprise plans.*
32+
Send [Identify](/docs/connections/spec/identify) calls to OneSignal. For example:
2533

26-
# Identify
27-
If you aren't familiar with the Segment Spec, take a look at the [Identify method documentation](https://segment.com/docs/connections/spec/identify/) to learn about what it does. An example call would look like:
2834
```js
2935
analytics.identify('userId123', {
3036
firstName: 'John',
@@ -33,57 +39,66 @@ analytics.identify('userId123', {
3339
});
3440
```
3541

36-
These user traits will appear as player [data tags](https://documentation.onesignal.com/docs/add-user-data-tags) in OneSignal.
42+
These user traits appear as player [data tags](https://documentation.onesignal.com/docs/add-user-data-tags) in OneSignal.
3743

38-
*Note:* OneSignal does not accept nested objects or arrays as user properties.
44+
> warning ""
45+
> OneSignal does not accept nested objects or arrays as user properties.
3946
4047
![](images/demo.png)
4148

4249

4350

44-
# Track
45-
If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](https://segment.com/docs/connections/spec/track/) to learn about what it does. An example call would look like:
51+
### Track
52+
53+
Send [Track](/docs/connections/spec/track) calls to OneSignal. For example:
54+
4655
```js
4756
analytics.track('Add to Cart', {
4857
product_name: 'Sunglasses',
4958
brand: 'Rayban'
5059
})
5160
```
5261

53-
For events and associated properties sent using Track call, OneSignal will *drop* the event name (for example, *Add to Cart*), but store all the properties (for example, *productname and brand*) as data tags.
62+
For events and associated properties sent using a Track call, OneSignal drops the event name (for example, `Add to Cart`), but stores all the properties (for example, `productname` and `brand`) as data tags.
5463

5564
![](images/track-example.png)
5665

5766

5867

5968

60-
# Personas
61-
You can send computed traits and audiences generated using [Segment Personas](https://segment.com/docs/personas) to OneSignal destination. To learn more about Personas, contact us for a [demo](https://segment.com/contact/demo).
69+
## Personas
70+
71+
You can send computed traits and audiences generated using [Segment Personas](/docs/personas) to OneSignal. To learn more about Personas, contact Segment for a [demo](https://segment.com/contact/demo){:target="_blank"}.
6272

6373
### Audiences
64-
Persona Audiences automatically show up as a [segment](https://documentation.onesignal.com/docs/segmentation) in OneSignal.
6574

66-
Audiences sent using a **Track call** will create a OneSignal [segment](https://documentation.onesignal.com/docs/segmentation) with the *Audience Name*.
75+
Persona Audiences appear as a [segment](https://documentation.onesignal.com/docs/segmentation) in OneSignal.
76+
77+
Audiences sent as part of a Track call create a OneSignal [segment](https://documentation.onesignal.com/docs/segmentation) with the Audience Name.
6778

68-
Audiences sent using an **Identify call** will
69-
1. create a OneSignal segment with the *Audience Name* and
70-
2. add data tags (if there are additional properties in the Identify call) on all the matching user records.
79+
Audiences sent as part of an Identify call:
80+
81+
- Create a OneSignal segment with the Audience Name
82+
- add data tags (if there are additional properties in the Identify call) on all the matching user records.
7183

7284
![](images/audiences.jpg)
7385

7486
The Identify and Track calls are sent to OneSignal whenever a user enters or exits the Audience.
7587

7688
### Computed Traits
77-
Personas Computed Traits are stored as [Data Tags](https://documentation.onesignal.com/docs/add-user-data-tags) on the OneSignal user (player) records whether passed to OneSignal as an Identify call or a Track call. You can then use these data tags to manually create OneSignal segments and automate your messaging workflows.
78-
7989

90+
Personas Computed Traits are stored as [Data Tags](https://documentation.onesignal.com/docs/add-user-data-tags) on the OneSignal user (player) records whether passed to OneSignal as an Identify call or a Track call. You can then use these data tags to manually create OneSignal segments and automate your messaging workflows.
8091

8192
# OneSignal Destination FAQ
8293

8394
**Managing Segment’s Reserved and Custom Traits**
84-
* All the Segment’s user traits are sent to OneSignal as data tags. The number of data tags allowed on OneSignal depends on your OneSignal pricing plan. Tags over the entitled number will be dropped.
85-
* OneSignal always updates the firstName and the lastName properties for matching users. All other traits are added/updated on a firstcome basis. *firstName* and *lastName* tags are stored as "first_name" and "last_name".
95+
96+
* All Segment user traits are sent to OneSignal as data tags. The number of data tags allowed on OneSignal depends on your OneSignal pricing plan. Tags over the entitled number will be dropped.
97+
98+
* OneSignal always updates the `firstName` and the `lastName` properties for matching users. All other traits are added/updated on a firstcome basis. `firstName` and `lastName` tags are stored as `first_name` and `last_name`.
99+
86100
* User properties sent to OneSignal with blank/null values are removed from the OneSignal user record. This is done to make sure you are within your data tag limits.
101+
87102
* OneSignal doesn’t store email and phone properties as these key identifiers are stored as separate player records in OneSignal. To update user traits for these records in OneSignal
88-
* You must create a player record with the email address and/or a phone number and map those records with the External_User_ID.
89-
* Additional properties sent from Segment will then be automatically mapped across all your matching records, including email and phone number records.
103+
* Create a player record with the email address and/or a phone number and map those records with the External_User_ID.
104+
* Additional properties sent from Segment are mapped across all your matching records, including email and phone number records.

src/connections/destinations/catalog/onesignal/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: OneSignal Destination
3+
hidden: true
34
---
45

56
## Getting Started

0 commit comments

Comments
 (0)