Skip to content

Commit d8e8ecf

Browse files
authored
Merge pull request #5459 from segmentio/lizkane222-patch-29-1
Update Send Data Journey payload details
2 parents 71dd1b9 + ca87ae9 commit d8e8ecf

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

src/engage/journeys/send-data.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,15 @@ To use Trait Activation with Journeys:
4444
3. Select **Customized Setup**, then add identifier and trait mappings to customize the way you send data to your destination. For more, visit the [Trait Enrichment](/docs/engage/trait-activation/trait-enrichment/#customized-setup/) and [ID Sync](/docs/engage/trait-activation/id-sync/#customized-setup/) setup docs.
4545

4646

47-
## What do I send to destinations?
47+
## What events are sent to destinations?
4848

49-
The data type you send to a destination depends on whether the destination is an Event destination, or a List destination.
49+
The data type you send to a destination depends on whether the destination is an Event destination or a List destination.
50+
51+
To view the events that get generated by an Engage Space's Journeys, navigate to **Unify settings > Debugger** to view the list of sources that are configured to generate events for [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 generates events only to its connected destinations. Under the source's Debugger tab, you'll find the most recent events generated by that source according the connected destinations' audiences and computed traits.
52+
53+
The full JSON body of a journey event will have the journey's specific details found 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/).
54+
55+
The integrations object in these payloads will appear as `{"All" : false,}` and only list some destinations. This is due to the fact that each source has multiple destinations connected, while each journey 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 according to the journeys that are connected to that specific destination.
5056

5157
### Event destination
5258

@@ -58,6 +64,15 @@ When the user enters the step:
5864

5965
```json
6066
{
67+
"context": {
68+
"personas": {
69+
"computation_class": "audience", // the type of computation
70+
"computation_id": "aud_###", // the audience's ID, found in the URL
71+
"computation_key": "j_o_###", // the configured journey key that appears on user profile
72+
"namespace": "spa_###", // the Engage Space's ID
73+
"space_id": "spa_###" // the Engage Space's ID
74+
}
75+
},
6176
"type": "track",
6277
"event": "Audience Entered",
6378
"properties": {
@@ -72,6 +87,15 @@ When the user enters the step:
7287

7388
```json
7489
{
90+
"context": {
91+
"personas": {
92+
"computation_class": "audience", // the type of computation
93+
"computation_id": "aud_###", // the audience's ID found in the URL
94+
"computation_key": "j_o_###", // the configured journey key that appears on user profile
95+
"namespace": "spa_###", // the Engage Space's ID
96+
"space_id": "spa_###" // the Engage Space's ID
97+
}
98+
},
7599
"type": "identify",
76100
"traits": {
77101
"j_o_first_purchase__opened_email_dje83h": "true"

0 commit comments

Comments
 (0)