Skip to content

Commit 84a2c3d

Browse files
authored
Merge pull request #6297 from segmentio/master
CO Master back to develop 03_26_24
2 parents b9a96a8 + 2d6565e commit 84a2c3d

File tree

9 files changed

+178
-168
lines changed

9 files changed

+178
-168
lines changed

src/_data/sidenav/main.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -321,21 +321,6 @@ sections:
321321
title: Sample Queries
322322
- path: /unify/profiles-sync/tables
323323
title: Tables & Materialized Views
324-
- section_title: Linked Profiles
325-
slug: unify/linked-profiles
326-
section:
327-
- section_title: Setup Guides
328-
slug: unify/linked-profiles/setup-guides
329-
section:
330-
- path: /unify/linked-profiles/setup-guides/bigquery-setup
331-
title: BigQuery Setup
332-
- path: /unify/linked-profiles/setup-guides/snowflake-setup
333-
title: Snowflake Setup
334-
- path: /unify/linked-profiles/setup-guides/redshift-setup
335-
title: Redshift Setup
336-
- path: /unify/linked-profiles/linked-events
337-
title: Linked Events
338-
339324
- section_title: Traits
340325
slug: unify/traits
341326
section:
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Linked Audiences Use Cases
3+
plan: engage-foundations
4+
beta: true
5+
hidden: true
6+
redirect_from:
7+
- '/unify/linked-profiles/linked-audiences-use-cases'
8+
hidden: false
9+
---
10+
11+
Below are some example use cases to help you learn more about Linked Audiences.
12+
13+
## Use case 1: Build an audience of users who have a credit card with an outstanding balance
14+
15+
To build this audience, define a nested entity condition to relate a `Profile` to their:
16+
- `Account` entity
17+
- `Credit Card` entity where `credit_card.balance` is "Outstanding"
18+
19+
In the Data Graph, `Account` and `Credit Card` are defined as entities and represented as separate tables in your data warehouse.
20+
21+
Relationships are defined between:
22+
- `Profile` and `Account`
23+
- `Account` and `Credit Card`
24+
25+
In the warehouse, `credit_card.balance` is a column in the `Credit Card` table. By filtering against the `credit_card.balance` column for the "Outstanding" value, marketers can return a list of users that have a credit card with an outstanding balance.
26+
27+
## Use case 2: Build an audience of cat owners who are also a part of the platinum membership tier
28+
29+
To build this audience, define a nested entity condition to relate a `Profile` to their:
30+
- `Household` entity
31+
- `Pet` entity where `pet.type` is "Cat"
32+
33+
Define an audience membership condition to filter for users that are a member of the "Platinum membership tier" audience.
34+
35+
In the Data Graph, `Households` and `Pets` are defined as entities and are represented as separate tables in your data warehouse.
36+
37+
Relationships are defined between:
38+
- `Profiles` and `Households`
39+
- `Households` and `Pets`
40+
41+
In the warehouse, `pets.type` is a column in the `pets` table. By filtering against the `pets.type` column for the "cat" value, marketers can return a list of users that have a cat.
42+
43+
Then, adding the audience membership condition allows marketers to further refine their audience to only include users who are part of the "Platinum membership tier" audience.
44+
45+
## Use case 3: Build an audience of credit card holders with a certain number of transactions
46+
47+
To build this audience, define a nested entity condition to relate a `Profile` to their:
48+
- `Accounts` entity
49+
- `Subscriptions` entity where `subscriptions.tier` is "Premium"
50+
- `Transactions` entity where `transactions.count` is greater than five
51+
52+
This nested entity condition has four levels of relationship depth.
53+
54+
In the Data Graph, `Accounts`, `Credit Cards`, and `Transactions` are defined as entities.
55+
56+
Relationships are defined between:
57+
- `Profiles` and `Accounts`
58+
- `Accounts` and `Credit Cards`
59+
- `Credit Cards` and `Transactions`
60+
61+
In the warehouse, `subscriptions.tier` is a column in the `Subscriptions` table, and `transactions.count` is a column in the `Transactions` table. By filtering against the `subscriptions.tier` column for the "Premium" value, and the `transactions.count` column for values greater than five, marketers can return a list of users that have a premium account where there are greater than five transactions.

src/engage/audiences/linked-audiences.md

Lines changed: 97 additions & 140 deletions
Large diffs are not rendered by default.

src/unify/linked-profiles/data-graph.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ beta: true
55
hidden: true
66
---
77

8-
> info "Segment's Data Graph is in private beta"
9-
> The Data Graph is in private beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
8+
> info "Segment's Data Graph is in public beta"
9+
> The Data Graph is in public beta, and Segment is actively working on this feature. Some functionality may change before it becomes generally available.
1010
1111
With Linked Profiles, you can build a Data Graph that defines relationships between any entity data set in the warehouse and the Segment Profiles you send with Profiles Sync.
1212

@@ -18,6 +18,13 @@ Make this relational data accessible to marketers and business stakeholders to e
1818
> success ""
1919
> To help you get started with the Data Graph, [view this short setup demo](https://drive.google.com/file/d/1oZNvs0raYaxK6tds3OEF0Ri3NGVCoXys/view?pli=1){:target="_blank"}.
2020
21+
## Breaking changes
22+
23+
A breaking change occurs when deleting an entity or relationship that is being referenced by a data consumer. Note that an entity or relationship slug is immutable and treated as a delete if you make changes. Data consumers affected by breaking changes will fail on the next run.
24+
25+
### Potential breaking change
26+
27+
Editing the Data Graph may lead to errors with data consumers. If there’s a breaking change, the data consumer will fail on the next run. Unaffected data consumers will continue to work.
2128

2229
## Prerequisites
2330

@@ -347,11 +354,7 @@ To edit your Data Graph:
347354
1. Navigate to **Unify > Data Graph**.
348355
2. Select the **Builder** tab, and click **Edit Data Graph**.
349356

350-
Deleting entities and relationships are not yet supported.
351-
352-
> info ""
353-
> While you can edit entities and relationships in the Data Graph, this may lead to errors in downstream services referencing these entities and relationships. Segment recommends you recreate your existing Linked Audience and/or remove the entity from your existing Linked Events mappings.
354-
357+
A data consumer refers to a Segment feature referencing entities and relationships from the Data Graph.
355358

356359
## Next steps
357360

src/unify/linked-profiles/linked-events.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Linked Events
33
beta: true
44
plan: unify
5+
hidden: true
56
---
67

78
> info "Linked Events is in private beta"

src/unify/linked-profiles/setup-guides/BigQuery-setup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: BigQuery Setup
33
beta: true
44
plan: unify
5+
hidden: true
56
---
67

78
> info "Linked Events is in private beta"

src/unify/linked-profiles/setup-guides/redshift-setup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Redshift Setup
33
beta: true
44
plan: unify
5+
hidden: true
56
---
67

78
> info "Linked Events is in private beta"

src/unify/linked-profiles/setup-guides/snowflake-setup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Snowflake Setup
33
plan: unify
44
beta: true
5+
hidden: true
56
---
67

78
> info "Linked Profiles is in private beta"

src/unify/profiles-sync/profiles-sync-setup/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ The following table shows the supported Profiles Sync warehouse destinations and
2828

2929
| Warehouse Destination | Required steps
3030
| -------------- | ----------- |
31-
| [Snowflake](/docs/connections/storage/catalog/snowflake/#getting-started) | Follow the steps in [Snowflake Getting Started](/connections/storage/catalog/snowflake/#getting-started) |
32-
| [Redshift](/docs/connections/storage/catalog/redshift/#getting-started) | Follow the steps in [Redshift Getting Started](/connections/storage/catalog/redshift/#getting-started) |
33-
| [BigQuery](/docs/connections/storage/catalog/bigquery/) |
34-
| [Azure](/docs/connections/storage/catalog/azuresqldw/) | Follow the steps in [Azure Synapse Analytics Getting Started](/connections/storage/catalog/azuresqldw/#getting-started) |
35-
| [Postgres](/docs/connections/storage/catalog/postgres/) | Follow the steps in [Postgres getting started](/docs/connections/storage/catalog/postgres/). |
36-
| [Databricks](/docs/unify/profiles-sync/profiles-sync-setup/databricks-profiles-sync/) | Follow the steps in the [Databricks for Profiles Sync](/docs/unify/profiles-sync/profiles-sync-setup/databricks-profiles-sync/) guide. |
31+
| [Snowflake](/docs/connections/storage/catalog/snowflake/#getting-started) | Follow the steps in [Snowflake Getting Started](docs/connections/storage/catalog/snowflake/#getting-started). |
32+
| [Redshift](/docs/connections/storage/catalog/redshift/#getting-started) | Follow the steps in [Redshift Getting Started](docs/connections/storage/catalog/redshift/#getting-started). |
33+
| [BigQuery](/docs/connections/storage/catalog/bigquery/) | Follow the steps in [BigQuery Getting Started](/docs/connections/storage/catalog/bigquery/#getting-started).
34+
| [Azure](/docs/connections/storage/catalog/azuresqldw/) | Follow the steps in [Azure Synapse Analytics Getting Started](docs/connections/storage/catalog/azuresqldw/#getting-started). |
35+
| [Postgres](/docs/connections/storage/catalog/postgres/) | Follow the steps in [Postgres Getting Started](/docs/connections/storage/catalog/postgres/). |
36+
| [Databricks](/docs/unify/profiles-sync/profiles-sync-setup/databricks-profiles-sync/) | Follow the steps in the [Databricks Getting Started](/docs/unify/profiles-sync/profiles-sync-setup/databricks-profiles-sync/#getting-started)). |
3737

3838
After you’ve finished the required steps for your chosen warehouse, you’re ready to connect your warehouse to Segment. Because you’ll next enter credentials from the warehouse you just created, **leave the warehouse tab open to streamline setup.**
3939

0 commit comments

Comments
 (0)