Skip to content

Commit 16018a0

Browse files
authored
Merge pull request #5513 from segmentio/how-to-cleanup
Miscellaneous how-to doc edits (part 1)
2 parents 57712ac + 4cde7f2 commit 16018a0

File tree

4 files changed

+43
-43
lines changed

4 files changed

+43
-43
lines changed

src/guides/how-to-guides/automated-multichannel-reengagement.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ title: Automating Multi-Channel Re-Engagement Campaigns
44

55
Compelling and engaging brands delight their customers at every interaction. As customers move seamlessly across channels—such as email, push notifications, display ads—brands must similarly meet them with tailored and consistent messages.
66

7-
We'll show you how to craft a tailored message while using a combination of AdRoll, Customer.IO, and other tools to dynamically switch between channels.
7+
With Segment, you can craft a tailored message while using a combination of AdRoll, Customer.IO, and other tools to dynamically switch between channels.
88

9-
[Talk to a product specialist today](https://segment.com/contact/sales) about using data to tailor your brand experience.
9+
[Talk to a product specialist today](https://segment.com/contact/sales){:target="_blank"} about using data to tailor your brand experience.
1010

1111
## Tools used
1212

13-
* Retargeting with [AdRoll](https://adroll.com/): _AdRoll is a retargeting and prospecting tool that allows you to show display ads to a behaviorally-defined cohort_
13+
* Retargeting with [AdRoll](https://adroll.com/){:target="_blank"}: _AdRoll is a retargeting and prospecting tool that allows you to show display ads to a behaviorally-defined cohort_
1414

15-
* Push notifications with [Braze](https://braze.com/): _Braze is a multi-channel marketing campaign focused on the mobile experience_
15+
* Push notifications with [Braze](https://braze.com/){:target="_blank"}: _Braze is a multi-channel marketing campaign focused on the mobile experience_
1616

17-
* Emails with [Customer.io](https://customer.io/): _Customer.io is a flexible email provider that allows you to create cohorts based on customer actions. You can build complex onboarding emails, nurture email campaigns, as well as marketing automation workflows._
17+
* Emails with [Customer.io](https://customer.io/){:target="_blank"}: _Customer.io is a flexible email provider that allows you to create cohorts based on customer actions. You can build complex onboarding emails, nurture email campaigns, as well as marketing automation workflows._
1818

1919

20-
_There are other email tools on Segment's platform, such as_ [Bronto](https://bronto.com/), [SendGrid](https://sendgrid.com/), _and_ [Mailchimp](https://mailchimp.com/). _Check out the_ [full list of email tools](https://segment.com/catalog#integrations/email).
20+
_There are other email tools on Segment's platform, such as_ [Bronto](https://bronto.com/){:target="_blank"}, [SendGrid](https://sendgrid.com/){:target="_blank"}, _and_ [Mailchimp](https://mailchimp.com/){:target="_blank"}. _Check out the_ [full list of email tools](https://segment.com/catalog#integrations/email){:target="_blank"}.
2121

22-
Before we proceed, it's important to register for these tools and enable them on your Segment source project. When Segment collects tracking data, it'll also route it to all of your enabled tools. Then your tools, especially ones like Customer.io, Braze, and AdRoll, where you can define cohorts of your users, will be working off a dynamic, yet consistent data set. This is paramount in getting the dynamic messaging to update accordingly.
22+
It's important to register for these tools and enable them on your Segment source project. When Segment collects tracking data, it'll also route it to all of your enabled tools. Then your tools, especially ones like Customer.io, Braze, and AdRoll, where you can define cohorts of your users, will be working off a dynamic, yet consistent data set. This is paramount in getting the dynamic messaging to update accordingly.
2323

2424
## Set it up
2525

@@ -29,34 +29,34 @@ When you send tracking data from your app or website to Segment, Segment will se
2929

3030
In each of your destinations—Braze, Facebook, Customer.io, AdRoll—you can create custom campaigns to show display ads or send emails to a specific segment of users who have performed (or not performed) a given action, or "event." In this cross-channel re-engagement example, we'll start with push notifications.
3131

32-
## 1st Line of Defense: The Push Notification
32+
## 1st line of defense: the push notification
3333

34-
In Braze, create a segment of customers who added a product to their cart, but did not check out. The segment definition, in this case, should be people who have performed `Product Added`, but have not performed `Order Completed` . Send a push notification to these customers with a message that the cart was abandoned and that they can complete the transaction with a 10% coupon (or up to you).
34+
In Braze, create a segment of customers who added a product to their cart, but did not check out. The segment definition, in this case, should be people who have performed `Product Added`, but have not performed `Order Completed` . Send a push notification to these customers with a message that the cart was abandoned and that they can complete the transaction with, for example, a 10% coupon.
3535

3636
![An Apple iPhone with a push notification from Toastmates that says Oh no! You left something in your basket.](images/auto-multi_DDMDnUuY.png)
3737

38-
## 2nd Line of Defense: The Email Reminder
38+
## 2nd line of defense: the email reminder
3939

4040
Because Segment automatically collects second-party data from Braze, you now also have push notification event data, like `Push Notification Opened` and `Push Notification Received` in Segment. You can use the `properties` on each of these events to define a property called `campaign_name` so you can tie these activities to a given campaign.
4141

4242
![Screenshot of an email from Toastmates reminding the customer that they have a toast in their cart and giving them a coupon and a direct link to their cart.](images/auto-multi_262jquPl.png)
4343

44-
This is helpful because now, you can define segments in Customer.io for customers who have triggered `Push Notification Received`, but not `Push Notification Opened` . You've now automated the process of targeting customers who don't open your push notifications. In Customer.io, From here, you can create a campaign that sends an email to those people asking them to check their push notifications and offering them a coupon to complete their order.
44+
This is helpful because now, you can define segments in Customer.io for customers who have triggered `Push Notification Received`, but not `Push Notification Opened` . You've now automated the process of targeting customers who don't open your push notifications. In Customer.io, you can create a campaign that sends an email to those people asking them to check their push notifications and offering them a coupon to complete their order.
4545

46-
## 3rd Line of Defense: Paid Advertising
46+
## 3rd line of defense: paid advertising
4747

4848
Since Segment collects email event data, like `Email Opened`, from Customer.io, you can similarly create segments in Facebook Ads and AdRoll for when customers don't open your email. Create a segment where users have an `Email Delivered` event, but no `Email Opened` event. When users meet these criteria, they'll get automatically added to your retargeting campaigns. You can then serve them custom creatives about them neglecting to open your emails and, again, perhaps offer them a coupon to complete the transaction.
4949

5050
![An ad for Toastmates with a frowning face on a piece of toast and a link for a coupon.](images/auto-multi_dI5srBtw.png)
5151

52-
When users do not open an activation email, we can seamlessly add them to a specific retargeting campaign that contains messaging to remind them to activate.
52+
When users do not open an activation email, add them to a specific retargeting campaign that contains messaging to remind them to activate.
5353

54-
With Segment, we can automate not just switching across channels, but also the messaging in each channel so that the entire experience is cohesive. The added benefit is that we can create specifically targeted retargeting campaigns for people who no longer open our emails or push notifications. Automating these processes with Segment makes channel-switching more seamless for your customers.
54+
With Segment, automate not just switching across channels, but also the messaging in each channel so that the entire experience is cohesive. The added benefit is that we can create specifically targeted retargeting campaigns for people who no longer open our emails or push notifications. Automating these processes with Segment makes channel-switching more seamless for your customers.
5555

5656
## Create an engaging and consistent brand experience
5757

58-
This is just a simple cart abandonment example that dynamically follows our customers as they switch between channels. Because Segment collects and routes the second party data of emails and push notifications being opened, we are able to create specific campaigns with messaging that targets your customers as they interact with your brand.
58+
This is just a simple cart abandonment example that dynamically follows customers as they switch between channels. Because Segment collects and routes the second party data of emails and push notifications being opened, you can create specific campaigns with messaging that targets your customers as they interact with your brand.
5959

60-
With over 200+ different tools on our platform, you can take this idea and create other tailored shopping experiences to re-engage your customers.
60+
With over 200+ different tools on Segment's platform, you can take this idea and create other tailored shopping experiences to re-engage your customers.
6161

62-
[Talk to a product specialist today](https://segment.com/contact/sales) _about using data to tailor your brand experience._
62+
[Talk to a product specialist today](https://segment.com/contact/sales){:target="_blank"} _about using data to tailor your brand experience._

src/guides/how-to-guides/collect-on-client-or-server.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
title: Collecting Data on the Client or Server
33
---
44

5-
One of the most common questions we receive is: "Should I use one of your client-side libraries or one of your server-side libraries?"
5+
One of the most common questions Segment receives is: "Should I use one of your client-side libraries or one of your server-side libraries?"
66

77

8-
This is such an important topic that we've written up an in-depth article in our Analytics Academy:  [When to Track on the Client vs Server](https://segment.com/academy/collecting-data/when-to-track-on-the-client-vs-server/). It's worth a read. Below, you can also read some quick logic around why you may want to choose either option.
8+
This is such an important topic that you'll find an in-depth article in Segment's Analytics Academy:  [When to Track on the Client vs Server](https://segment.com/academy/collecting-data/when-to-track-on-the-client-vs-server/){:target="_blank"}. It's worth a read. Below, you can also read some quick logic around why you may want to choose either option.
99

1010
### Client-side
1111

1212
#### Not stored in your database
1313

14-
Good things to send from the client-side are things that you wouldn't usually store in your database. Things like page views, button clicks, page scroll length, mouse movements, social shares and likes.
14+
Good things to send from the client-side are things that you wouldn't usually store in your database. Things like page views, button clicks, page scroll length, mouse movements, social shares, and likes.
1515

1616
#### Easier to send client-side
1717

1818
Things like UTM tags, operating system, device type, or cookied data like returning visitors are all easiest to track client-side. Of course, some things like mouse movements are only available on the client-side so you should definitely track that there.
1919

2020
#### Events needed for client-side only destinations
2121

22-
Some destinations can only accept data when the event is sent from the browser. They require events on the client since they rely on cookies and most of those tools do not have an API that Segment can send server-side data to. More on this in our Analytics.js docs.
22+
Some destinations can only accept data when the event is sent from the browser. They require events on the client since they rely on cookies and most of those tools do not have an API that Segment can send server-side data to. More on this in Segment's [Analytics.js docs](/docs/connections/sources/catalog/libraries/website/javascript/cookie-validity-update/#client-side-persistence-in-analytics-js).
2323

2424
### Server-side
2525

@@ -31,7 +31,7 @@ Charging customers often happens when they aren't online, and accuracy for payme
3131

3232
In general client-side data is fine for watching general trending, but it's never going to be perfect. Especially if your customers are likely to use things like adblock or old/non-standard browsers.
3333

34-
For example, if you're sending triggered emails based on events, it's probably a good idea to make sure your user profiles are sent through our servers so no one gets left out or mis-emailed.
34+
For example, if you're sending triggered emails based on events, it's probably a good idea to make sure your user profiles are sent through Segment's servers so no one gets left out or mis-emailed.
3535

3636
#### Calculated from your database
3737

@@ -43,9 +43,9 @@ Sensitive information is also best kept out of browsers. Any data you don't want
4343

4444
### Selecting Destinations
4545

46-
Each Segment library allows an `integrations` object either as a top level object or nested in options object. [Check your library docs](https://segment.com/docs/connections/sources/) for details; look for the section titled ["Selecting Destinations"](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#selecting-destinations-with-the-integrations-object).
46+
Each Segment library allows an `integrations` object either as a top level object or nested in options object. [Check your library docs](/docs/connections/sources/) for details; look for the section titled ["Selecting Destinations"](/docs/connections/sources/catalog/libraries/website/javascript/#selecting-destinations-with-the-integrations-object).
4747

48-
This flag may be especially useful in Legacy source types, where an event might be triggered on both the client & server for various reasons. The following will cause the payload to be sent to all enabled tools EXCEPT Facebook Pixel:
48+
This flag may be especially useful in Legacy source types, where an event might be triggered on both the client and server for various reasons. The following will cause the payload to be sent to all enabled tools **except** Facebook Pixel:
4949

5050
```js
5151
analytics.identify('user_123', {

src/guides/how-to-guides/collect-pageviews-serverside.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ With this approach, you might use a request "middleware" to log a `pageview` w
1010

1111
There are a few things to be mindful of if you want to make sure you can attribute these (anonymous) page views to the appropriate user in your client-side source (eg, for effectively joining these tables together to do down-funnel behavioral attribution). You'll want to ensure they share an `anonymousId` by respecting one if it's already there, and setting it yourself if not. To do that, you can read and modify the `ajs_anonymous_id` cookie value in the request.
1212

13-
Be sure to pass through as many fields as you can in our [page](https://segment.com/docs/connections/spec/page/) and [context](https://segment.com/docs/connections/spec/common/) spec, so that you get full functionality in any downstream tools you choose to enable. We recommend specifically ensuring you pass the **url, path, host, title, search, and referrer** in the message `properties` and **ip and user-agent** in the message `context` .
13+
Be sure to pass through as many fields as you can in Segment's [Page](/docs/connections/spec/page/) and [Common](/docs/connections/spec/common/) spec, so that you get full functionality in any downstream tools you choose to enable. Segment recommends specifically ensuring you pass the **url, path, host, title, search, and referrer** in the message `properties` and **ip and user-agent** in the message `context` .
1414

15-
Here's an example of an express middleware function that covers all those edge cases!
15+
Here's an example of an express middleware function that covers all those edge cases:
1616

17-
If you have any questions or would like help generally adopting this method for other languages and frameworks, be sure to [get in touch](https://segment.com/help/contact/).
17+
If you have any questions or would like help generally adopting this method for other languages and frameworks, be sure to [get in touch](https://segment.com/help/contact/){:target="_blank"}.
1818

1919
```js
2020
import express from 'express'

0 commit comments

Comments
 (0)