Identity resolution when signals disappear
On a synthetic shop, the uncertainty range from probabilistic identity matching held the true user count in 0 of 60 runs.
Main limitation Synthetic people and behaviour, and every loss rate and the mix of all four are my assumptions, two of them swept after the results: the sizes show how each rule fails, not how far a real shop's numbers drift. The range is the 5th to 95th percentile of 60 draws, over 6 scenarios of 10 runs, and held the truth in 1 of 90 runs over nine swept settings; with all four signals lost, deterministic stitching counted 2.9 to 3.0 times the true users, or 3.8 to 4.0 if each visit after a declined consent is a user (2.4 to 4.8 either way when swept), and four-feature probabilistic matching at a 0.9 posterior about as many.
Analytics teams count users and credit channels by stitching events into people: a login here, an email there, a cookie that lasts until a browser caps it. As those signals disappear, the counts drift. Here four of them go: one browser family caps cookies, phones withhold device ids, people decline or withdraw consent, and a migration maps 90% of logins and keeps device ids but loses cookies, install ids and email hashes. I built a synthetic shop where the true person behind every visit is known, took the signals away one at a time and then together, and scored three stitching rules against the truth. None of them stayed honest: the point counts drifted far from the truth, and the band that was meant to admit the uncertainty was narrow and almost always wrong.
Counted users per true user, all four losses
2.9 to 3.0
deterministic, identified users only, 10 runs; 3.8 to 4.0 if each visit after a declined consent counts as a user; 2.4 to 4.8 either way across nine assumed rate settings | Runs where the band held the true user count
0 of 60
6 scenarios, 10 runs each; it sat 12% to 14% too high with all four losses, and held the truth in 1 of 90 runs across the nine rate settings | Direct's last-touch share, all four losses
+10 points
deterministic; 2 points of it are channels the data never recorded, which no rule recovers | The migration alone, deterministic count error
+68 points
over the baseline's 61%; 90% of logins mapped and device ids kept, cookies, install ids and email hashes lost |
How far each rule's user count drifts, scenario by scenario
Each row takes some identifying signals away from the same synthetic people. The dot is how many users the deterministic rule counted for each true user, the diamond the same for the probabilistic rule at a posterior of 0.9, and the bar the band rule's 5th to 95th percentile. Each mark is the mean of 10 runs on different seeds; the table under the chart gives the lowest and highest run.
- Deterministic
- Probabilistic at 0.9
- Band, 5th to 95th percentile
| Rule | Counted per true user (runs) | Merges per 100 users | Splits per 100 users | Conversion rate, points off | Band held the true count |
|---|---|---|---|---|---|
| Baseline | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 1.61 (1.59 to 1.62) | 9 | 69 | −12 | |
| Probabilistic, 0.9 | 1.60 (1.59 to 1.62) | 9 | 69 | −12 | |
| Band (middle draw) | 0.77 to 0.78 | 48 | 26 | −4 | 0 of 10 |
| Cookie loss | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 2.71 (2.66 to 2.73) | 7 | 177 | −20 | |
| Probabilistic, 0.9 | 2.68 (2.63 to 2.71) | 7 | 175 | −20 | |
| Band (middle draw) | 1.05 to 1.06 | 52 | 58 | −12 | 0 of 10 |
| Device ids withheld | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 1.61 (1.59 to 1.62) | 9 | 69 | −12 | |
| Probabilistic, 0.9 | 1.60 (1.59 to 1.62) | 9 | 69 | −12 | |
| Band (middle draw) | 0.77 to 0.78 | 48 | 26 | −4 | 0 of 10 |
| Consent declined or withdrawn | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 2.48 (2.36 to 2.57) | 7 | 155 | −19 | |
| Probabilistic, 0.9 | 2.47 (2.36 to 2.57) | 7 | 154 | −19 | |
| Band (middle draw) | 0.74 to 0.75 | 41 | 116 | −4 | 0 of 10 |
| Platform migration | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 2.29 (2.26 to 2.32) | 8 | 137 | −17 | |
| Probabilistic, 0.9 | 2.26 (2.24 to 2.29) | 8 | 134 | −17 | |
| Band (middle draw) | 0.88 to 0.89 | 53 | 41 | −8 | 0 of 10 |
| All four at once | |||||
| Perfect stitch of the recorded rows | 1.00 (1.00 to 1.00) | 0 | 0 | 0 | |
| Deterministic | 3.95 (3.84 to 4.01) | 5 | 300 | −23 | |
| Probabilistic, 0.9 | 3.83 (3.71 to 3.97) | 6 | 289 | −23 | |
| Band (middle draw) | 1.12 to 1.14 | 46 | 157 | −13 | 0 of 10 |
The unsupervised fit, added after a development run
| Rule | Counted per true user (runs) | Merges per 100 users | Splits per 100 users | Conversion rate, points off | Band held the true count |
|---|---|---|---|---|---|
| Baseline | |||||
| Unsupervised fit, 0.9 (added) | 1.44 (1.42 to 1.46) | 18 | 62 | −12 | |
| Unsupervised band (added) | 0.84 to 0.85 | 46 | 30 | −6 | 0 of 10 |
| Cookie loss | |||||
| Unsupervised fit, 0.9 (added) | 1.76 (1.74 to 1.78) | 23 | 99 | −15 | |
| Unsupervised band (added) | 1.76 to 1.76 | 23 | 99 | −15 | 0 of 10 |
| Device ids withheld | |||||
| Unsupervised fit, 0.9 (added) | 1.44 (1.42 to 1.46) | 18 | 62 | −12 | |
| Unsupervised band (added) | 0.84 to 0.85 | 46 | 30 | −6 | 0 of 10 |
| Consent declined or withdrawn | |||||
| Unsupervised fit, 0.9 (added) | 2.34 (2.22 to 2.44) | 14 | 148 | −18 | |
| Unsupervised band (added) | 0.82 to 0.83 | 38 | 120 | −7 | 0 of 10 |
| Platform migration | |||||
| Unsupervised fit, 0.9 (added) | 0.89 (0.88 to 0.91) | 53 | 42 | −8 | |
| Unsupervised band (added) | 0.87 to 0.88 | 53 | 41 | −7 | 0 of 10 |
| All four at once | |||||
| Unsupervised fit, 0.9 (added) | 2.79 (2.68 to 2.88) | 20 | 199 | −20 | |
| Unsupervised band (added) | 1.93 to 1.93 | 20 | 199 | −17 | 0 of 10 |
A merge is each extra true person inside one counted user; a split is each extra counted user one person is spread over. The count error is splits minus merges by construction, so it is bookkeeping, not evidence. The perfect stitch joins every recorded row of each person, which no rule can do; its count is right by construction, and so are its channel shares in the baseline, consent and migration scenarios, where nothing is lost from the record. It is shown to separate what the data never recorded from what the stitching adds. The consent scenario's rise for the deterministic and probabilistic rules comes from the counting rule itself: each one-visit key after a declined or withdrawn consent is counted as a user. For the band rows, the count comes from identified users plus its estimate of the people behind one-visit keys, while merges and splits are scored over all rows, so there the count error is not splits minus merges; and each middle-draw value is the median of that measure on its own, not one draw.
What it means
Every distinct-id count drifts upwards; counting identified users only, consent loss lowers it (1.47 against 1.61). Even with every signal in place the deterministic rule counted 1.61 users per true user, with 69 splits per 100 users, because people who never log in or type an email on a second device stay separate users. The cookie cap raised it to 2.71, the migration to 2.29 and counting each one-visit key after a declined consent as a user to 2.48; withheld device ids barely moved the count (1.61) because they mostly cost reinstalls, which are rare here. All four together gave 3.95, or 2.95 counting identified users only. The probabilistic rule only ever joins deterministic users, so it can never count more; how much less is the question.
One set of assumed rates carries these sizes, so two were moved. Added after the results were read: with all four losses, the share who decline consent at 4%, 8% and 16% and the capped family's share of phone browsers at 30%, 55% and 80%, nine settings on the same 10 seeds (the declared 8% and 55% reproduce the main runs). The deterministic count ran 2.4 to 3.4 times the true users counting identified users only, and 3.4 to 4.8 counting every key; more capped phones raise both, more declines raise the distinct-id count and lower the identified one. The probabilistic rule stayed close to the deterministic one except in 4 runs, all at a 16% decline rate, where it linked far more pairs and counted 1.7 identified users per true user. The band held the truth in 1 of 90 runs. The table is under Method.
Probabilistic matching at 0.9 barely helps, because what it learnt does not transfer. Its weights come from the deterministic rule's own labels: pairs inside one logged-in person are matches, pairs between two different logins are non-matches. Those matches are mostly one person's different devices, and those non-matches are household members and office mates, so on the features this rule has (shared network addresses, the same browser class, one key ending as another begins) the two look alike. It accepted few links, and most of those were right (96% with all four losses), so it cut the count error by only 12 points. In the baseline, device and consent scenarios its 15 to 36 links a run were 31% to 35% right against its own 93%.
The band looked careful and was almost always wrong. It drew 60 linkings, each candidate pair linked with the probability the model gave it, and reported the 5th to 95th percentile. Its prior, the match share among labelled pairs, was 72% with all four losses, while only 50% of the pairs it scored were one person, so the draws linked far too much. With all four losses its count per true user ran 1.12 to 1.14, a band about 1.3% of the true count wide, and the truth was outside it in every run. A count that close to the truth hides 46 merges and 157 splits per 100 users. Four causes, each visible in the results: pairs were drawn independently and joined transitively, so the width (0.8% to 1.5% of the true count across scenarios) is draw noise only; chains through keys with no login merged people (41 to 53 merges per 100 users across scenarios); the prior was 72% against a true 50%; and its estimate of the people behind one-visit keys found about 0.7 per 100 users in the consent scenario, where 8 per 100 had declined.
The obvious fix missed too. Fitting the weights without labels (the textbook unsupervised method, added after a development run and labelled so) stopped at its 200-iteration cap in 60 of 60 runs. With all four losses it set the prior at 27%, below the true 50% (it overshot the other way there and with cookie loss alone, and sat above the truth in the other four scenarios), and gave nearly every pair a posterior near zero or one. It claimed 100% precision for links that were 78% right, cut the count to 2.79 users per true user with all four losses, and its band, drawn from near-certain posteriors, had no width and missed the truth in all 60 runs too. With the migration alone it undercounted (0.89), with 53 merges per 100 users.
Conversion rate falls as the count rises. The share of users who bought was 32% in truth; with all four losses the deterministic rule reported 23 points less, because every split adds a user who never bought. The band's middle draw was 13 points low; its band held the true rate in 0 of 10 runs.
The same problem for customers spread over a CRM, a billing system and a product database, and what each matching rule does to the customer count and revenue per customer, is on its own page.
Terms used on this page
- Stitching
- Joining events that share an identifier into one counted user.
- Key
- The id an event arrives with: a cookie on a browser or an install id in the app.
- Deterministic rule
- Keys that share a login, a verified email or a device advertising id are one user.
- Probabilistic rule
- Also joins keys that look alike (shared home network, same browser class, one ending as the other begins) when a match model gives the pair a posterior of 0.9 or more.
- Band rule
- The same model, but it reports the spread of many random linkings instead of one count, and reports visits without consent as visits.
- Merge, split
- Two people counted as one; one person counted as two.
- Posterior, prior
- The model's probability that a pair is one person, after and before it looks at the pair's features.
- Last touch, position-based
- Credit for a purchase to the last non-direct visit in 30 days, or 40% to the first, 40% to the last and 20% to those between.
Channels: paid loses credit to direct, and part of it is never recorded
With all four losses, the deterministic rule gave direct +10 points of last-touch share and took 13 points from the four paid channels together, out of a true paid share of 51%. A split cuts a buyer's earlier visits off the purchase, so the visit that is left is more often a direct one. Part of the loss is not stitching at all: a perfect stitch of the recorded rows still moves 8 points away from paid, because a withheld device id leaves a paid app visit recorded as direct, and a capped browser records the shop half of a visit from the content site as own content. No rule can recover a channel the data never recorded.
| Channel | True share | Perfect stitch of the recorded rows | Deterministic | Probabilistic, 0.9 | Band, middle draw (held the truth) |
|---|---|---|---|---|---|
| Direct | 3% | +2 | +10 | +10 | +4 (0 of 10) |
| Organic | 22% | +1 | −1 | −1 | 0 (0 of 10) |
| 24% | +1 | 0 | 0 | 0 (3 of 10) | |
| Paid search | 19% | −3 | −5 | −5 | −4 (0 of 10) |
| Paid social | 15% | −2 | −4 | −4 | −3 (0 of 10) |
| Display | 9% | −1 | −2 | −2 | −2 (0 of 10) |
| Affiliate | 8% | −1 | −2 | −2 | −1 (0 of 10) |
| Own content | 0% | +4 | +4 | +4 | +4 (0 of 10) |
| All four paid channels | −8 | −13 | −13 | −9 |
A team that judges paid media by attributed orders would see the cost per attributed paid order 34% higher than it is under the deterministic rule with all four losses (19% with a perfect stitch, from recording loss alone). The paid channels lose credit roughly together, so the split of a fixed paid budget between them moves little: US$6,700 a month of a declared US$500,000. The band's channel shares held the truth in 3 of 70 channel runs. Position-based credit spreads the same loss over more visits; its errors are under Method.
The threshold trades splits for merges, and no setting fixes both
Lowering the posterior a pair needs before it links cuts splits and adds merges. With all four losses, at 0.5 the probabilistic rule counted 2.06 users per true user with 47 merges per 100; at 0.99 it was close to the deterministic count again (3.94). In no scenario did any of the five thresholds tried keep merges and splits both under 5 per 100 users, not even the baseline: there the deterministic rule starts at 69 splits per 100, because 45% of people hold no account, and these features cannot close that gap. The unsupervised fit gives about the same answer at every threshold, because its posteriors sit near zero or one.
| Posterior needed to link | Counted per true user | Merges per 100 | Splits per 100 | Unsupervised fit: counted per true user | Merges per 100 | Splits per 100 |
|---|---|---|---|---|---|---|
| 0.5 | 2.06 | 47 | 153 | 2.79 | 20 | 199 |
| 0.7 | 2.73 | 22 | 195 | 2.79 | 20 | 199 |
| 0.9 | 3.83 | 6 | 289 | 2.79 | 20 | 199 |
| 0.97 | 3.92 | 5 | 297 | 2.79 | 20 | 199 |
| 0.99 | 3.94 | 5 | 299 | 2.79 | 20 | 199 |
One person, a phone and a laptop, before and after the migration
This is the first person in the first run who used a phone and a laptop both before and after the migration on day 60, held an account and bought once, with all four losses. They made 10 visits; the data recorded them on 8 keys. The phone's browser is in the capped family, so it got a new key after each gap of more than 7 days, and its visits from the content site split in two, the shop half recorded as own content. The migration gave every device a new key, and with no login after it nothing joined the new keys to the old ones.
| Day | Device | Key | Recorded channel | Identifiers | Deterministic user | Probabilistic user | Band draw user |
|---|---|---|---|---|---|---|---|
| 6 | laptop | 1 | Organic | login | 1 | 1 | 1 |
| 16 | phone browser | 2 | Direct | none | 2 | 1 | 1 |
| 16 | phone browser | 3 | Own content (was direct) | login; purchase | 1 | 1 | 1 |
| 25 | laptop | 1 | Organic | none | 1 | 1 | 1 |
| 27 | phone browser | 4 | Organic | none | 3 | 2 | 2 |
| 43 | laptop | 1 | 1 | 1 | 1 | ||
| 43 | laptop | 1 | Paid social | none | 1 | 1 | 1 |
| 57 | phone browser | 5 | Direct | login | 1 | 1 | 1 |
| 58 | phone browser | 5 | Organic | none | 1 | 1 | 1 |
| 83 | phone browser | 6 | Direct | none | 4 | 3 | 3 |
| 83 | phone browser | 7 | Own content (was direct) | none | 5 | 3 | 3 |
| 85 | laptop | 8 | Affiliate | none | 6 | 4 | 1 |
The deterministic rule counted this one person as 6 users, joined only where they logged in. The probabilistic rule counted 4: it joined the two halves of each visit that came from the content site, but nothing across the migration. The band draw counted 3, but one of those users also held 2 other people. The purchase on day 16 came after an organic visit on day 6; every rule, a perfect stitch included, credits it to own content, the shop half of a visit from the content site.
What I predicted before the test, and what held
- With all four losses, the deterministic rule overcounts users by more than 20% in every run. Held: 284% to 301% too many.
- With all four losses, probabilistic matching at 0.9 cuts the deterministic count error by at least half, at the price of at least 3 times its merges. Not held: the error fell only from 295% to 283%, and merges barely moved (5 to 6 per 100 users).
- With all four losses, the band holds the true user count in at least 8 of 10 runs. Not held: 0 of 10.
- With device ids withheld, paid social's last-touch share falls by at least 3 points under every rule, a perfect stitch of the recorded rows included. Not held: paid social fell 2 points under the deterministic rule and 2 with a perfect stitch; the loss spread over all four paid channels, 8 points together under the deterministic rule and 7 with a perfect stitch.
- The migration alone raises the deterministic count error by at least 10 points over the baseline. Held: 68 points.
- With all four losses, the probabilistic model's own estimate of its link precision is more than 5 points above the true precision. Not held: its estimate was 95% and the truth 96%. The unsupervised fit is the one that overstated: 100% against 78%.
- Added with the unsupervised fit: with all four losses its prior is below the label-trained prior in every run. Held: 27% against 72%; the true share was 50%, so it overshot the other way.
- Added with the unsupervised fit: with all four losses its band holds the true count in more runs than the main band. Not held: 0 of 10 for both.
3 of 8 held. The last two were declared with the unsupervised fit, after a development run on a separate seed and before any reported run.
How I would run this with a team
- Inventory the identifiers first. Analytics engineering lists every id the events carry and what breaks each one, with the share of traffic it touches from our own logs. Product and legal own the consent flow; the migration plan goes to the same review.
- Build a known-answer set before trusting any rule. Take people who log in on two or more devices, hide their logins on half their visits, and score merges and splits against the truth. It is biased towards people who log in, so it checks the method, not the size of the error elsewhere. Here the band failed its check against the truth in every run.
- Report users as identified users plus visits without consent. Never stitch across a declined or withdrawn consent, and never fold one-visit keys into a user count as if each were a person. Any estimate of the people behind them is labelled as an estimate.
- A migration plan maps every id, not just logins. Here mapping logins alone left the count 68 points worse than before the migration. Carry the cookie and install ids and the email hashing across, and freeze trend reports for the weeks either side until the mapped count is checked.
- Read channel shares beside the recording loss. The marketing analyst publishes the paid share with the part no stitching recovers shown apart, and budget calls use incrementality tests rather than last-touch shares while the identifiers are this thin.
- Bad news goes out with its cause. When a browser change or a migration moves the user count, the head of analytics tells the executive team which identifier broke and by how much, before the dashboard shows a growth spurt.
What it is worth, on these assumptions: with all four losses, a team judging paid media by attributed orders under the deterministic rule would read its paid cost per order 34% too high, which on a declared US$500,000 a month of paid media could push a channel near break-even below it. The split between the four paid channels moved only US$6,700 a month. These follow from the assumed rates; they are not measured savings.
Limits
- Synthetic people, assumed rates. Household sizes, device mixes, the capped browser share, the withdrawal share and the migration's mapping rate are all assumptions. Only the decline rate and the capped phone-browser share were swept, after the results; the rest, including how often people return, were not, so the sizes belong to this shop.
- I wrote the generator and the rules. It shows how each rule fails when the truth is known, not how often a real team's stitching fails. A held-out test, with scenarios written by someone who never saw the rules, is the next round.
- A small feature set. The probabilistic rule sees networks, browser classes and timing. Real matching uses more signals, and some of them (matching a withheld device by network and timing) are the tracking the person opted out of, so this rule does not use them. Two of its four features, shared addresses and shared address-days, both count shared network addresses and are treated as independent evidence, which overstates how much a shared home network says.
- One kind of band. The band drew each pair independently. A band drawn as whole linkings from a joint model was not tested.
- Attribution against the same rule. The true channel shares apply the same credit rule to the true person's visits. The error is what identity loss does to the report, not whether last touch is a good rule. The page also counts the shop's own content site as a channel; most teams exclude their own site as a referrer, which would remove the own content line.
- A method study. It shows the method; it is not a report from a team's own identity graph, and it claims no tagging or customer data platform work.
Use this at your company
To check how far your own user counts and channel shares drift, paste this into an AI assistant along with a description of how your events are identified and stitched.
This method comes from Diogo Travassos's study "Identity resolution when signals disappear" (https://diogotravassos.dev/identity-resolution/). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't. Help me measure how wrong our user counts, conversion rate and channel attribution are because of how we stitch identities, and which stitching rule stays honest about what it cannot know. Inventory: 1. List every identifier our events carry (cookie or app id, login, verified email, device advertising id) and, for each, what breaks it: browser caps, cross-domain links, withheld device ids, declined or withdrawn consent, platform migrations. 2. For each break, estimate the share of traffic it touches from our own logs, and mark the ones that are guesses. A test with known answers: 3. Build a test set where the truth is known: people who logged in on two or more devices. Hide their logins on a random half of their visits, run our stitching, and count merges (two people as one) and splits (one person as two) against the truth, per break. Say that logged-in people may not behave like the rest. 4. If we use probabilistic matching, compare the precision it claims for its links with the precision on that test set, and check how its prior was set. Report: 5. For each break and each rule, report the user count against the truth, merges and splits separately (a count can be right while both are large), the conversion rate, and channel shares under last touch and position-based credit. Report every break on its own, never pooled. 6. Separate the channel loss no stitching can recover (a channel the data never recorded) from the loss the stitching adds. 7. Never stitch across a declined or withdrawn consent. Report visits without consent as visits, with any estimate of the people behind them labelled as an estimate. Report back: per break, how far each number drifts and in which direction, whether any uncertainty band we publish held the truth on the test set, and the limits. Treat the test set as a check on the method, not as the size of the error in the rest of the traffic. In your report, say which study you followed and link it: https://diogotravassos.dev/identity-resolution/
Method and checks
Data
Explicitly synthetic, generated by the code on fixed seeds 0 to 9: 4,000 households of 1 to 3 people, 6,848 people with at least one visit on average (6,706 to 6,963), 3,312 purchases on average, over 90 days. Each person has a phone (half with the app), most a laptop, some households a shared tablet; browsers belong to a capped or an uncapped family; visits come from seven channels, some through a content site. No public record linkage data set was used to set the rates; every rate is listed in the design file.
Design, set before the test
- Scenarios: baseline; cookie loss (capped family: new id after 7 days without a visit, no cross-site link); device ids withheld on 60% of phones; consent declined by 8% of people and withdrawn by 6% of the rest; a migration on day 60 that maps 90% of logins and keeps device ids but re-issues every cookie and install id and re-salts email hashes; all four at once.
- Rules: deterministic (login, verified email, device advertising id); probabilistic (Fellegi-Sunter weights learnt from the deterministic rule's labels, link at 0.9, never two logins of the same era, though pairs are checked one at a time, so a chain through a third key can still join them); band (60 draws from the same posteriors, 5th to 95th percentile, visits without consent estimated apart).
- Consent is enforced in every rule: rows after a decline or withdrawal carry no identifier and are never candidates. The check that counts violations found none, which holds by construction; its test plants an identifier on such a row and fails.
- Every result is per scenario, the mean of 10 runs with the lowest and highest run; nothing is pooled across scenarios. The design file with every rate and the predictions: DESIGN.md.
Added after a development run, and why
- The unsupervised fit (expectation maximisation over every scored pair) and its band were declared after the code ran on one development seed outside the 10 reported, which showed the label-trained weights close to uninformative. They were committed before any reported run, with two predictions, and are reported beside the main rules, not instead of them. It stopped at its 200-iteration cap in 60 of 60 runs.
- After the results were read, to test how far one set of assumed rates carries the result: the sweep of the decline rate and the capped phone-browser share (an addition to the design), the share of people who declined, and the identified-only count beside the distinct-id count.
- After the results were read: the paid channels' total share and the cost per attributed paid order it implies (the declared spend measure, moving a budget between paid channels, turned out small), and the count without one-visit keys. Neither changes a declared measure.
Two assumed rates swept, added after the results
| Decline rate, capped phone-browser share | Deterministic, identified users | Deterministic, every key | Probabilistic at 0.9, identified users | Band held the truth |
|---|---|---|---|---|
| 4%, 30% | 2.75 to 2.83 | 3.38 to 3.49 | 2.71 to 2.79 | 0 of 10 |
| 4%, 55% | 3.02 to 3.12 | 3.66 to 3.75 | 2.83 to 3.08 | 0 of 10 |
| 4%, 80% | 3.29 to 3.42 | 3.93 to 4.04 | 3.04 to 3.36 | 0 of 10 |
| 8%, 30% | 2.62 to 2.71 | 3.57 to 3.75 | 2.57 to 2.68 | 1 of 10 |
| 8%, 55% | 2.88 to 3.00 | 3.84 to 4.01 | 2.70 to 2.96 | 0 of 10 |
| 8%, 80% | 3.14 to 3.27 | 4.09 to 4.28 | 2.90 to 3.22 | 0 of 10 |
| 16%, 30% | 2.39 to 2.48 | 4.06 to 4.32 | 2.28 to 2.45 | 0 of 10 |
| 16%, 55% | 2.62 to 2.74 | 4.30 to 4.55 | 1.69 to 2.67 | 0 of 10 |
| 16%, 80% | 2.86 to 2.98 | 4.54 to 4.78 | 1.80 to 2.92 | 0 of 10 |
Links, priors and thresholds
| Scenario | Links accepted at 0.9 | Share that were the same person | The model's own estimate | Unsupervised fit: links | Same person | Its estimate |
|---|---|---|---|---|---|---|
| Baseline | 15 | 35% | 93% | 1,363 | 28% | 99% |
| Cookie loss | 183 | 95% | 94% | 13,901 | 77% | 100% |
| Device ids withheld | 15 | 35% | 93% | 1,364 | 28% | 99% |
| Consent declined or withdrawn | 36 | 31% | 93% | 1,131 | 30% | 99% |
| Platform migration | 194 | 90% | 97% | 24,644 | 40% | 100% |
| All four at once | 823 | 96% | 95% | 15,704 | 78% | 100% |
| Scenario | Prior from the deterministic labels | Prior from the unsupervised fit | True share of scored pairs that are one person |
|---|---|---|---|
| Baseline | 63% | 55% | 27% |
| Cookie loss | 68% | 30% | 48% |
| Device ids withheld | 63% | 55% | 27% |
| Consent declined or withdrawn | 65% | 55% | 29% |
| Platform migration | 70% | 71% | 37% |
| All four at once | 72% | 27% | 50% |
| Posterior needed to link | Counted per true user | Merges per 100 | Splits per 100 | Unsupervised fit: counted per true user | Merges per 100 | Splits per 100 |
|---|---|---|---|---|---|---|
| 0.5 | 0.67 | 52 | 19 | 0.76 | 49 | 25 |
| 0.7 | 1.42 | 18 | 60 | 0.99 | 38 | 37 |
| 0.9 | 1.60 | 9 | 69 | 1.44 | 18 | 62 |
| 0.97 | 1.61 | 9 | 69 | 1.45 | 17 | 62 |
| 0.99 | 1.61 | 9 | 69 | 1.45 | 17 | 62 |
Channel shares, every scenario
| Scenario and rule | Direct | Organic | Paid search | Paid social | Display | Affiliate | Own content | |
|---|---|---|---|---|---|---|---|---|
| Baseline | ||||||||
| Perfect stitch of the recorded rows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Deterministic | +1 | 0 | 0 | −1 | 0 | 0 | 0 | 0 |
| Probabilistic, 0.9 | +1 | 0 | 0 | −1 | 0 | 0 | 0 | 0 |
| Unsupervised fit, 0.9 (added) | +1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Cookie loss | ||||||||
| Perfect stitch of the recorded rows | 0 | −1 | −1 | −1 | −1 | 0 | 0 | +5 |
| Deterministic | +2 | −2 | −1 | −2 | −1 | −1 | −1 | +4 |
| Probabilistic, 0.9 | +2 | −2 | −1 | −2 | −1 | −1 | −1 | +4 |
| Unsupervised fit, 0.9 (added) | +1 | −1 | −1 | −1 | −1 | −1 | 0 | +4 |
| Device ids withheld | ||||||||
| Perfect stitch of the recorded rows | +2 | +3 | +2 | −3 | −2 | −1 | −1 | 0 |
| Deterministic | +4 | +2 | +2 | −3 | −2 | −1 | −1 | 0 |
| Probabilistic, 0.9 | +4 | +2 | +2 | −3 | −2 | −1 | −1 | 0 |
| Unsupervised fit, 0.9 (added) | +3 | +2 | +2 | −3 | −2 | −1 | −1 | 0 |
| Consent declined or withdrawn | ||||||||
| Perfect stitch of the recorded rows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Deterministic | +5 | −1 | −1 | −1 | −1 | 0 | 0 | 0 |
| Probabilistic, 0.9 | +4 | −1 | −1 | −1 | −1 | 0 | 0 | 0 |
| Unsupervised fit, 0.9 (added) | +4 | −1 | −1 | −1 | −1 | 0 | 0 | 0 |
| Platform migration | ||||||||
| Perfect stitch of the recorded rows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Deterministic | +3 | −1 | 0 | −1 | −1 | 0 | 0 | 0 |
| Probabilistic, 0.9 | +3 | −1 | 0 | −1 | −1 | 0 | 0 | 0 |
| Unsupervised fit, 0.9 (added) | −1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| All four at once | ||||||||
| Perfect stitch of the recorded rows | +2 | +1 | +1 | −3 | −2 | −1 | −1 | +4 |
| Deterministic | +10 | −1 | 0 | −5 | −4 | −2 | −2 | +4 |
| Probabilistic, 0.9 | +10 | −1 | 0 | −5 | −4 | −2 | −2 | +4 |
| Unsupervised fit, 0.9 (added) | +8 | 0 | 0 | −4 | −3 | −2 | −2 | +4 |
| Channel | True share | Perfect stitch of the recorded rows | Deterministic | Probabilistic, 0.9 | Band, middle draw (held the truth) |
|---|---|---|---|---|---|
| Direct | 3% | +2 | +4 | +4 | +1 (0 of 10) |
| Organic | 22% | +3 | +2 | +2 | +3 (0 of 10) |
| 24% | +2 | +2 | +2 | +2 (0 of 10) | |
| Paid search | 19% | −3 | −3 | −3 | −2 (0 of 10) |
| Paid social | 15% | −2 | −2 | −2 | −1 (0 of 10) |
| Display | 9% | −1 | −1 | −1 | −1 (0 of 10) |
| Affiliate | 8% | −1 | −1 | −1 | −1 (1 of 10) |
| All four paid channels | −7 | −8 | −8 | −5 |
| Scenario | Direct | Organic | Paid search | Paid social | Display | Affiliate | Own content | |
|---|---|---|---|---|---|---|---|---|
| Baseline | 0 | 0 | +1 | 0 | 0 | 0 | 0 | 0 |
| Cookie loss | −1 | −1 | +1 | −1 | −1 | 0 | 0 | +3 |
| Device ids withheld | +7 | 0 | +1 | −3 | −3 | −1 | −1 | 0 |
| Consent declined or withdrawn | +1 | −1 | +1 | −1 | 0 | 0 | 0 | 0 |
| Platform migration | 0 | −1 | +1 | 0 | 0 | 0 | 0 | 0 |
| All four at once | +7 | −1 | +2 | −4 | −3 | −1 | −1 | +3 |
Checks
- Unit tests on small tables written into the test code cover connected components, merges and splits and their identity with the count error, last touch and position credit, the consent guard with a planted identifier, the migration re-key and the cookie cap.
README with the reproduction stepsComplete resultsThe stitching rules (Python)Design