Skip to content

Commit a990d2a

Browse files
Merge branch 'master' into abSmartlyDocs
2 parents 195e2a5 + 7b7200c commit a990d2a

File tree

14 files changed

+251
-138
lines changed

14 files changed

+251
-138
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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 PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2021-08-16
2+
# destination categories last updated 2021-08-19
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

Lines changed: 49 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2021-08-16
2+
# destination data last updated 2021-08-19
33
items:
44
- display_name: ActiveCampaign
55
name: ActiveCampaign
@@ -4457,7 +4457,7 @@ items:
44574457
- display_name: Canny-Functions
44584458
name: Canny-Functions
44594459
slug: canny-functions
4460-
hidden: false
4460+
hidden: true
44614461
url: connections/destinations/catalog/canny-functions
44624462
previous_names:
44634463
- Canny-Functions
@@ -4998,7 +4998,7 @@ items:
49984998
- SMS & Push Notifications
49994999
- Analytics
50005000
logo:
5001-
url: 'https://d3hotuclm6if1r.cloudfront.net/logos/clevertap-default.svg'
5001+
url: 'https://cdn.filepicker.io/api/file/lrTbhI5mRbmM9Ax0hyDx'
50025002
mark:
50035003
url: 'https://cdn.filepicker.io/api/file/7B58uDCOTwGBRTFbcDek'
50045004
methods:
@@ -6221,7 +6221,7 @@ items:
62216221
methods:
62226222
track: true
62236223
identify: true
6224-
group: true
6224+
group: false
62256225
alias: false
62266226
page: true
62276227
platforms:
@@ -12747,7 +12747,7 @@ items:
1274712747
identify: true
1274812748
group: false
1274912749
alias: false
12750-
page: true
12750+
page: false
1275112751
platforms:
1275212752
browser: true
1275312753
mobile: true
@@ -16164,7 +16164,7 @@ items:
1616416164
- Marketing Automation
1616516165
- Personalization
1616616166
logo:
16167-
url: 'https://cdn.filepicker.io/api/file/R1AmIwNrRNGc139Q5SlY'
16167+
url: 'https://cdn.filepicker.io/api/file/w9DuA6iHTZiL0GePyZg1'
1616816168
mark:
1616916169
url: >-
1617016170
https://public-segment-devcenter-production.s3.amazonaws.com/d180bde1-ed0e-4155-95c4-e8013e6bda4e.svg
@@ -19067,38 +19067,39 @@ items:
1906719067
Install.
1906819068
required: true
1906919069
label: Tenant Alias
19070-
- display_name: Sailthru
19071-
name: Sailthru
19072-
slug: sailthru
19070+
- display_name: Sailthru v2
19071+
name: Sailthru v2
19072+
slug: sailthru-v2
1907319073
hidden: false
19074-
url: connections/destinations/catalog/sailthru
19074+
url: connections/destinations/catalog/sailthru-v2
1907519075
previous_names:
19076-
- Sailthru
19077-
website: 'http://www.sailthru.com/'
19078-
status: PUBLIC
19076+
- Sailthru v2
19077+
website: 'https://www.sailthru.com/'
19078+
status: PUBLIC_BETA
1907919079
categories:
19080-
- CRM
1908119080
- Email Marketing
19081+
- Marketing Automation
19082+
- Personalization
19083+
- SMS & Push Notifications
1908219084
logo:
19083-
url: 'https://cdn.filepicker.io/api/file/B1tNaheQOymcfo3J2X5b'
19085+
url: >-
19086+
https://public-segment-devcenter-production.s3.amazonaws.com/6e3a2032-6567-4f83-ac9a-8ba61da2fe59.svg
1908419087
mark:
19085-
url: 'https://cdn.filepicker.io/api/file/TcAqtDXHQCiCUUdePp6C'
19088+
url: >-
19089+
https://public-segment-devcenter-production.s3.amazonaws.com/2eb63829-fe1e-4e47-b921-1fcf0916b5ba.svg
1908619090
methods:
1908719091
track: true
1908819092
identify: true
1908919093
group: false
1909019094
alias: false
19091-
page: false
19095+
page: true
1909219096
platforms:
19093-
browser: false
19094-
mobile: false
19097+
browser: true
19098+
mobile: true
1909519099
server: true
19096-
components:
19097-
- code: >-
19098-
https://github.com/segmentio/integrations/tree/master/integrations/sailthru
19099-
type: server
19100+
components: []
1910019101
browserUnbundlingSupported: false
19101-
browserUnbundlingPublic: true
19102+
browserUnbundlingPublic: false
1910219103
replay: false
1910319104
connection_modes:
1910419105
device:
@@ -19107,69 +19108,40 @@ items:
1910719108
server: false
1910819109
cloud:
1910919110
web: false
19110-
mobile: true
19111-
server: true
19112-
summary: >-
19113-
accepts data from any Segment mobile or server source in cloud mode. It
19114-
does not accept data from a web source, and does not offer device-mode
19115-
connections.
19116-
cmode_type: cloud-only
19117-
case: '6'
19111+
mobile: false
19112+
server: false
19113+
summary: No connection mode information available.
19114+
cmode_type: none
19115+
case: '0'
1911819116
settings:
1911919117
- name: apiKey
1912019118
type: string
1912119119
defaultValue: ''
19122-
description: The API key found in your Sailthru dashboard.
19120+
description: >-
19121+
Sailthru API Key. Please talk to your CSM for Segment-specific
19122+
credentials.
1912319123
required: true
1912419124
label: API Key
19125-
- name: customerId
19126-
type: string
19127-
defaultValue: ''
19128-
description: >-
19129-
**Required for page calls**. This value can be found in your Sailthru
19130-
Dashboard under **App Settings**
19131-
required: false
19132-
label: Customer Id
19133-
- name: defaultListName
19134-
type: string
19135-
defaultValue: ''
19136-
description: >-
19137-
Sailthru best practice dicates every user be added to a list. Configure a
19138-
default here.
19139-
required: false
19140-
label: Default List Name
19141-
- name: defaultReminderTemplate
19142-
type: string
19143-
defaultValue: ''
19144-
description: >-
19145-
**Required with Reminder Time**. The **public name** of your template
19146-
which you first must configure in Sailthru's UI.
19147-
required: false
19148-
label: Default Reminder Template
19149-
- name: defaultReminderTime
19125+
- name: apiSecret
1915019126
type: string
1915119127
defaultValue: ''
19128+
description: Sailthru API Secret
19129+
required: true
19130+
label: API Secret
19131+
- name: trackPageviewsInSailthru
19132+
type: boolean
19133+
defaultValue: false
19134+
description: Generate interest data and enable cart/browse abandonment LO entries.
19135+
required: true
19136+
label: Track Pageviews in Sailthru
19137+
- name: trackScreenEventsAsPageviews
19138+
type: boolean
19139+
defaultValue: false
1915219140
description: >-
19153-
**Required with Reminder Template**. The time frame you will want the
19154-
email to send. **YOU MUST ENTER A NUMERICAL TIME AND FIELD MINUTES, HOURS,
19155-
WEEKS** For example: `60 minutes`, `24 hours`, `2 weeks`. Segment will
19156-
handle passing in the `+` increment.
19157-
required: false
19158-
label: Default Reminder Time
19159-
- name: optoutValue
19160-
type: select
19161-
defaultValue: none
19162-
description: >-
19163-
Select whether to opt out users from email campaigns. The default status
19164-
is `none`.
19165-
required: false
19166-
label: Optout Status
19167-
- name: sharedSecret
19168-
type: password
19169-
defaultValue: ''
19170-
description: The Shared Secret found in your Sailthru dashboard.
19141+
Treat screen events as pageviews within sailthru, you'll need to have a
19142+
url property to the properties to generate valid pageview events
1917119143
required: true
19172-
label: Shared Secret
19144+
label: Track Screen events as Pageviews
1917319145
- display_name: Salescamp CRM
1917419146
name: Salescamp CRM
1917519147
slug: salescamp-crm

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 PUBLIC API. DO NOT EDIT
2-
# source cateogries last updated 2021-08-16
2+
# source cateogries last updated 2021-08-19
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 PUBLIC API. DO NOT EDIT
2-
# sources last updated 2021-08-16
2+
# sources last updated 2021-08-19
33
items:
44
- display_name: .NET
55
slug: net

src/_data/catalog/warehouse_papi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# warehouse data last updated 2021-08-16
2+
# warehouse data last updated 2021-08-19
33
items:
44
- display_name: Azure SQL Data Warehouse
55
slug: azuresqldw

src/_includes/content/react-dest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ The {{thisDestName}} device-mode destination SDK is only available for {{thisDes
1515
{%endif%}
1616

1717
To add the {{thisDestName}} device-mode SDK to a [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native/) project:
18-
1. Navigate to the root folder of your project, and run a `yarn add {{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}` command to add the destination SDK to your project.
18+
1. Navigate to the root folder of your project, and run a `yarn add @segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}` command to add the destination SDK to your project.
1919
2. Add an `import` statement to your project, as in the example below.
2020
```js
21-
import {{thisDestName | replace: " ", "" }} from '@segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}'
21+
import {{thisDestName | replace: " ", "" }} from '@segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}'
2222
```
2323
3. In the same project file, add the destination to the `using` list in the `await` command.
2424
```js

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

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
rewrite: true
33
title: OneSignal New Destination
44
hide-personas-partial: true
5+
redirect_from: '/connections/destinations/catalog/onesignal/'
56
---
67

7-
[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.
8-
This destination is maintained by OneSignal. For any issues with the destination, [contact OneSignal Support team](mailto:[email protected]).
8+
[OneSignal](https://onesignal.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} is the market leader in driving customer engagement with multi-channel messaging across Web and Mobile Push, In-App Messages, SMS, and Email subscribers.
9+
This destination is maintained by OneSignal. For any issues with the destination, [contact the OneSignal Support team](mailto:[email protected]).
910

10-
{% include content/beta-note.md %}
11+
> info ""
12+
> The OneSignal Destination is available to customers on OneSignal Professional and Enterprise plans.
1113
1214
## Getting Started
1315

@@ -16,20 +18,21 @@ This destination is maintained by OneSignal. For any issues with the destination
1618
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
1719
1. Search for OneSignal in the Destinations Catalog, and select the OneSignal destination.
1820
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.
21+
1. Go to the [OneSignal dashboard](https://app.onesignal.com/apps/){:target="_blank"}, select the Segment App, and go to the **Settings > Keys & IDs**. Copy the **App ID** and the **API key**.
22+
1. Enter the OneSignal **App ID** and the **API key** in the OneSignal destination settings in Segment.
23+
2224

2325
> info ""
24-
> The OneSignal Destination is available customers on OneSignal Professional and Enterprise plans.
26+
> OneSignal maps the `userId` field to the **[External User ID](https://documentation.onesignal.com/docs/onboarding-with-onesignal#step-3-connect-user-data-to-onesignal)** field in OneSignal.
27+
2528

2629
## Supported methods
2730

2831
OneSignal supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
2932

3033
### Identify
3134

32-
Send [Identify](/docs/connections/spec/identify) calls to OneSignal. For example:
35+
Send [Identify](/docs/connections/spec/identify) calls to update Users. For example:
3336

3437
```js
3538
analytics.identify('userId123', {
@@ -39,18 +42,16 @@ analytics.identify('userId123', {
3942
});
4043
```
4144

42-
These user traits appear as player [data tags](https://documentation.onesignal.com/docs/add-user-data-tags) in OneSignal.
45+
Segment sends Identify traits as [Player Data Tags](https://documentation.onesignal.com/docs/add-user-data-tags) in OneSignal.
4346

4447
> warning ""
45-
> OneSignal does not accept nested objects or arrays as user properties.
48+
> OneSignal doesn't accept nested objects or arrays as user properties.
4649
4750
![](images/demo.png)
4851

49-
50-
5152
### Track
5253

53-
Send [Track](/docs/connections/spec/track) calls to OneSignal. For example:
54+
Send [Track](/docs/connections/spec/track) calls to update Data Tags. For example:
5455

5556
```js
5657
analytics.track('Add to Cart', {
@@ -59,46 +60,39 @@ analytics.track('Add to Cart', {
5960
})
6061
```
6162

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.
63-
64-
![](images/track-example.png)
65-
63+
OneSignal stores Track properties as Data Tags but drops the event name. In the above example, `Add to Cart` is dropped.
6664

65+
To keep the event names on OneSignal Data Tags, append the event name to the properties. For example, `Add_to_Cart_brand` instead of `brand`.
6766

67+
![](images/track-example.png)
6868

6969
## Personas
7070

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"}.
71+
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"}.
7272

7373
### Audiences
7474

75-
Persona Audiences appear as a [segment](https://documentation.onesignal.com/docs/segmentation) in OneSignal.
75+
Personas Audiences appear as a [segment](https://documentation.onesignal.com/docs/segmentation) in OneSignal.
7676

77-
Audiences sent as part of a Track call create a OneSignal [segment](https://documentation.onesignal.com/docs/segmentation) with the Audience Name.
77+
Track calls from Audiences create a OneSignal [segment](https://documentation.onesignal.com/docs/segmentation) with the Audience Name.
7878

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.
79+
Identify calls from Audiences create a OneSignal [segment](https://documentation.onesignal.com/docs/segmentation) with the Audience Name and add Data Tags on all the matching user records.
8380

8481
![](images/audiences.jpg)
8582

86-
The Identify and Track calls are sent to OneSignal whenever a user enters or exits the Audience.
83+
Audiences sends Identify and Track calls to OneSignal when a user enters or exits the Audience.
8784

8885
### Computed Traits
8986

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.
91-
92-
# OneSignal Destination FAQ
87+
OneSignal stores Track and Identify calls from Personas Computed Traits as [Data Tags](https://documentation.onesignal.com/docs/add-user-data-tags) for the OneSignal User/Player's records.
9388

94-
**Managing Segment’s Reserved and Custom Traits**
89+
## OneSignal Destination FAQ
90+
### Managing Segment’s Reserved and Custom Traits
9591

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.
92+
* Segment sends user traits to OneSignal as Data Tags. The number of data tags OneSignal allows depends on your OneSignal pricing plan. OneSignal drops the data tags that go over your set number. .
9793

9894
* 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`.
9995

100-
* 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.
96+
* Send User properties to OneSignal with blank/null values to remove the corresponding Data Tag from the OneSignal user record.
10197

102-
* 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
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.
98+
* OneSignal doesn’t store `email` and `phone` properties. To update `email` and `phone` properties in OneSignal, create a player record with the email address and/or a phone number and map those records with the External_User_ID. Additional properties from Segment map across all your matching records, including email and phone number records.

0 commit comments

Comments
 (0)