How Realtime Identity Works
Realtime identity recognizes the same person across devices and identifiers as their events arrive, under the rules of your identity graph. This page explains the ideas the rest of the realtime identity pages build on.
Identifiers, links and profiles
| Idea | What it is |
|---|---|
| Identifier | A value that names a person in one family: a user ID, an email, a phone number, an anonymous ID, a login ID, or a family you define. |
| Link | Two identifiers seen together on one event, or joined by your warehouse or by an admin. Every link keeps its evidence: where it came from, how far it is trusted, and when it was made. |
| Profile | All the identifiers linked to each other. A profile is one person, and has one profile ID. |
| Merge | When an event links identifiers from two profiles, the two become one. The older profile’s ID is kept, and the other one keeps resolving to it. |
An event with several identifiers links each of them to its strongest identifier: an identify carrying a user ID, an anonymous ID and an email joins all three to the user ID.
The graph’s rules decide what links
Realtime identity applies the rules of your identity graph, the same rules your warehouse resolution uses:
- Families and priorities. Which identifiers link, and which is strongest.
- Limits. How many values of a family one profile may hold. A person has one user ID, and up to ten browsers and devices; the least recently seen device makes way for a new one. Devices your warehouse gives a person count toward the limit and never make way, so a person your warehouse already holds at the limit gets no new device in realtime. They still gain a new email, phone or other identifier.
- Blocked values. Values that are not real identifiers, such as
null,0oranonymous, never join two people. - Attribution. What happens when a device is shared by two people who sign in: see Shared Devices.
When a link would break a rule, it is set aside and recorded with the reason, so the graph can always tell you why two identifiers are, or are not, one person.
Trust and consent
Links are graded by trust. An identifier your server sends, or one your site vouches for with an identity token, is verified. One a browser sends on its own is client-asserted. Your workspace’s verification level decides how far client-asserted links go; see Verifying Identity.
Links follow your visitors’ identify consent. A visitor who has not agreed to be identified is not linked, and a visitor who withdraws consent has their device separated from their profile.
One profile ID everywhere
The profile ID your website and apps see, the ID the identity API answers with, the ID your realtime syncs and Stores key people by, and the ID in your warehouse’s identity tables are the same ID. See Realtime and Warehouse Identity for how the two engines agree, and Profile IDs for when an ID changes.
Graphs that serve realtime
A workspace has one primary realtime graph, which answers for your SDKs, the identity API and event forwarding. Enabling realtime identity gives every workspace one ready to use, Event identity. A realtime audience is evaluated on the graph that serves its parent model, and the primary graph otherwise.
You can change a graph’s rules safely: prepare a new graph beside the one that serves, compare the two, and switch when you are ready. Profile IDs are kept across the switch.
Where to go next
- Setting Up Realtime Identity: the steps from enabling to Live.
- Why Are These Merged?: reading a profile’s evidence.
- The Identity API and the SDK: using profiles from your systems.