What is an identity graph?
An identity graph records the connections between the many identifiers a single customer uses. It is how a system answers whether two ids belong to the same customer.
What it holds
An identity graph stores identifiers as nodes and the links between them as edges. A customer’s email, their device ids, their account id, and their cookies become connected nodes. Ask the graph about any one id and it returns the others that belong to the same customer.
Each edge should also record why it exists: which event made the link, when, and on what evidence. That record is what lets the graph be corrected later, when a link turns out to be wrong.
An example graph
Take one customer of an online retailer. Over a month they leave these identifiers behind:
- a cookie on their laptop browser, from the first visit
- a second cookie on the same laptop, after the browser cleared the first one
- a cookie on their phone browser
- a device id from the retailer’s mobile app
- an account id, created at checkout
- an email address, entered at signup
None of these ids knows about the others. The graph joins them. Logging in on the laptop links the second cookie to the account. Opening the app and signing in links the app’s device id to the same account. Clicking a link in an order email on the phone links the phone’s cookie. The first laptop cookie stays on its own until something connects it, perhaps never.
The result is six nodes, five of them connected to one account. A system that sees only the phone cookie can ask the graph who this is and get back the account, and through it the rest.
How links get made
There are two ways to decide that two identifiers belong together.
Deterministic links come from exact shared data. The same account signed in on two devices, or the same email entered in two places, is the same person. These links are precise and easy to explain.
Probabilistic links are inferred from patterns, such as the same network, device characteristics and behavior at similar times. They connect more identifiers, including ones that never log in, and they are sometimes wrong. The trade-off is covered in deterministic vs probabilistic identity matching.
Merges, splits and shared devices
A graph changes as evidence arrives. Two clusters of ids that turn out to share a login merge into one customer. A link that turns out to be wrong has to be removed, and the cluster split back into two people.
Shared devices cause most wrong links. Two people in a household use one tablet, or staff sign in to a kiosk on behalf of customers. If the graph links every id seen on that device, it joins people who have nothing in common, and every profile built on the graph inherits the mistake. A common safeguard is a limit on how many accounts one device may link to before the graph stops trusting it.
Identity graph, identity resolution and profiles
The terms are often used together, and they describe different parts of the same job:
- Identity resolution is the process of deciding which identifiers belong to the same customer.
- The identity graph is where those decisions are stored and looked up.
- Identity stitching joins the history recorded under each linked id into one record.
- A customer profile is what the business reads: attributes about the customer, built on top of the graph.
First-party and third-party graphs
The phrase covers two different products. A first-party identity graph is built from a company’s own data: its logins, its apps, its emails. It describes that company’s customers and nobody else’s.
A third-party identity graph is sold by a data or advertising vendor. It links identifiers across many sites and apps so advertisers can reach the same person in different places. It answers a different question, who this person is across the web, and depends on the vendor’s own sources. This article is about the first kind.
When the graph is read
A graph is only useful at the moment something reads it. A recommender, a support tool or an AI agent usually holds whatever id the current device has, often a cookie. It asks the graph who that is, then reads the profile for the answer.
If the graph is updated in batch, a link made a few minutes ago, such as a login on a new device, is not in it yet. The customer who just signed in is still a stranger to every system that reads the graph until the next update. A graph that applies links as they happen lets the next request see the whole person.
Why it is central to profiles
A profile keyed on a resolved customer depends on the graph to know which activity is theirs. Get the graph wrong and two people’s behavior merges into one profile, or one person’s splits into two. The quality of the graph sets the quality of every profile built on it.
Identity graphs and Signals
Signals computes attributes on whatever key you choose: a user, a session, a device, a basket. Some questions need no identity graph at all, because an attribute keyed on a session answers them. Snowplow Identities resolves identifiers deterministically, and an attribute group keyed on the Snowplow ID computes attributes over every event that carries it. Combining two profiles when their IDs merge is still to come. Identity resolution covers how the two fit.
See it on your own traffic
Add the SDK, define one attribute, and see an attribute updating against your own traffic in the first session. The free tier runs on the real engine: no card, no sales call.