B2B account stitching

B2B account stitching enriches your event datasets with account information 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 information: For events that contain a person ID, the person-to-account mapping is used to derive and add the account information. Any account information on the event itself is used as a fallback method.

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 enable and configure B2B account stitching at the connection level, and 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. 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.
  4. 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.
      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 on the following schedule:

Replay
Frequency
Data window
Short-term
Weekly
Last 7 days
Long-term
Monthly
Last 3 months

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