Skip to content

Commit 12203ef

Browse files
authored
Merge pull request segmentio#171 from segmentio/repo-sync
repo sync
2 parents ff2b999 + c47970d commit 12203ef

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

src/personas/audiences/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,19 @@ To create a new audience:
9595
> warning ""
9696
> [Facebook Custom Audiences](/docs/connections/destinations/catalog/personas-facebook-custom-audiences/), [Marketo Lists](/docs/connections/destinations/catalog/marketo-static-lists/), and [Adwords Remarking Lists](/docs/connections/destinations/catalog/adwords-remarketing-lists) have rate limits on how quickly we can update an audience. We sync at the highest frequency allowed by the tool, which is between 1 hour and 6 hours.
9797
98+
### Editing Realtime Audiences and Traits
99+
100+
Personas supports the editing of realtime Audiences and Traits, which allows you to make nuanced changes to existing Traits and Audiences in situations where cloning or building from scratch may not suit your use case.
101+
102+
To edit a realtime Trait or Audience, follow these steps:
103+
104+
1. In your Personas Space, select the **Computed Traits** or **Audiences** tab.
105+
2. Select the realtime Audience or Trait you want to edit.
106+
3. Select the **Builder** tab and make your edits.
107+
4. Select **Save Audience** to confirm your edits.
108+
109+
Personas then processes your realtime Audience or Trait edits. Once Personas has finished incorporating your changes, you'll be able to access your updated Audience or Trait.
110+
98111
## Accessing your Audiences using the Profiles API
99112

100113
You can access your audiences using the Profile API by querying the `/traits` endpoint. For example, if you can query for the `high_value_user` with the following GET request:

src/personas/journeys/faq-best-practices.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,31 @@ To edit the steps within a published Journey, make a copy of the Journey you wis
3737

3838
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.
3939

40-
### Use Traits for conditions based on historical data
40+
### Know how to incorporate historical data
4141

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.
4343

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.
4545

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 |
49+
| ------------------ | ---------------------------------- |
50+
| Computed Trait | Yes |
51+
| Audience Reference | Yes |
52+
| Event | No |
53+
| Custom Trait | No |
54+
55+
56+
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.
4765

4866
### Use dev spaces and data warehouse destinations to test journeys
4967

0 commit comments

Comments
 (0)