Skip to Content
IdentityWarehouse Confirmation

Warehouse Confirmation

An identity graph built from your warehouse can also link events in real time. The two halves then work as one graph: realtime linking joins a visitor’s identifiers within moments of each event, and every warehouse run confirms or corrects what it decided, using everything your systems know: CRM records, orders, loyalty data. Each person ends up with one profile ID on both sides.

This page explains what realtime linking reports to the warehouse, how the two answers are read together, how corrections reach people already linked, and what you can do from the graph’s Realtime tab: check how the two agree, apply the warehouse’s latest result now, undo the last result, and try different safeguards on a copy of the graph.

Realtime linking reports what it saw and what it changed to the warehouse; the warehouse run joins that with the rest of your data, and its answer is copied back and read together with realtime linking as one answer

What happens automatically

As soon as a graph has both halves, Zeotap sets up everything the warehouse run needs:

  • Observations. Each time realtime linking sees a new combination of identifiers on a day, it records the combination and the profile it belongs to. The warehouse run reads these through an observations model that is attached to the graph for you, called Realtime identity observations, with one identifier per family the graph’s event sources map.
  • The change log. Every merge, split and correction realtime linking makes is recorded, with its reason.
  • The ID map. Each profile ID that was merged into another, and the ID that replaced it.

When you add an identifier to an event source’s mapping, the observations and their model gain that identifier too. The observations model stays attached for as long as the graph links events in real time.

One profile ID for each person

  • A visitor the warehouse did not know keeps the profile ID realtime linking gave them. The next warehouse run adopts it, so the ID your website or app was handed is the ID every warehouse table uses.
  • A visitor who turns out to be someone the warehouse already knew takes the warehouse’s ID, once, at the moment they are linked. The old ID keeps resolving to the new one.
  • A profile ID that was merged away is never brought back. The warehouse run maps every ID through the ID map before it chooses one.

The warehouse run joins people only on identifiers your systems vouched for: identifiers sent from your server, identifiers covered by an identity token, and device identifiers. An identifier that a browser asserted on its own is kept with the observation as a plain column, so the warehouse never merges two people because of it. A link that realtime linking itself declined never reaches the warehouse at all.

When a person withdraws consent for identification, their device’s observations are removed from the warehouse, so a later run cannot link the device again.

How the two answers are read together

After every warehouse run, its answer is copied next to the realtime one. Each identifier the warehouse knows is one of three kinds:

The warehouse gives the identifier toWhat realtime linking does with it
One personThe identifier belongs to that person. An event carrying it is that person’s, even before realtime linking has seen it.
Several people (a shared phone number, a family email)The identifier never joins anyone. An event carrying it is kept with the person the rest of the event points to.
Nobody (an identifier only seen in events)Realtime linking decides, as it does for a graph built from events alone.

Every person keeps their profile ID through all of this. When the warehouse joins two people, one of their two IDs is kept and the other points to it, so anything that stored either ID still finds the person.

Corrections

When events joined two people the warehouse keeps apart, they are separated after a short delay (30 minutes by default), so a warehouse run that is still catching up with a new sign-in does not split someone who really is one person. Each identifier goes with the person it belongs to, and identifiers only seen in events go with the person they were seen with most.

Once separated, the two are not joined again on the same evidence. A later event that carries both of their identifiers again is linked to each person separately. A newer warehouse run that joins them does join them.

People the warehouse joins are joined straight away. Both corrections reach your realtime syncs like any other change: a destination that merges people is asked to merge them, and audience entries and exits follow the person.

Checked by your warehouse graph

Open the graph and select the Realtime tab. A graph that also runs in your warehouse has a Checked by your warehouse graph section, showing how the two agree. A graph built from events alone has no warehouse run, so the section does not appear.

ShownMeaning
Linked since the last runPeople linked from events since the last warehouse run started. The next run checks them.
Differences after the last runIdentifiers that realtime linking and your warehouse place with different people after the last run. This is usually 0.
Last warehouse runWhen the last successful warehouse run finished.

The badge beside the title says whether events are reaching your warehouse: Connected once they are. If a warehouse run fails, the section says checking is paused. Linking from events carries on as normal, and checking resumes after the next successful run. Select Recount to bring these numbers up to date straight away, for example after you change a mapping. Tables in your warehouse lists the tables realtime identity writes there; see Reading the tables in your warehouse.

The Checked by your warehouse graph section of an identity graph's Realtime tab, showing people linked since the last run, differences after the last run, the time of the last warehouse run, and the results applied here

A graph whose schedule runs on a timer runs incrementally once it links events in real time: each run reads the observations that arrived since the last one, plus a short overlap so a late arrival is never missed.

Results applied here

Each warehouse run’s result is applied to the graph’s realtime profiles. Below the numbers, Results applied here shows:

  • Last result applied: when the result in use now was applied.
  • People waiting to be separated: people waiting out the short delay before they are separated.
  • Pairs kept apart: pairs of people your warehouse keeps apart, who are not linked again on the same evidence.
  • A table of recent results: when each started, why, whether it applied everything or only the changes since the last run, how many identifiers it applied and how many corrections it queued.
Results applied here on an identity graph's Realtime tab, showing when the last result was applied, the people waiting to be separated, the pairs kept apart, and the recent results

A result is applied by itself after every warehouse run of the graph. To apply the latest result without waiting, select Apply the latest result now. A large graph takes a few minutes; linking from events carries on meanwhile and moves to the new result in one step, so nobody is ever read half from one result and half from the other.

Undoing the last result

If a warehouse run produced a result you do not want, for example after a rule change you are about to undo, select Undo the last result within 24 hours of it being applied. The result before it goes back into use, the corrections made under the newer one are undone, and destination merges it caused that are still held for review are cancelled.

Audience entries and exits already sent to a destination are not undone. You can undo one result, once; the next warehouse run applies a fresh result as usual.

Trying different safeguards on a copy

To see what the graph would look like with different limits, for example one device ID per person instead of five, go to Safeguards on the same tab and, under Try different safeguards on a copy, set the limits and select Rebuild a copy. Each field shows the limit in use today. Everything the graph has linked is replayed into a copy beside it under the new limits. The graph in use is not touched.

When the rebuild finishes, each person in the copy keeps the profile ID they had wherever possible; the table shows how many kept their ID and how many got a new one. When the new limits split someone, the side that holds most of what the person had keeps their ID and the other side gets a new one. Compare the copy with the graph in use before switching to it.

Moving a workspace to another identity store

A workspace’s realtime identity data can move to another store, for example to a dedicated database in a different region. Ask your account team to move it.

The workspace’s graphs are copied while realtime linking carries on. For the last part of the copy, linking is held for a few seconds, and the events that arrive meanwhile are linked in the new store as soon as the move finishes. Every profile ID stays as it was, and no event is lost.

Reading the tables in your warehouse

Tables in your warehouse, in the Checked by your warehouse graph section, names three views in the graph’s output schema. The graph key is the graph’s ID without dashes.

ViewHolds
rt_obs_<graph key>One row per observation: profile_id, a column per identifier family, trust, first_ms and received_at.
rt_chg_<graph key>One row per change: kind, profile_id, reason, changed_at.
rt_idmap_<graph key>One row per merged-away profile ID: profile_id, current_profile_id, changed_at.

Rewriting historical events to the current person

A profile ID stored on an older event may since have been merged into another. One join against the ID map gives each event the person’s current ID. Replace events with your event table and cdp_identity.rt_idmap_<graph key> with the view Tables in your warehouse names.

BigQuery, Databricks and ClickHouse

SELECT e.*, COALESCE(m.current_profile_id, e.profile_id) AS current_profile_id FROM events e LEFT JOIN `cdp_identity`.`rt_idmap_<graph key>` m ON m.profile_id = e.profile_id

Snowflake

SELECT e.*, COALESCE(m.CURRENT_PROFILE_ID, e.PROFILE_ID) AS CURRENT_PROFILE_ID FROM events e LEFT JOIN CDP_IDENTITY.RT_IDMAP_<graph key> m ON m.PROFILE_ID = e.PROFILE_ID

Redshift

SELECT e.*, COALESCE(m.current_profile_id, e.profile_id) AS current_profile_id FROM events e LEFT JOIN "cdp_identity"."rt_idmap_<graph key>" m ON m.profile_id = e.profile_id

On ClickHouse a row with no match carries an empty string rather than NULL, so use if(m.profile_id = e.profile_id, m.current_profile_id, e.profile_id) in place of COALESCE.

After a split

The ID map follows merges. When a profile is separated into two, the events of the part that left still carry the ID the profile kept. To place each such event with its person, join the event’s identifier to the graph’s identifier table instead:

SELECT e.*, i.ss_id AS current_profile_id FROM events e JOIN cdp_identity._IDENTITY_IDENTIFIERS i ON i.family = 'anonymous_id' AND i.value_key = LOWER(TRIM(e.anonymous_id))

Identifiers that hold personal data, such as email addresses, are stored as the SHA-256 of their normalised value, so hash the event’s value the same way before you join.

Last updated on