Skip to Content
IdentitySetting Up Realtime Identity

Setting Up Realtime Identity

Every workspace with Realtime audiences has realtime identity, starting with the ready-made Event identity graph. This page walks through making it yours: the identifiers it reads, how it trusts them, and how strictly your audiences and personalization combine a person’s identifiers.

1. Check the starter graph

Open Identity Graphs and select Event identity. Its rules link a person’s user ID, email, phone, login ID and up to ten devices, strongest first (see Realtime Identity). Its sources are your SDK and server event sources.

The Realtime tab of the Event identity graph: its stage, its identity store and the number of profiles

To use your warehouse graph’s rules in realtime as well, give that graph a realtime half: its rules then apply to your events, and its profiles share their IDs with your warehouse (see Realtime and Warehouse Identity).

To give an existing warehouse graph a realtime half, open it, and on its Configuration tab select Link events in real time (owners and admins). Before you confirm, note that:

  • the graph’s next warehouse run is a full rebuild, because identifiers are normalised the way realtime linking needs;
  • families named like devices (anonymous IDs, cookies, device IDs) are treated as devices, so one person can hold several; a device setting you already chose for a family is kept;
  • the graph serves nothing in realtime until you prepare it and switch it in (see Switching Realtime Graphs).

The graph’s Realtime tab opens once it is on.

2. Map your identifiers

Each event source has a mapping: which fields of its events hold which identifier. Website, app and server sources start with the standard mapping, which reads the fields the SDKs send (userId, anonymousId, traits.email, context.identities.email and more), so a standard implementation needs nothing here.

Edit a source’s mapping when your events carry an identifier somewhere else, for example a loyalty number in properties.member_id. Open the graph’s Realtime tab, find the source and select Edit mapping. See Event sources and their mappings.

Emails and phone numbers are normalised and hashed the same way in your events, your SDKs and your warehouse, so Pat@Example.com from a web form and pat@example.com from your CRM are one identifier, and so is an already-hashed copy of the same address.

3. Decide how far to trust the browser

Open Identity Resolution → Identity verification and choose the workspace’s verification level:

  • Off: every identifier is linked as the event states it.
  • Recommended (the default): a browser or app can link its own device to a login, while joining two people who are already known takes a link your systems vouched for.
  • Required: a login or an email reaches a device only when an identity token or a server write credential vouches for it.

Vouch for logins from your server with a server write credential, or from your site with an identity token. See Verifying Identity.

4. Choose how shared devices are attributed

When two people sign in on one browser, the graph’s attribution decides who the browser belongs to: the first person (the default), the latest, or neither. See Shared Devices.

5. Choose read policies for your audiences

A read policy decides which of a person’s links an audience or a Site uses when it reads their profile. The profile ID is the same under every policy; only which identifiers are combined changes.

PolicyCombines
All links (the default)Every identifier in the profile.
Confirmed by your warehouseWhat your warehouse resolved, and the realtime links your warehouse has confirmed.
Logged-in identifiers onlyStrong identifiers such as user ID and email, without devices.

Custom policies, under Advanced, choose by where a link came from, whether it was verified, which families to leave out and, for probabilistic links, a minimum confidence. A workspace has up to five policies. Each audience picks its own policy, and the audience builder shows how its size compares with All links.

The read policies on the Realtime identity card: All links, Confirmed by your warehouse and Logged-in identifiers only, with a custom policy below

6. Go Live

The workspace moves through Building, Comparing and Live (see Rolling it out in stages). In Comparing, the graph’s answers are checked against today’s profiles and each difference is shown as expected (for example a device the attribution rule now gives to one person) or unexpected. Once a workspace is Live, your audiences, personalization, syncs and the identity API read the graph.

Next steps

Last updated on