Skip to content

Commit dc62c67

Browse files
authored
Merge pull request #1803 from segmentio/sailthruv2-docs
Sailthru V2 docs
2 parents 1cab99b + e8eb241 commit dc62c67

File tree

3 files changed

+181
-71
lines changed

3 files changed

+181
-71
lines changed

src/_data/catalog/destinations.yml

Lines changed: 43 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -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
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
---
2+
title: Sailthru V2 New Destination
3+
rewrite: true
4+
redirect_from: '/connections/destinations/catalog/sailthru/'
5+
---
6+
[Sailthru's](https://yourintegration.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) cross-channel marketing platform helps brands deliver personalized experiences to each and every consumer across email, web, and mobile, driving higher revenue, improving customer lifetime value, and reducing churn.
7+
8+
Sailthru maintains this destination. For any issues with the destination, [contact the Sailthru Support team](mailto:[email protected]).
9+
10+
11+
## Getting Started
12+
13+
{% include content/connection-modes.md %}
14+
15+
1. Contact the [Sailthru Support team](mailto:[email protected]) to enable your account for EXTID support and request your integration-specific API Key and Secret.
16+
2. From the Destinations catalog page in the Segment App, click **Add Destination**.
17+
3. Search for “Sailthru” in the Destinations Catalog, and select the Sailthru destination.
18+
4. Choose which Source should send data to the Sailthru destination.
19+
5. Enter the API Key and Secret in the Sailthru destination settings in Segment.
20+
21+
22+
## Supported methods
23+
24+
Sailthru supports the following methods, as specified in the [Segment Spec](/docs/connections/spec)
25+
26+
### Page
27+
28+
Send [Page](/docs/connections/spec/page) calls to Sailthru to add your pageview data to Sailthru and generate interest data, sessions, and trending data.
29+
30+
```js
31+
analytics.page()
32+
```
33+
34+
### Screen
35+
36+
Send [Screen](/docs/connections/spec/screen) calls to Sailthru as pageviews by toggling on the `Track Screen events as Pageviews` setting in your Segment destination settings.
37+
38+
```swift
39+
Analytics.shared().screen("Rick's Tee", properties: [
40+
"url": "https://shop.com/products/ricks-tee"
41+
])
42+
```
43+
44+
Screen events require a `url` property. If Sailthru receives a Screen call without a `url` property, the call drops.
45+
46+
### Identify
47+
48+
Send [Identify](/docs/connections/spec/identify) calls to to create or update a Sailthru profile for any identified user on your site.
49+
50+
```js
51+
analytics.identify("assigned-userId", {
52+
"name": "Stephen Noel",
53+
"email": "[email protected]",
54+
"plan": "premium",
55+
"logins": 5
56+
});
57+
```
58+
59+
### Track
60+
61+
Send [Track](/docs/connections/spec/track) calls to:
62+
63+
* record purchases via “Order Completed” events
64+
* record abandoned carts via “Product Added” and “Product Removed” events
65+
* subscribe users via “Subscribed” events
66+
* trigger Lifecycle Optimizer journeys with all other events
67+
68+
Sailthru automatically creates and maps custom fields from Segment.
69+
70+
#### Subscribe a User
71+
72+
Subscribe a user to a list programmatically with the `Subscribed` event. Sailthru adds Users to the list name passed in the `list` field and resets their opt-out status to Valid for Marketing.
73+
74+
```js
75+
analytics.track("Subscribed", {
76+
"list": "Master List"
77+
});
78+
```
79+
80+
#### Record a Purchase
81+
82+
Record purchases in Sailthru wih the `Order Completed` event to send order confirmation messages, personalize messaging, and create purchase-related audiences.
83+
84+
Each line-item for Sailthru purchases requires the `url` field. Send the `tags` property for each line-item for later segmentation purposes.
85+
86+
Sailthru automatically tracks the `shipping`, `tax`, and `discount` fields as adjustments for accurate purchase values per-user. Use `order_id`, `checkout_id`, or Segment’s `messageId` as a purchase key for later lookup and deduping purposes.
87+
88+
```js
89+
analytics.track("Order Completed", {
90+
"order_id": "smbc-3-18-1",
91+
"affiliation": "Google Store",
92+
"total": 27.50,
93+
"subtotal": 22.50,
94+
"revenue": 25.00,
95+
"shipping": 3,
96+
"tax": 2,
97+
"discount": 2.5,
98+
"coupon": "hasbros",
99+
"currency": "USD",
100+
"products": [
101+
{
102+
"product_id": "507f1f77bcf86cd799439011",
103+
"sku": "45790-32",
104+
"name": "Monopoly: 3rd Edition",
105+
"price": 19,
106+
"quantity": 1,
107+
"category": "Games",
108+
"tags": "games, monopoly, miserable-endings",
109+
"url": "https://www.example.com/product/path",
110+
"image_url": "https:///www.example.com/product/path.jpg"
111+
}
112+
]
113+
});
114+
115+
```
116+
117+
#### Update Cart
118+
Send `Product Added` and `Product Removed` Track events for Sailthru’s abandoned cart messaging to enable the Cart Abandonment entry in Lifecycle Optimizer.
119+
120+
Sailthru abandoned cart messaging requires the `url` to function properly.
121+
122+
```js
123+
analytics.track('Product Added', {
124+
cart_id: 'skdjsidjsdkdj29j',
125+
product_id: '507f1f77bcf86cd799439011',
126+
url: 'https://example.com/product/path',
127+
sku: 'G-32',
128+
category: 'Games',
129+
name: 'Monopoly: 3rd Edition',
130+
brand: 'Hasbro',
131+
variant: '200 pieces',
132+
price: 18.99,
133+
quantity: 1,
134+
coupon: 'MAYDEALS',
135+
position: 3
136+
});
137+
```

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

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

56
## Getting Started

0 commit comments

Comments
 (0)