B2B account stitching

B2B account stitching enriches your event datasets with account identities and enables complete analysis across the full customer journey in Customer Journey Analytics. When events lack an account ID, which Customer Journey Analytics B2B edition requires for ingestion, account stitching derives and adds that information automatically using a person-to-account mapping dataset you provide.

Without account stitching, any event that does not contain an account ID is dropped during ingestion. Account stitching resolves this limitation by looking up the account associated with the person on each event, adding the account ID both as the event is ingested and retroactively.

NOTE
B2B account stitching requires that you are entitled to the Customer Journey Analytics B2B edition in your environment before you can configure the functionality.

Account stitching performs the following operations on your datasets:

  • Elevate person identity: The person ID on each event is elevated to the configured identity namespace using the identity graph.
  • Add missing account identities: For events that contain a person ID, the person-to-account mapping is used to derive and add the account identity. Any account identity on the event itself is used as a fallback method.

How B2B account stitching works

To illustrate how B2B account stitching works, the dataset shown below is used as the starting point.

Base event dataset

In Customer Journey Analytics B2B Edition, events with no account ID in this non-stitched example event dataset are ignored and not ingested ( DeleteOutline ).

Action
Timestamp
Persistent ID
Account ID
Person ID
Event type
DataAdd
1/3/25
1234
Adobe
matt@adobe.com
Page view
FilterDelete
1/3/25
5678
DataAdd
3/4/25
9012
Ubiquity
cory@sky.com
DataAdd
3/7/25
4321
Sky
emily@sky.com
Call Center
FilterDelete
5/5/25
6106
carmen@adobe.com
DataAdd
6/1/25
8989
Ubiquity
cassidy@ubiquity.com
FilterDelete
6/2/25
1111

B2B account stitching prevent the events from being ignored and not ingested using the following operations:

Elevate person identities

Details

To support B2B account stitching, you provide a person-to-account mapping dataset. For example:

table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2
CRM ID Account ID
12hsd123 Adobe
f82jsd32 Sky
hg2023m2 Sky
b978bbw9 Ubiquity
fs453ghi Adobe

That person-to-account mapping dataset is elevated using graph-based stitching. For example, you provide email as the namespace to use. The result is an updated person-to-account mapping dataset with elevated person IDs.

table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 5-row-3
CRM ID Elevated Person ID Account ID
12hsd123 matt@adobe.com Adobe
f82jsd32 emily@sky.com Sky
hg2023m2 cory@sky.com Sky
b978bbw9 cassidy@ubiquity.com Ubiquity
fs453ghi carmen@adobe.com Adobe

Graph-based stitching is also used to elevate the person IDs in the experience event dataset. For example, see the updated value for emily@adobe.com.

table 0-row-5 1-row-5 2-row-5 3-row-5 4-row-5 5-row-5 6-row-5 7-row-5
Timestamp Persistent ID Original Account ID Original Person ID Elevated Person ID
1/3/25 1234 Adobe matt@adobe.com matt@adobe.com
1/3/25 5678 emily@adobe.com
3/4/25 9012 Ubiquity cory@sky.com cory@sky.com
3/7/25 4321 Sky emily@sky.com emily@sky.com
5/5/25 6106 carmen@adobe.com carmen@adobe.com
6/1/25 8989 Ubiquity cassidy@ubiquity.com cassidy@ubiquity.com
6/2/25 1111 111 111

Add missing account identitiers

Details

The person-to-account dataset is once more used to elevate the account IDs in the experience event dataset. For example, see the added value Sky for emily@sky.com and Adobe for carmen@adobe.com. And the updated value Sky (from Ubiquity) for cory@sky.com.

table 0-row-6 1-row-6 2-row-6 3-row-6 4-row-6 5-row-6 6-row-6 7-row-6
Timestamp Persistent ID Original Account ID Original Person ID Elevated Account ID Elevated Person ID
1/3/25 1234 Adobe matt@adobe.com Adobe matt@adobe.com
1/3/25 5678 Sky emily@sky.com
3/4/25 9012 Ubiquity cory@sky.com Sky cory@sky.com
3/7/25 4321 Sky emily@sky.com Sky emily@sky.com
5/5/25 6106 carmen@adobe.com Adobe carmen@adobe.com
6/1/25 8989 Ubiquity cassidy@ubiquity.com Ubiquity cassidy@ubiquity.com
6/2/25 1111 1111 1111

Result

This example shows how B2B account stitching updates your experience event data with missing person identifiers and missing and incorrect account identifiers, based on the person-to-account mapping dataset you have provided as input.

Prerequisites

Before you enable B2B account stitching, prepare the following datasets in Adobe Experience Platform:

Dataset
Required
Description
person-to-account dataset
Required
A lookup (record, non-time series) dataset that contains at a minimum a person ID (with namespace) and an account ID. These IDs are used to derive the person-to-account relationship map.
IMPORTANT
The person ID field in your person-to-account dataset must be marked as an identity in your schema.

Enable account stitching enable-account-stitching

You first enable and configure B2B account stitching at the connection level. When B2B account stitching is configured for a connection, you can then activate account stitching on individual event datasets within that connection.

Configure B2B stitching settings configure-b2b-stitching-settings

  1. In Customer Journey Analytics, navigate to Connections and create a new connection or edit an existing connection.

  2. In Connection settings, set the Primary ID to Building Account.

  3. Ensure you select the Optional containers you want to use in your B2B connection. You cannot modify the selection of these containers once you have saved a B2B stitching configuration.

  4. Select Open B2B stitching configuration.

    B2B saccount titching configuration

    note
    NOTE
    A previously configured B2B stitching configuration for an unsaved connection is indicated with Unsaved changes. You cannot modify Optional containers for a previously configured B2B stitching configuration.
  5. In the B2B stitching configuration dialog:

    B2B stitching configuration

    1. Configure the Person section:

      • Select a Person Identifier Namespace, for example Email, to which you want any person ID elevated. This field is required.
    2. Configure the Account section underneath Person to Account.

      table 0-row-3 1-row-3 2-row-3 3-row-3 4-row-3 5-row-3 6-row-3 7-row-3 2-align-center 6-align-center 10-align-center 14-align-center 18-align-center
      Field Required Description
      Person to Account dataset Required Select the lookup (record or non-time series dataset) that maps persons to accounts.
      Person ID Required Select the field in the dataset that contains the person ID. That field must be marked as an identity and cannot be the same as the Account ID field or Start time field.
      Account ID Required Select the field in the dataset that contains the account ID. That field cannot be the same as the Person ID field or Start time field.
      Mapping creation time

      Optionally, select the field that represents the date and time when person to account mapping got created. Useful for scenarios when a person switches multiple accounts over time.

      Example (when update_date field is selected):

      table 0-row-3 1-row-3 2-row-3
      update_date person account
      20260401 a@b.com Apple
      20260501 a@b.com Adobe
      • For all events with a timestamp in the update_date field before May 1st, 2026: a@b.com is mapped to Apple.
      • For all events with a timestamp in the update_date field on or after May 1st, 2026: a@b.com is mapped to Adobe.

      When no mapping time is specified, the lexicographic first account is used. This same algorithm is also used when two different account names have the exact same update_date value and a mapping creation time is specified.

      note
      NOTE
      If an error occurs while loading the field options, the drop-down menus will appear empty and an error indicator appears underneath each affected field. Verify your dataset schema and try again.
    3. Select Save to close the B2B stitching configuration dialog and return to the connection settings.

    4. The Unsaved changes indicator appears next to the Open B2B stitching configuration button until you save the connection.

Enable B2B stitching on event datasets

After configuring B2B stitching at the connection level, you must enable B2B account stitching individually for each event dataset that you want stitched.

  1. In Connection settings, select Add datasets or open the settings for an existing event dataset.
    See Add datasets or Edit a dataset for more information.

  2. For the specific event dataset for which you want to configure B2B account stitching, switch Enable Person to Account stitching on.

On

When Enable Person to Account stitching is on, you have configured B2B account stitching for the dataset.

  • The configuration of a person ID is required. That person ID is used to look up the account ID based on the person-to-account dataset.
  • The configuration of an account ID is optional.

B2B account stitching on event dataset on

Off

When Enable Person to Account stitching is off, you have not configured B2B account stitching for the dataset.

  • The configuration of an account ID is required.
  • The configuration of a person ID is optional.

B2B account stitching on event dataset off

Save

After you have configured the B2B stitching configuration and have finished adding or editing datasets, select Save to save the connection.

IMPORTANT
Once a connection is saved, the B2B stitching configuration becomes immutable. To view your settings after saving, select Open B2B stitching configuration. All fields appear in a read-only state. Additionally, if the dataset used for person-to-account mapping is deleted in Experience Platform, this connection is deleted.

Data update schedule

Account stitching derives the identity map from your person-to-account dataset daily and uses this information to update datasets enabled for stitching both short- and long-term on the following schedule:

Replay
Frequency
Data window
Short-term
Weekly
Last 7 days
Long-term
Monthly
Last 3 months (Prime package)
Last 6 months (Ultimate package)

Privacy and data hygiene

Account stitching honors standard privacy and hygiene requests for person identities, consistent with B2C stitching behavior. If a person ID is later removed through a Privacy or Hygiene request, the associated stitching performed using the identity graph is reversed.

B2B entities like accounts, account IDs, and global account IDs added to events through stitching are not removed during privacy or hygiene requests. These values do not contain personally identifiable information, so no legal obligation exists to remove these values.

recommendation-more-help
analytics-platform-help-main