An example B2B project
- Topics:
- Use Cases
CREATED FOR:
- User
This article illustrates a use case where you want to properly report in Customer Journey Analytics on person data within the context of a typical B2B configuration. Such a configuration is part of the Real-Time CDP B2B edition. The use case explains how to set up, configure and report on profile (person) level based B2B data in Customer Journey Analytics.
Connection
Define your connection to include all relevant B2B datasets from Experience Platform. Datasets you can consider to add to your connection:
The relationship between the B2B lookup schemas, profile schema, and event schema is defined in the B2B setup within Experience Platform. See Schemas in Real-Time Customer Data Platform B2B Edition and Define a many-to-one relationship between two schemas in Real-Time Customer Data Platform B2B Edition.
To ensure a proper setup of a connection that supports person-based lookups of your B2B data, use the following illustration for an overview and follow these steps:
-
Add datasets from the table above to your connection.
-
For each lookup dataset that you add to your connection, you must explicitly define the relationship to an event dataset using the Key and the Matching key in the Edit dataset dialog.
-
For each lookup dataset that you want to transform for person-based B2B lookups, enable Transform dataset to ensure that the data is transformed for person-based lookups. See Transform datasets for B2B lookups for additional information.
The table below provides an example overview of the Person ID, Key, and Matching key values for each of the datasets.
DatasetPerson IDKeyMatching key
(in event dataset)B2B Activity DatasetSourceKey
personKey.sourceKeyB2B Person DatasetSourceKey
b2b.personKey.sourceKeyB2B Account DatasetSourceKey
accountKey.sourceKey ❶SourceKey
(B2B Person Dataset)
b2b.accountKey.sourceKey ❶B2B Opportunity DatasetSource Key
opportunityKey.sourceKey ❷SourceKey
(B2B Opportunity Relation Dataset)
opportunityKey.sourceKey ❷B2B Campaign DatasetSourceKey
campaignKey.sourceKey ❸SourceKey
(B2B Campaign Member Dataset)
campaignKey.sourceKey ❸B2B Marketing List DatasetSourceKey
marketingListKey.sourceKey ❹SourceKey
(B2B Marketing List Member Dataset)
marketingListKey.sourceKey ❹B2B Account Person Relation DatasetSourceKey
personKey.sourceKey ❺Source Key
(Event datasets)
personKey.sourceKey ❺B2B Opportunity Person Relation DatasetSourceKey
personKey.sourceKe y❻Source Key
(Event datasets)
personKey.sourceKey ❻B2B Campaign Member DatasetSourceKey
personKey.sourceKey ❼Source Key
(Event datasets)
personKey.sourceKey ❼B2B Marketing List Member DatasetSourceKey
personKey.sourceKey ❽Source Key
(Event datasets)
personKey.sourceKey ❽
See Add and configure datasets for more information on how to configure settings for a dataset.
Data view
To have access to relevant B2B dimensions and metrics when building your Workspace project, you must define your data view accordingly.
You can, for example, add the following components to your data view to ensure you can report on person-based level on your B2B data. The component names are sometimes modified for clarity from their original schema names.
Workspace
With your components properly defined in the data view, you can now build specific B2B reports and visualizations in your Workspace project.
Below is a screenshot from an example project that relies on the connection and data view described above. The visualization descriptions explain which of the freeform table visualization relies on the transformed B2B lookup data.