Skip to content

Commit 1675cb1

Browse files
committed
Linked Events refresh
1 parent aebe491 commit 1675cb1

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

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

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,26 @@ plan: unify
44
hidden: false
55
---
66

7-
Use Linked Events to enrich real-time event streams with entities from your data warehouse to your destinations. Insert additional event context for downstream applications for richer data about each event.
7+
Use Linked Events to enrich real-time event streams with entities from your data warehouse to your destinations. Insert additional event context for downstream applications for richer data about each event.
88

9-
> info "Consent enforcement for Linked Events"
10-
> You can use [Consent Management](/docs/privacy/consent-management/) to enforce consent in your downstream destinations for Linked Events stamped with the [consent object](/docs/privacy/consent-management/consent-in-segment-connections/#consent-object). You must enable Consent Management and have consent stamped on events from event streaming sources to use Consent Management. You cannot use Linked Events to enrich events with consent preferences that are stored in your warehouse.
11-
12-
On this page, you'll learn how to get started with Linked Events.
9+
On this page, you'll learn how to get started with Linked Events. Linked Events supports Snowflake, BigQuery, Redshift, and Databricks.
1310

14-
> info "Linked Events warehouse support"
15-
> Linked Events supports Snowflake, BigQuery, Redshift, and Databricks.
11+
> info "Consent enforcement for Linked Events"
12+
> You can use [Consent Management](/docs/privacy/consent-management/) to enforce consent in your downstream destinations for Linked Events stamped with the [consent object](/docs/privacy/consent-management/consent-in-segment-connections/#consent-object). You must enable Consent Management and have consent stamped on events from event streaming sources to use Consent Management. You cannot use Linked Events to enrich events with consent preferences that are stored in your warehouse.
1613
1714
## Use cases
1815

1916
With Linked Events, you can:
2017

2118
- **Add details to events for precise targeting**. Enable targeting by appending product events that only have `product_id` with full product SKU details from your warehouse.
22-
- **Sync enriched data**. Add a loyalty ID to event payloads before sending it downstream to destinations such as Amplitude, Mixpanel, and more.
19+
- **Sync enriched data**. Add a loyalty ID to event payloads before sending it downstream to destinations like Amplitude, Mixpanel, and more.
2320
- **Reduce load times**. Enrich page view events with products and subscriptions connected to that view, and send that to Google Analytics 4 to lighten the front end and reduce page loading time.
2421

2522
## Prerequisites
2623

2724
To use Linked Events, you'll need the following:
2825

29-
1. A supported data warehouse.
26+
1. A supported data warehouse. Linked Events supports Snowflake, BigQuery, Redshift, and Databricks.
3027
2. Access to Unify in your workspace.
3128
3. Access to the actions-based destination you'll be using with Linked Events so that you can validate your data.
3229

@@ -37,9 +34,8 @@ To use Linked Events, you'll need the following:
3734

3835
The following Segment access [roles](/docs/segment-app/iam/roles/) apply to Linked Events:
3936

40-
**Entities Admin Access**: Entities Admins have the ability to view and edit entity models and connection details.
41-
42-
**Entities Read-only Access**: Entities Read-only users have the ability to view entity models.
37+
- **Entities Admin Access**: Entities Admins have the ability to view and edit entity models and connection details.
38+
- **Entities Read-only Access**: Entities Read-only users have the ability to view entity models.
4339

4440
To create models and enrich events in destinations, you need to be a `Workspace Owner` or have the following roles:
4541

@@ -50,24 +46,24 @@ To create models and enrich events in destinations, you need to be a `Workspace
5046
## Step 1: Set up your data warehouse and permissions
5147

5248
> info ""
53-
> Linked Events uses Segment's [Reverse ETL](/docs/connections/reverse-etl/) infrastructure for pulling in data from your warehouse.
49+
> Linked Events uses Segment's [Reverse ETL](/docs/connections/reverse-etl/) infrastructure to pull in data from your warehouse.
5450
55-
To get started, you'll need to set up your data warehouse and provide the correct access detailed in the set up steps below. Linked Events supports [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/), [Databricks](/docs/unify/linked-profiles/setup-guides/databricks-setup/), [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/), and [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/).
51+
To get started, you'll need to set up your data warehouse and provide Segment the access detailed in the setup steps below. Linked Events supports [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/), [Databricks](/docs/unify/linked-profiles/setup-guides/databricks-setup/), [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/), and [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/).
5652

5753
## Step 2: Connect your warehouse to the Data Graph
5854

5955
> success ""
60-
> Before getting started with the Data Graph, be sure to set up your warehouse permissions.
56+
> Before getting started with the Data Graph, set up your warehouse permissions.
6157
6258
1. Navigate to **Unify > Data graph** and click **Add warehouse**.
63-
2. Select a warehouse to connect from the [supported data warehouses](#supported-data-warehouses).
59+
2. Select one of the [supported data warehouses](#supported-data-warehouses).
6460
3. Connect your warehouse.
6561
3. Click **Test Connection** to be sure your warehouse is connected.
6662
4. After a successful test, click **Save**.
6763

6864
### Schema
6965

70-
Linked Events uses Reverse ETL to compute the incremental changes to your data directly within your data warehouse. The Unique Identifier column detects data changes, such as new, updated, and deleted records.
66+
Linked Events uses [Reverse ETL](/docs/connections/reverse-etl/) to compute the incremental changes to your data directly within your data warehouse. The Unique Identifier column detects data changes, like new, updated, and deleted records.
7167

7268
For Segment to compute data changes in your warehouse, Segment requires both read and write permissions to the warehouse schema table. At a high level, the extract process requires read permissions for the query being executed. Segment tracks changes to the query results through tables that Segment manages in a dedicated schema (for example, `_segment_reverse_etl`), which requires some write permissions.
7369

@@ -80,17 +76,17 @@ The table below shows the data warehouses Linked Events supports. View the Segme
8076

8177
| Data Warehouse | Steps |
8278
|------------------------|-------------------------|
83-
| [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/) | 1. Configure your snowflake database. <br> 2. Enter your credentials. <br> 3. Test the Connection. <br> 4. Click **Save**. |
79+
| [Snowflake](/docs/unify/linked-profiles/setup-guides/snowflake-setup/) | 1. Configure your snowflake database. <br> 2. Enter your credentials. <br> 3. Test the connection. <br> 4. Click **Save**. |
8480
| [BigQuery](/docs/unify/linked-profiles/setup-guides/bigquery-setup/) | 1. Add your credentials to the database that has tables with the entities you want to enrich your event with. <br> 2. Test your connection. |
8581
| [Redshift](/docs/unify/linked-profiles/setup-guides/redshift-setup/) | 1. Select the Redshift cluster you want to connect. <br> 2. [Configure](/docs/connections/storage/catalog/redshift/#networking) the correct network and security settings. |
86-
| [Databricks](/docs/unify/linked-profiles/setup-guides/databricks-setup/) | 1. Configure your Databricks catalog. <br> 2. Enter your credentials. <br> 3. Test the Connection. <br> 4. Click **Save**. |
82+
| [Databricks](/docs/unify/linked-profiles/setup-guides/databricks-setup/) | 1. Configure your Databricks catalog. <br> 2. Enter your credentials. <br> 3. Test the connection. <br> 4. Click **Save**. |
8783

8884

8985
## Step 3: Build your Data Graph
9086

91-
The Data Graph is a semantic layer that represents a subset of relevant business data that you'll use to enrich events in downstream tools. Use the configuration language spec below to add models to build out your Data Graph.
87+
The Data Graph is a semantic layer that represents a subset of relevant business data that you'll use to enrich events in downstream tools. Use the configuration language spec below to add models and build out your Data Graph.
9288

93-
Each Unify space has one Data Graph. The current version is v0.0.6 but this may change in the future as Segment accepts feedback about the process.
89+
Each Unify space has one Data Graph. The current version is v0.0.6, but this may change in the future as Segment accepts feedback about the process.
9490

9591
> warning ""
9692
> Deleting entities and relationships are not yet supported.
@@ -160,8 +156,7 @@ To configure your sync schedule:
160156

161157
### Add entities
162158

163-
After you load a sample event, you can add entities from the **Enrich events with entities** section. You’ll select an entity, then an entity match property.
164-
- The entity match property is the property in the event that you want to match to the primary key.
159+
After you load a sample event, you can add entities from the **Enrich events with entities** section. You’ll select an entity, then an entity match property, or the property in the event that you want to match to the primary key.
165160

166161
After you’ve added an entity and match property, add your event enrichments.
167162

@@ -178,7 +173,7 @@ In the Mappings tab, locate the **Select Mappings** section where you can enrich
178173
4. Click **Save**.
179174

180175
#### Testing with Linked Events Enrichments
181-
The [Event Tester and Mappings Tester](/docs/connections/test-connections/#) support testing enrichments from Linked Events, allowing you to verify that entity data is correctly attached to your events before they reach destinations. When you have Linked Events configured, these enrichments appear in your test payload, showing you exactly how profile traits will add to your events.
176+
The [Event Tester and Mappings Tester](/docs/connections/test-connections/) support testing enrichments from Linked Events, allowing you to verify that entity data is correctly attached to your events before they reach destinations. When you have Linked Events configured, these enrichments appear in your test payload, showing you exactly how profile traits will add to your events.
182177

183178
When you test mappings with Linked Events Enrichments:
184179
* You can view the enriched fields in the **Request** section of the test results.

0 commit comments

Comments
 (0)