|
2 | 2 | title: Sending Segment Data to Destinations
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -You've decided how to format your data, and collected it using [Segment Sources](/docs/connections/sources/). Now what do you do with it? You send the data to Destinations! |
| 5 | +You've decided how to format your data, and collected it using [Segment Sources](/docs/connections/sources/). Now what do you do with it? You send the data to Destinations. |
6 | 6 |
|
7 | 7 | Destinations are tools or services which can use the data sent from Segment to power analytics, marketing, customer outreach, and more.
|
8 | 8 |
|
9 | 9 | > info ""
|
10 |
| -> Each Segment Workspace has its own set of destinations, which are connected to the workspace's sources. When you add or modify a destination, make sure you're working with the correct workspace! |
| 10 | +> Each Segment Workspace has its own set of destinations, which are connected to the workspace's sources. When you add or modify a destination, make sure you're working with the correct workspace. |
11 | 11 |
|
| 12 | +> info "HLS customers can encrypt data flowing into their destinations" |
| 13 | +> If you are a HLS customer with a HIPAA Eligible workspace, you can enable data encryption to encrypt data before it flows into your destination. |
| 14 | +> |
| 15 | +> To learn more about data encryption, see the [HIPAA Eligible Segment](/docs/privacy/hipaa-eligible-segment/#data-encryption) documentation. |
12 | 16 |
|
13 | 17 | ## Adding a destination
|
14 | 18 |
|
@@ -58,21 +62,21 @@ You can use the Segment Public API to add destinations to your workspace using t
|
58 | 62 |
|
59 | 63 | Adding a destination can have a few different effects, depending on which sources you set up to collect your data, and how you configured them.
|
60 | 64 |
|
61 |
| -#### Analytics.js |
| 65 | +### Analytics.js |
62 | 66 |
|
63 | 67 | If you are using [Segment's JavaScript library, Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/), then Segment handles any configuration changes you need for you. If you're using Analytics.js in cloud-mode, the library sends its tracking data to the Segment servers, which route it to your destinations. When you change which destinations you send data to, the Segment servers automatically add that destination to the distribution list.
|
64 | 68 |
|
65 | 69 | If you're using Analytics.js in device-mode, then Analytics.js serves as a wrapper around additional code used by the individual destinations to run on the user's device. When you add a destination, the Segment servers update a list of destinations that the library queries. When a user next loads your site, Analytics.js checks the list of destinations to load code for, and adds the new destination's code to what it loads. It can take up to 30 minutes for the list to update, due to CDN caching.
|
66 | 70 |
|
67 | 71 | You can enable device-mode for some destinations from the destination's Settings page in the Segment web app. You don't need to use the same mode for all destinations in a workspace; some can use device-mode, and some can use cloud-mode.
|
68 | 72 |
|
69 |
| -#### Mobile sources |
| 73 | +### Mobile sources |
70 | 74 |
|
71 | 75 | By default, Segment's [mobile sources](/docs/connections/sources/catalog/#mobile) send data to Segment in cloud-mode to help minimize the size of your apps. In cloud-mode the mobile source libraries forward the tracking data to the Segment servers, which route the data to the destinations. Since the Segment servers know which destinations you're using, you don't need to take any action to add destinations to mobile apps using cloud-mode.
|
72 | 76 |
|
73 | 77 | However, if the destination you're adding has features that run on the user's device, you might need to update the app to package that destination's SDK with the library. Some destinations require that you package the SDK, and some only offer it
|
74 | 78 |
|
75 |
| -#### Server sources |
| 79 | +### Server sources |
76 | 80 |
|
77 | 81 | Segment's [server sources](/docs/connections/sources/catalog/#server) run on your internal app code, and never have access to the user's device. They run in cloud-mode only, and forward their tracking calls to the Segment servers, which forward the data to any destinations you enabled.
|
78 | 82 |
|
|
0 commit comments