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/faq-best-practices.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,31 @@ To edit the steps within a published Journey, make a copy of the Journey you wis
37
37
38
38
When you do this, the key used for syncing to destinations will be different from the copied Journey. Make sure you change the reference key used in the downstream destinations accordingly.
39
39
40
-
### Use Traits for conditions based on historical data
40
+
### Know how to incorporate historical data
41
41
42
-
Aside from the entry condition, all Journey step conditions are triggered by future events and existing trait memberships. This means that event-based conditions evaluate events that have occurred*after* the Journey is published.
42
+
Aside from the entry condition, all Journey step conditions are triggered by future events and existing trait memberships. Event-based conditions only evaluate events that occur*after* the Journey is published.
43
43
44
-
As a result, if you want to include historical events that may have occurred *before* the Journey was published, create conditions based on traits, instead of events.
44
+
When you [include historical data](/docs/personas/journeys/build-journey/#using-historical-data-for-the-entry-step) in a Journey's entry condition, Personas backfills entry with users who previously satisfied the entry condition. For example, to evaluate if a user has ever used a discount code mid-Journey, create and configure a [Computed Trait](/docs/personas/computed-traits/#conditions) to select for `discount_used = true` to use in your Journey.
45
45
46
-
For example, to evaluate if a user has ever used a discount code mid-Journey, create and configure a [Computed Trait](/docs/personas/computed-traits/#conditions) to select for `discount_used = true` to use in your Journey.
46
+
This historical backfill has no impact on any additional Journey steps, however. To include historical data in post-entry conditions, use the following table to identify which conditions will automatically backfill historical data:
47
+
48
+
| Condition Type | Automatic Historical Data Backfill |
To include historical data based on custom traits or events that predate the Journey, first build an Audience that includes the targeted data by following these steps:
57
+
58
+
1. Create a standard Personas Audience **outside of the Journeys builder**.
59
+
2. Add conditions that include the historical event or custom trait you want to include in the Journey.
60
+
3. After you've created the Audience, return to Journeys and create a **Part of an Audience** condition that references the audience you created in Step 2.
61
+
62
+
For example, to include `custom trait = ABC` in a Journey, create an Audience called `ABC` that includes that custom trait, then add the Journey condition **Part of Audience**`ABC`.
63
+
64
+
Using the **Part of Audience** condition, Journeys then populates the custom trait as if it were a backfill.
47
65
48
66
### Use dev spaces and data warehouse destinations to test journeys
0 commit comments