Identity resolution is the work of deciding which records, across all the tools a brand uses, describe the same customer. For an ecommerce brand it is what makes a customer count, a repeat purchase rate or a lifetime value number trustworthy. This answer explains what identity resolution is, how deterministic and probabilistic matching work, what goes wrong, and how a Shopify brand can set it up. It is from Brand Media Works, an AI consulting and marketing data engineering firm for ecommerce brands. Facts are from the documentation of the open-source Splink project and the Twilio Segment identity resolution documentation, both read on 16 November 2026.
What is identity resolution?
Identity resolution is a form of record linkage, also called entity resolution or data matching: finding the records in different data sources that refer to the same person or thing. It is needed whenever data sets have to be joined but do not share one reliable identifier, which is the normal case for customer data spread across several tools.
Customer data platforms describe the result as a single profile. Segment's documentation says "The Identity Graph merges the complete history of each customer into a single profile, no matter where they interact with your business."
In our view, the useful output for a brand is a customer key table: one row per source record, each pointing to one resolved customer ID that every report uses.
Why ecommerce brands need it
One customer often appears several times. An invented example: a shopper checks out on Shopify with a personal email, signed up for the newsletter with a work email, opened a support ticket from a phone, and browsed on two devices before buying. Without matching, that is four customers in four tools.
Formatting alone can split one person into several records. The same customer can appear as a full name in one tool, initials in another and a nickname in a third, with dates and addresses written differently in each. Matching is only as good as the data it works on.
Matching pays off in two places. In reports, our view is that unmatched duplicates inflate customer counts and pull down repeat rate and lifetime value. In marketing, Segment's own example notes that "Identity Resolution can connect a user's anonymous behaviors to a user's post-account registration activity," and describes a shopper who browsed on one phone and bought on another: "if Jane looked at ShoeC on her iPhone and completed checkout for ShoeC on her Android, SegKicks will now know to exclude her from a cart abandonment email for ShoeC."
Deterministic matching
Deterministic matching follows fixed rules. Splink's documentation describes it as "a rules-based approach for joining records together." Two records count as a match when the chosen identifiers are identical, so it works well when the data sets share a reliable common identifier.
The weakness is coverage. Splink's example of three records for the same Robert Smith, one listed as Bob and one with a nickname and no postcode, finds no matches under two simple rules, and it concludes that "even a relatively simple dataset, with duplicates that are obvious to a human, will require more complex rules." Its summary of deterministic linkage includes "Prone to Low recall (False Negatives)". Our view is that the rule list grows quickly as data gets messier, and soon becomes hard to maintain.
For a Shopify brand, the identifiers that work well for deterministic matching are, in our view, the Shopify customer ID, email address after it is lowercased and trimmed, and phone number in one standard format.
Probabilistic matching
Probabilistic matching, often called fuzzy matching, weighs the evidence from several fields instead of requiring an exact match. Agreement on a rare value, such as an uncommon surname, counts for more than agreement on a common one. Splink gives the intuition: a match on a full name "provides some evidence that these two records may refer to the same person, but this evidence is inconclusive." Agreement on name, address and date of birth together can be strong evidence.
Each pair of records gets a score, and two thresholds decide what happens. Pairs above the upper threshold are treated as matches, pairs below the lower threshold as non-matches, and pairs in between go to manual review. Raising the upper threshold means fewer false links but more missed matches.
Comparing every record with every other record gets slow on large tables, so tools use blocking: they only compare pairs that already agree on a chosen field, such as ZIP code or the first letters of a surname. The cost is that a true match that differs on that field is never compared.
Splink is one open-source example. Its documentation describes it as "a Python package for probabilistic record linkage (entity resolution) that allows you to deduplicate and link records from datasets without unique identifiers," says it is "Capable of linking a million records on a laptop in approximately one minute," and notes that "No training data is required" because models can be trained without labeled examples. Those are the project's own statements.
What goes wrong: false merges and missed matches
A false merge joins two people into one profile. Segment's documentation gives a retail case: "One common example of a use-case that can cause inaccurate merges is the Shared iPad setup," where different customers enter details on the same in-store device. It also warns that a hard-coded user ID left over from testing "can cause hundreds of profiles to merge incorrectly". Two different people can also share an address or a phone number. In ecommerce, our view is that households sharing an address, a phone or a payment card are the usual cause.
A missed match leaves one person as two profiles. It comes from typos, nicknames, a second email address and inconsistent formats. Standardizing names, emails, phones and dates into one format before matching prevents many of these.
Our view is that false merges usually do more damage, because they mix two people's orders and consent records, so most brands should set rules that favor a missed match over a wrong one.
Rules that keep profiles clean
Segment's settings documentation describes rules that, in our view, carry over to any identity setup, whether in a customer data platform or in your own warehouse:
- Normalize identifiers at the source. "we recommend normalizing the casing of identifiers before sending events to Segment." Its identity system already treats identifiers as case insensitive.
- Limit how many of each identifier a profile can hold. "An immutable ID, such as user_id, should have 1 ever per user profile."
- Rank identifiers by trust. "Give Unique IDs such as email higher priority than possibly shared identifiers like android.id or ios.id."
- Block placeholder values, such as test IDs, so they never act as identifiers.
- Be careful tightening rules later. Segment notes that "making a space's rules more restrictive might affect existing profiles that don't adhere to the new rules".
Where to do it: warehouse or customer data platform
Standardizing and matching records is usually part of the transform step of a data pipeline, which is where a data warehouse does its cleaning. Our view of the two common setups, listed alphabetically:
- Customer data platform. Tools such as Twilio Segment resolve identities as events arrive and keep a profile per customer. This suits brands that need profiles in real time for messaging.
- Warehouse. Matching runs as SQL models, with an open-source library such as Splink for the probabilistic step. This suits brands whose main need is accurate reporting and that already keep Shopify, email and ad data in one place.
In a layered warehouse, our view is that identity resolution belongs in the cleaned middle layer, before metrics are defined. Our answers on medallion architecture, the semantic layer and the marketing data warehouse cover those layers.
How to start
These steps are our recommendation:
- List every system that holds customer records, and which identifiers each one has: Shopify customer ID, email, phone, help desk contact, email platform subscriber.
- Clean the identifiers. Lowercase and trim emails, put phone numbers in one format, and remove test and placeholder values.
- Match deterministically first, on Shopify customer ID and cleaned email, and write the result to a customer key table.
- Review what is left unmatched. If a meaningful share remains, add probabilistic matching for those records, with a manual review band between the two thresholds.
- Set merge limits. Decide which identifiers may never be shared across customers, and flag profiles that collect too many emails or devices.
- Monitor it. Track new merges per day and the size of the largest profiles, so a bad rule shows up quickly.
In our view, matching rules are only as stable as the identifiers that feed them. A data contract with each source system can stop a renamed or reformatted email or phone field from quietly breaking the matches.
Brand Media Works builds customer key tables and matching rules on a brand's own data as part of its marketing data engineering work.
Frequently asked questions
What is the difference between identity resolution and entity resolution?
They describe the same task. Entity resolution and record linkage are other names for it. Our view is that identity resolution is the term most often used when the entities are people or customers.
Is identity resolution the same as deduplication?
Deduplication finds repeated records inside one data set. Identity resolution also links records across different systems. Splink's documentation covers both, describing tools to "deduplicate and link records".
Should a Shopify brand use deterministic or probabilistic matching?
Our view is to start deterministic, because Shopify customer ID and email cover most customers and the rules are easy to check. Add probabilistic matching when a review shows many unmatched records that a person can see are the same customer.
Do I need a customer data platform for identity resolution?
No. Matching can run in your own warehouse. Our view is that a customer data platform earns its place when you need resolved profiles in real time for messaging or onsite personalization, and a warehouse is enough when the goal is reporting.
How accurate does matching need to be?
It depends on the use. Splink notes that thresholds can be set to suit the use case, higher to avoid false matches and lower to catch more true ones. Our view is that anything touching consent, email suppression or order history should use strict thresholds.