Skip to main content
Adrià García
← Back to the simulators

Customer Journey Analytics · Person ID

Who is one person to CJA?

The Martín family shares one account at an online shop: one login, one account ID and one household email. Each of them also has a club card with their own customer ID. CJA counts people by the field you choose as person ID. Change the field and see who each event goes to.

Scenario

Connection person ID

Each dataset chooses an identity from its schema. A record with no value in that field is dropped.

The website sends the customer ID once the buyer is chosen

The login belongs to the family. The buyer is chosen at checkout.

Stitching on the website and app datasets

Field-based: the ECID is on every row and the person ID only on some. They cannot be the same namespace.

With no customer ID, the website sends

Only applies with the customer ID as person ID.

The app writes IDs

The person ID is case-sensitive.

Illustrative scenario ↑ Back to the controls
Example assumptions

Example family, IDs, devices, events and figures. The split of rows with no person ID on shared devices is simplified.

Customer Journey Analytics · connection

Who CJA attributes each event to

One row per real person and one column per day. The border shows who it was; the label, the person CJA counts.

Analysis · consequences

What breaks in the analysis

What an analyst will see with this set-up, and what to change.

Architecture

Where it fits in the platform

The graph says who someone is, to activate, going forward and in near real time. Stitching says who they were, to measure, after the fact and per dataset. Both should use the same person key.

Comparison between the identity graph and Customer Journey Analytics stitching, top to bottom in five stages. Data: web events from the Web SDK with the ECID, plus the CRMID on login, and a CRM in batch with CRMID and email. Data Lake: events and records land in their datasets, with the primary identity flagged as primary=true. Identity: the Data Lake passes identities to Identity Service, which links them in a graph with its Linking Rules. Separately, the event datasets reach the CJA connection, which sets one person ID per dataset. Resolution, to activate: the graph reaches Profile, which merges in real time according to its merge policy, and the merged profile goes out to AJO and Destinations to act. Audiences are evaluated on that merged profile under its merge policy, which uses the graph to gather related identities. Identity settings cannot be switched off without resetting the sandbox. Resolution, to measure, by two routes. Field-based stitching, from CJA Select, takes the persistent ID and the person ID from the same dataset. Graph-based stitching, from CJA Prime, takes the persistent ID, looks it up in the graph and gets back one namespace. It ignores timestamps and inherits graph quality. Use: both deliver one person ID per row to Workspace, for People and attribution, and replay restates history inside the lookback window. The shared key: the top-priority unique namespace in the graph should be the connection person ID. CJA audiences published to Profile send that person ID, and if no profile has that identity, a new one is created.

The recommendation

A person is a customer, not an account or a device

The account ID meets the technical requirements of a person ID and still merges three people. The person ID has to represent one person.

  1. 01

    The customer ID, in every dataset

    Use the customer ID as person ID. Website, app and shop must all use the same one: if each dataset uses a different one, they do not join.

  2. 02

    Choose the buyer on the family account

    If the login belongs to the account, ask who is buying and send their customer ID. When there is none, leave the field empty rather than sending Undefined.

  3. 03

    The account as a dimension, not a person

    If what you want to analyse is the account, it goes in as a dimension, or as an Account ID in B2B, not as a person.

  4. 04

    Check stitching against active customers

    Compare people in CJA with active customers for the period. Far more means devices or IDs with mixed case are being counted. Fewer means shared accounts.

Architecture note · 08 The person you measure is not the person you activate The identity graph decides whom to activate now. Analytics stitching rebuilds who it was. They are two answers, and each is designed on its own. Read the note →

Explore this decision