You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engage/using-engage-data.md
+22-26Lines changed: 22 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,15 @@ You can send your Computed Traits and Audiences to your Segment Destinations, wh
15
15
16
16
There are two ways to send data to Engage Destinations: as **Events** and as **Lists**.
17
17
18
-
**Event Destinations** receive data one by one, on a streaming basis as *events*, which are behaviors or traits tied to a user and a point in time. Every time a piece of data (such as a track event or identify call) is received in Segment — for example, from your website or your mobile app — Segment then sends this piece of data to the Destination right away.
18
+
**Event Destinations** receive data one by one, on a streaming basis as *events*, which are behaviors or traits tied to a user and a point in time. Every time a piece of data (like a Track event or Identify call) is received in Segment — for example, from your website or your mobile app — Segment then sends this piece of data to your destination.
19
19
20
-
**List Destinations** periodically receive data in batches, and these batches contain lists of users. In most cases, Segment sends data to a list destination every hour, and sends all data accumulated since the last batch was sent.
20
+
**List Destinations** periodically receive data in batches, or lists of users. In most cases, Segment sends a batch, which includes all data accumulated since the last batch was sent, once per hour.
21
21
22
-
Some Destinations, such as Salesforce Marketing Cloud have both “event” and “list” destination types that you can use.
22
+
Some Destinations, such as [Salesforce Marketing Cloud](/docs/connections/destinations/catalog/salesforce-marketing-cloud/) have both “event” and “list” destination types that you can use.
23
23
24
24
**Engage sends computed traits and audiences to destinations in different ways depending on whether the destination is an Event or List type**:
25
25
26
-
-[Computed Traits](/docs/engage/audiences/computed-traits/) are always sent to Event destinations either using an identify call for user traits, a group call for account-level computed traits, or a track event.
26
+
-[Computed Traits](/docs/engage/audiences/computed-traits/) are always sent to Event destinations either using an Identify call for user traits, a Group call for account-level computed traits, or a Track event.
27
27
28
28
- With [Audiences](/docs/engage/audiences/), Engage sends the audience either as a boolean (true or false) _user property_ to Event Destinations, or as a _user list_ to List Destinations. If you are a B2B company creating account audiences (where each account represents a group of users, like employees at a business) and sending them to list destinations, Engage sends the list of all users within an account that satisfies the audience criteria.
29
29
@@ -33,14 +33,14 @@ Some Destinations, such as Salesforce Marketing Cloud have both “event” and
33
33
34
34
**Event Destinations and Computed traits**
35
35
Computed traits can only be sent to Event destinations.
36
-
When Engage sends a computed trait to an Event destination, it uses an identify call to send user traits, or a group call to send account-level computed traits.
36
+
When Engage sends a computed trait to an Event destination, it uses an Identify call to send user traits, or a group call to send account-level computed traits.
37
37
38
38
**Event Destinations and Audiences**
39
39
40
-
-**`identify` call as a user trait**. When you use identify calls, the trait name is the snake_cased version of the audience name you provided, and the value is “true” if the user is part of the audience. For example, when a user first completes an order in the last 30 days, Segment sends an identify call with the property `order_completed_last_30days: true`, and when this user no longer satisfies that criteria (for example if 30 days elapses and they haven't completed another order), Segment sets that value to `false`.
41
-
-**`track` call as two events**: `Audience Entered` and `Audience Exited`, with the event property `order_completed_last_30days` equal to true and false, respectively.
40
+
-**Identify call as a user trait**. When you use Identify calls, the trait name is the snake_cased version of the audience name you provided, and the value is “true” if the user is part of the audience. For example, when a user first completes an order in the last 30 days, Segment sends an Identify call with the property `order_completed_last_30days: true`, and when this user no longer satisfies that criteria (for example, if 30 days elapses and they haven't completed another order), Segment sets that value to `false`.
41
+
-**Track call as two events**: `Audience Entered` and `Audience Exited`, with the event property `order_completed_last_30days` equal to true and false, respectively.
42
42
43
-
Segment sends an identify or track call for every user in the audience when the audience is first created. Later syncs only send updates for those users who were added or removed from the audience since the last sync.
43
+
Segment sends an Identify or Track call for every user in the audience when the audience is first created. Later syncs only send updates for those users who were added or removed from the audience since the last sync.
44
44
45
45
Most destinations require that you configure a column in your schema to receive the audience data, however, some destinations (like Braze and Iterable) allow you to send audiences without doing this. This depends on the individual destination, so consult the destination's documentation for details.
46
46
@@ -51,7 +51,7 @@ List destinations can only receive Audiences, and cannot receive computed traits
51
51
-**User-Level Audiences**: a list of users that belong to an audience
52
52
-**Account-Level Audiences**: a list of users within an account that satisfy the audience criteria
53
53
54
-
When syncing to a list destination Engage uploads lists of users directly to the destination. When you first create an audience, Segment uploads the entire list of audience users to the destination. Later syncs only upload the users that have been added or removed since the last sync.
54
+
When syncing to a list destination, Engage uploads lists of users directly to the destination. When you first create an audience, Segment uploads the entire list of audience users to the destination. Later syncs only upload the users that have been added or removed since the last sync.
55
55
56
56
User-list destinations can have individual limits on how often Segment can sync with them. For example, an AdWords audience is updated once every six hours or more, because that's what AdWords recommends.
57
57
@@ -60,17 +60,17 @@ For more information, see [Using Engage Data](/docs/engage/using-engage-data/).
60
60
61
61
## What do the payloads look like for Engage data?
62
62
63
-
The payloads sent from your Engage space to your destinations will be different depending on if you configured the destination to receive identify or track calls, and whether the payload is coming from a computed trait or audience. As a reminder, identify calls usually update a trait on a user profile or table, whereas track calls send a point-in-time event that can be used as a campaign trigger or a detailed record of when a user's audience membership or computed trait value was calculated.
63
+
The payloads sent from your Engage space to your destinations are different depending on if you configured the destination to receive Identify or Track calls and whether the payload is coming from a computed trait or audience. As a reminder, Identify calls usually update a trait on a user profile or table, whereas Track calls send a point-in-time event that can be used as a campaign trigger or a detailed record of when a user's audience membership or computed trait value was calculated.
64
64
65
65
To view the events generated by an Engage Space's audience or computed traits, navigate to **Unify settings > Debugger** and view the list of sources that are configured to generate events per [each destination instance](/docs/engage/warehouses/#why-are-there-multiple-schemas-prefixed-with-engage_-in-my-warehouse-when-i-only-have-one-space:~:text=Segment%20currently%20can,schemas%20than%20spaces.). Each source will only generate events to connected destinations. From the source's Debugger tab, you'll find the most recent events generated by that source per the connected destinations' audiences and computed traits.
66
66
67
-
In the full json body of an audience, computed trait, or journey, you'll find specific details under the `context.personas` object. These fields can be useful when building out [Destination Filters](/docs/connections/destinations/destination-filters/), [Actions destination mappings](/docs/connections/destinations/actions/#set-up-a-destination-action), and [Functions](/docs/connections/functions/).
67
+
In the full JSON body of an audience, computed trait, or journey, you'll find specific details under the `context.personas` object. These fields can be useful when building out [Destination Filters](/docs/connections/destinations/destination-filters/), [Actions destination mappings](/docs/connections/destinations/actions/#set-up-a-destination-action), and [Functions](/docs/connections/functions/).
68
68
69
-
The integrations object in the payload displays as `{"All" : false,}` and only lists some destinations. This is due to the fact that each source has multiple destinations connected while each audience/trait may only have a subset of destinations connected to it. See [Filtering with the Integrations Object](/docs/guides/filtering-data/#filtering-with-the-integrations-object) for more information. The integrations object routing specific events to its specified destinations is also why a destination's [Delivery Overview](/docs/connections/delivery-overview/) tab will show a large number of events under the [Filtered at destination](/docs/connections/delivery-overview/#:~:text=Filtered%20at%20destination%3A%20Events,will%20be%20filtered%20out.) box, as that destination will only receive the events intended to be sent to it by audiences, traits, or journeys that are connected to that specific destination.
69
+
The integrations object in the payload displays as `{"All" : false,}` and only lists some destinations. This is due to the fact that each source has multiple destinations connected while each audience or trait may only have a subset of destinations connected to it. See [Filtering with the Integrations Object](/docs/guides/filtering-data/#filtering-with-the-integrations-object) for more information. The integrations object routing specific events to its specified destinations is also why a destination's [Delivery Overview](/docs/connections/delivery-overview/) tab will show a large number of events under the [Filtered at destination](/docs/connections/delivery-overview/#:~:text=Filtered%20at%20destination%3A%20Events,will%20be%20filtered%20out.) box, as that destination will only receive the events intended to be sent to it by audiences, traits, or journeys that are connected to that specific destination.
70
70
71
71
### Computed Trait generated events
72
72
73
-
`Identify` events generated by a Computed Trait have the trait name set to the Computed Trait value:
73
+
Identify events generated by a Computed Trait have the trait name set to the Computed Trait value:
74
74
75
75
```js
76
76
{
@@ -91,7 +91,7 @@ The integrations object in the payload displays as `{"All" : false,}` and only l
91
91
}
92
92
```
93
93
94
-
`Track` events generated by a Computed Trait have a key for the trait name, and a key for the Computed Trait value. The default event name is `Trait Computed`, but you can change it.
94
+
Track events generated by a Computed Trait have a key for the trait name, and a key for the Computed Trait value. The default event name is `Trait Computed`, but you can change it.
95
95
96
96
```js
97
97
{
@@ -118,7 +118,7 @@ Engage only sends events to the destination if the Computed Trait value has chan
118
118
119
119
### Audience generated events
120
120
121
-
`Identify` events generated by an Audience have the Audience key set to `true` or `false` based on whether the user is entering or exiting the audience:
121
+
Identify events generated by an Audience have the Audience key set to `true` or `false` based on whether the user is entering or exiting the audience:
122
122
123
123
```js
124
124
{
@@ -139,7 +139,7 @@ Engage only sends events to the destination if the Computed Trait value has chan
139
139
}
140
140
```
141
141
142
-
`Track` events generated by an Audience have a key for the Audience name, and for the Audience value:
142
+
Track events generated by an Audience have a key for the Audience name, and for the Audience value:
143
143
144
144
```js
145
145
{
@@ -165,8 +165,8 @@ Engage only sends events to the destination if the Computed Trait value has chan
165
165
### Journeys generated events
166
166
The data type you send to a destination depends on whether the destination is an event destination or a list destination. For more information, read the [Journeys documentation](/docs/engage/journeys/send-data/#:~:text=a%20List%20destination.-,Event%20destination,%22traits%22%3A%20%7B%0A%20%20%20%20%22j_o_first_purchase__opened_email_dje83h%22%3A%20%22true%22%0A%20%20%7D%0A%7D,-List%20destination) on how Journeys Identity and Track event payloads get formatted when sending to Event destinations.
167
167
168
-
_See [this doc](/docs/engage/journeys/send-data/#what-do-i-send-to-destinations) for more information on Journeys events._
169
-
`Track` events generated by a journey have a key for the journey name "audience_key", and a key for the journey value:
168
+
_See the [Send Journeys data to a destination](/docs/engage/journeys/send-data/#what-do-i-send-to-destinations) documentation for more information on Journeys events._
169
+
Track events generated by a journey have a key for the journey name "audience_key", and a key for the journey value:
`Identify` events generated by a Journey have the Journey key set to `true` or `false` based on whether the user is entering or exiting the Journey:
192
+
Identify events generated by a Journey have the Journey key set to `true` or `false` based on whether the user is entering or exiting the Journey:
193
193
194
194
```js
195
195
{
@@ -242,7 +242,7 @@ For more granular control that lets you specify which external IDs Segment sends
242
242
243
243
## Rate limits on Engage Event Destinations
244
244
245
-
Many Destinations have strict rate limits that prevent Segment (and other partners) from sending too much data to a Destination at one time. Engage caps the number of requests per second to certain Destinations to avoid triggering rate limits that would cause data to be dropped. The most common scenario when customers run into rate-limits is when Engage first tries to sync a large set of historical users. Once this initial sync is done, we rarely run into rate-limit issues.
245
+
Many Destinations have strict rate limits that prevent Segment (and other partners) from sending too much data to a Destination at one time. Engage caps the number of requests per second to certain Destinations to avoid triggering rate limits that would cause data to be dropped. The most common scenario when customers run into rate-limits is when Engage first tries to sync a large set of historical users. Once this initial sync is done, Segment rarely runs into rate-limit issues.
246
246
247
247
For additional information on Destination-specific rate limits, check the documentation for that Destination. If you need a higher rate limit, [let Segment know](https://segment.com/contact){:target="_blank"} which Destination you need it for and why.
248
248
@@ -272,17 +272,13 @@ For additional information on Destination-specific rate limits, check the docume
272
272
## Syncing data to a new Destination for the first time
273
273
274
274
275
-
When you create a new Computed Trait or Audience in Engage, you can choose to calculate it either using all the available historical data from your Segment implementation, or only using data that arrives after you set up the trait or audience. By default, Segment opts to include historical data. Afterwards, Segment only sends updates to that destination.
275
+
When you create a new Computed Trait or Audience in Engage, you can choose to calculate it either using all the available historical data from your Segment implementation, or only using data that arrives after you set up the trait or audience. By default, Segment opts to include historical data. Afterwards, Segment only sends updates to that destination. To add a destination to your Engage space, refer to the [Engage settings](/docs/engage/settings/#destinations-settings) documentation.
276
276
277
-
> success ""
278
-
> **Why would I disable historical data?** You might want to disable historical data if you're sending a triggered campaign. For example, if you want to send an email confirming a purchase, you _probably_ don't want to email users who bought something months ago, but you *do* want to target current users as they make purchases (and thus enter the audience).
277
+
You might want to disable historical data if you're sending a triggered campaign. For example, if you want to send an email confirming a purchase, you _probably_ don't want to email users who bought something months ago, but you *do* want to target current users as they make purchases (and thus enter the audience).
279
278
280
279
> warning ""
281
280
> The Facebook Custom Audiences Website destination does not accept historical data, and so only uses data from after the moment you configure it.
282
281
283
-
> info ""
284
-
> Use the [Engage settings](/docs/engage/settings/#destinations-settings){:target="_blank"} to add a destination to your Engage space.
285
-
286
282
## Engage compatible Destinations: Event type
287
283
288
284
Connect any Cloud-mode destination that supports Identify or Track calls to Engage as an event type destination.
0 commit comments