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/personas/journeys/journeys-logic.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Journeys are powered by a series of Audiences and Computed Traits. This guide de
8
8
9
9
By the end of this guide, you'll understand how and why users progress through your Journey. You'll also gain familiarity with the following key Journeys concepts:
10
10
11
-
-Journeys entry conditions and step behavior
11
+
-Journey entry conditions and step behavior
12
12
- How Segment evaluates Journeys step membership
13
13
- How real-time step membership works
14
14
@@ -25,7 +25,7 @@ Journey steps operate based on the following behaviors:
25
25
- The entry condition requires no previous step membership.
26
26
- Post-entry condition step membership relies on users at some point entering the preceding step.
27
27
- When a user first joins a step, Segment adds a `step_joined_time` trait to their profile.
28
-
- Membership is calculated by a real-time [Audience](/docs/personas/audiences/).
28
+
- Membership is calculated using Segment's [Real-Time Compute System](/docs/personas/audiences/#real-time-compute-vs-batch).
29
29
- Segment does not calculate Waits and Splits in real time.
30
30
31
31
The combination of these traits, audiences, and business rules allows you to create an enforced funnel with the following implications:
@@ -37,7 +37,9 @@ The combination of these traits, audiences, and business rules allows you to cre
37
37
38
38
## Step Membership
39
39
40
-
To enter a Journey, users must satisfy the entry conditions. To enter each subsequent step, three conditions must be true:
40
+
To enter a Journey, users must satisfy the entry conditions.
41
+
42
+
To enter each subsequent step, three conditions must be true:
41
43
42
44
43
45
1. The user previously joined the parent step.
@@ -46,11 +48,11 @@ To enter a Journey, users must satisfy the entry conditions. To enter each subse
46
48
47
49
### Evaluating Prior Step Membership
48
50
49
-
To evaluate whether a user has ever joined the previous step, Journeys appends the `preceding_step_joined_time` trait to the user’s profile. This trait notes when the user initially joined each step. To enter a step, users must satisfy both the `preceding_step_audience_member = True` condition and the Journey-defined audience conditions.
51
+
To evaluate whether a user has ever joined the previous step, Journeys appends the `preceding_step_joined_time` trait to the user’s profile. This trait notes when the user initially joined each step. To enter a step, users must satisfy both the `preceding_step_audience_member = True` condition and the step's defined conditions.
50
52
51
53
### Condition Steps
52
54
53
-
“Add a condition” steps operate like Personas audiences. The defined conditions provide criteria for each step’s audience membership rules.
55
+
“Add a condition” steps operate like [Personas audiences](/docs/personas/audiences/). The defined conditions provide criteria for each step’s membership.
54
56
55
57
### Wait Times
56
58
@@ -68,44 +70,44 @@ The following table summarizes the three step membership conditions and their eq
68
70
69
71
For every step after the entry step, Journeys leverages [the Personas real-time compute system](https://segment.com/docs/personas/audiences/#real-time-compute-vs-batch).
70
72
71
-
When a user's traits change or they exceed audience time conditions, they may no longer fulfill the conditions of a previously joined step. If a user joins a step but no longer meets its conditions, Segment removes them from that step’s preview and analytics. The user does, however, continue to progress through the Journey.
73
+
When a user's traits change or they exceed time-based conditions (for example, "within 7 days"), they may no longer fulfill the conditions of a previously joined step. If a user joins a step but no longer meets its conditions, Journeys removes them from that step’s preview and analytics. The user does, however, continue to progress through the Journey.
72
74
73
75
Consider the following example of Journey conditions for a cart abandonment campaign:
74
76
75
77
76
-
1. Entry Condition: User has clicked `add to cart` and `purchases = 0`in the last 7 days.
78
+
1. Entry Condition: User has clicked `add to cart` and `purchases = 0`within the last 7 days.
77
79
2. Wait Time Condition: 5 days.
78
80
3. Step Condition: User is member of `Example Audience A`
79
81
4. Send to Destination
80
82
81
-
If a user makes a purchase during the wait time of 5 days, Segment would set the audience membership to `false` for the audience created from the entry condition. However, the `preceding_step_audience_member` trait would remain on the user’s profile as true, so the user would meet the next step’s conditions and continue to progress through the Journey.
83
+
If a user makes a purchase during the wait time of 5 days, the system would update membership to `false` for the audience created from the entry condition. However, when evaluating Step Condition 3, the `preceding_step_audience_member` trait would remain on the user’s profile as true. As a result, the user would meet the step’s conditions and continue to progress through the Journey.
82
84
83
85
To maintain best practices and enforce your funnel, re-check or modify audience conditions that follow wait steps. For example, adding a `purchases = 0` condition to Step 3 results in Segment not advancing users who made a purchase during the wait time:
84
86
85
87
1. Entry Condition: User has clicked `add to cart` and `purchases = 0` in the last 7 days
86
88
2. Wait Time Condition: 5 days
87
-
3. Step Condition: User is member of `Audience A` and `purchases = 0` in the last 7 days.
89
+
3. Step Condition: User is member of `Example Audience A` and `purchases = 0` in the last 7 days.
88
90
4. Send to Destination
89
91
90
92
### Send to Destination steps
91
93
92
-
Segment neither sends `Audience Exit` events to Destinations nor removes users from Destinations lists. As a result, users cannot re-enter or loop within Journeys.
94
+
Because Journey members permanently remain in Destination sync stpes, Segment neither sends `Audience Exit` events to Destinations nor removes users from Destinations lists. As a result, users cannot re-enter or loop within Journeys.
93
95
94
96
Because Computed Traits from Journeys steps stay appended to user profiles, users permanently remain in a Journey after satisfying its entry conditions.
95
97
96
98
## FAQs
97
99
98
100
### What happens when a user reaches a single or Multi-Split Condition step and the conditions evaluates to `false`?
99
101
100
-
Each step’s membership conditions evaluate in real time, which means that users remain in their current step until the immediate next step’s conditions becomes true.
102
+
Each step’s membership conditions evaluate in real time, which means that users remain in a step until the immediate next step’s conditions becomes true.
101
103
102
104
### Can users exit and re-enter a Journey?
103
105
104
-
No. Users move down the Journey’s branches in sequential order and cannot re-enter. Journeys use a `true` or `false` profile trait to progress users. Users who meet the Journey’s entrance criteria stay in the Journey permanently.
106
+
No. Users move down the Journey’s branches in sequential order and cannot re-enter. Journeys appends a profile trait for each step a user enters. Because the system neither assigns `Audience Exit` events nor removes traits from profiles, users who meet the Journey's entry criteria stay in the Journey permanently.
105
107
106
108
### What happens to traits and audiences when I delete a Journey?
107
109
108
-
Deleting a Journey removes its underlying audiences from profile views. However, the Journey’s True/False traits remain in the user’s last recorded state.
110
+
Deleting a Journey removes its underlying audiences from profile views in Personas Explorer. However, the Journey’s True/False traits remain in the user’s last recorded state.
109
111
110
112
> info "Note"
111
113
> Cloning a Journey generates new, unique traits and sync keys. Deleting the original Journey won’t impact any cloned Journeys.
@@ -126,4 +128,4 @@ For example, to evaluate if a user already in a Journey has ever used a discount
126
128
127
129
### How do time windows within step conditions work?
128
130
129
-
With step condition time windows, you can designate a timeframe for Segment to evaluate whether or not a user has met the condition. Segment calculates the time window from the current point in time, not relative to any other steps in your Journey.
131
+
With time windows within step conditions, you can designate a timeframe for Segment to evaluate whether or not a user has met the condition. Segment calculates the time window from the current point in time, not relative to any other steps in your Journey.
0 commit comments