Realtime Identity
Realtime identity gives each person one profile id across their devices and logins, kept current from their events as they arrive. When someone browses anonymously, signs in on their phone and later buys on their laptop, those events belong to one profile, so personalization, realtime audiences and journeys can see the whole person.
It works alongside the identity graph you already build from your warehouse: the warehouse graph brings in everything your systems know, and realtime identity keeps the profile current between its runs. Warehouse Confirmation explains how each warehouse run confirms or corrects what realtime linking decided.
Realtime identity is in preview. Enabling it sets up the workspace’s identity graph and the store it is kept in, and profiles update from your events from then on. Everything keeps using today’s profiles until your workspace moves to the Live stage. To see and shape the graph, see Using Realtime Identity.
Enabling realtime identity
Realtime identity is enabled per workspace. To turn it on, contact your account team and say where the workspace’s identity graph should be kept. Each workspace has one identity store, chosen when realtime identity is first enabled, and the workspace keeps it.
| Where the graph is kept | Best for |
|---|---|
| Shared store | Getting started quickly. A shared store is ready at once and serves many workspaces in its region. |
| Dedicated database | Workspaces with high event volumes or a residency requirement. A database is created for the workspace alone, highly available, in the region you choose. |
| Your own PostgreSQL | Keeping the graph in infrastructure you operate. You provide the connection details and the database is checked before it is used. |
On a Snowflake Native App install, your own administrators enable realtime identity, and the graph is kept in the app’s own database, so there is nothing to choose.
Regions for a dedicated database
A dedicated database can be created in any of these regions:
| Europe | Americas | Asia Pacific |
|---|---|---|
europe-west1 (Belgium) | us-central1 (Iowa) | asia-south1 (Mumbai) |
europe-west2 (London) | us-east1 (South Carolina) | asia-southeast1 (Singapore) |
europe-west3 (Frankfurt) | us-east4 (Virginia) | asia-northeast1 (Tokyo) |
europe-west4 (Netherlands) | us-west1 (Oregon) | australia-southeast1 (Sydney) |
A dedicated database takes a few minutes to create.
Using your own PostgreSQL
To keep the graph in your own PostgreSQL, provide its host, port, database name, a user and password, and the TLS mode. The database needs:
- PostgreSQL 14 or later.
- Encrypted connections. Use
requireor a stricter TLS mode. - A user that can create a schema in the database. Realtime identity keeps its tables in a schema of its own and manages them as new versions are released.
The database is checked before it is used, and every requirement it does not yet meet is listed with the step that meets it, so it can be put right in one pass. The password is stored securely and never shown again.
After enabling
The workspace gets the Event identity graph (see below), and its Realtime tab shows the workspace’s stage, its identity store and how many profiles the graph holds. See Setting up realtime identity.
Rolling it out in stages
A workspace moves to realtime identity in three stages, so it can be checked against the profiles you use today before anything relies on it.
| Stage | What happens |
|---|---|
| Building | The stage for building the graph from your events. Everything that reads profiles keeps using today’s profiles. Every workspace starts here. |
| Comparing | The stage for checking the graph against today’s profiles before anything relies on it. Readers still use today’s profiles. |
| Live | The stage in which readers use the realtime graph: one profile id for each person. |
The workspace moves to the next stage once the current one shows the graph is ready, and you can follow the comparison on the Realtime tab. Your account team moves the workspace to Live with you.
Turning realtime identity off returns the workspace to today’s profiles and deletes nothing: the workspace keeps its store and its graph, and turning it on again uses the same store.
The Event identity graph
Enabling realtime identity gives the workspace a ready-made identity graph, Event identity, built from your events alone. It appears under Identity Graphs with Events only as its source, so you can see it beside the graphs you build from your warehouse.
Event identity links people with these rules, strongest first:
| Identifier | Rule |
|---|---|
| User ID | One per profile |
| One per profile | |
| Phone | One per profile |
| Login ID | One per profile |
| Anonymous ID | Up to ten per profile, so one person’s browsers and devices join them; the least recently seen makes way for a new one |
Its page shows these rules. Because the graph is built from events as they arrive, there is nothing to schedule or run, and no models to add.
When the same identifier is claimed by two people, it stays with the person who had it first. Values that are not real identifiers, such as null, undefined, 0, anonymous and the opt-out ids that cookie-sync partners return, are set aside so they never join two people.
To see what the graph holds, choose how each source’s events are read and find a person, open the graph’s Realtime tab: see Using Realtime Identity.