A data clean room lets a brand and its partners (agency, publisher, affiliate network) match their audience data to build shared retargeting segments, without either party receiving the other's raw data. In practice, the brand can target visitors who abandoned a cart, the partner can activate delivery across its inventory, and neither party sees the identity of people outside the match, nor the other's conversion rates or rate card. The result is a usable remarketing audience, produced under privacy rules defined in advance.
Why classic retargeting is problematic between partners
Traditional retargeting relies on third-party cookies or advertising identifiers that each party drops on its own footprint. As soon as a partner needs to act on a merchant site's visitors, you generally have to exchange identifier lists or behavior exports. This sharing creates three difficulties.
The first is legal: passing visitor identifiers to a third party requires a clear legal basis and valid consent, and the data holder retains full liability for the transfer. The second is competitive: a list of abandoned carts, even pseudonymized, reveals traffic volume, abandonment rate, and average cart value. The third is operational: exports are hard to track and delete when a user withdraws consent.
A data clean room addresses these three points by moving the computation. Data stays in a controlled environment, each party uploads its datasets, and only approved queries run. Outputs are limited by rules, such as a minimum number of people per segment or a ban on returning an individual identifier.
How does cross-partner retargeting work in a data clean room?
The principle relies on a pseudonym join. The brand uploads a list of visitors who triggered an event (add to cart without purchase, product page view, checkout entry), identified by a pseudonymized identifier such as a hashed email address or a brand-specific ID. The partner uploads the identifiers it recognizes across its inventory or network. The clean room performs the intersection and returns an aggregated segment or an activation identifier, depending on the platform used.
So what is returned to the partner is not the list of abandoned carts, but the information needed to deliver: for example an activatable segment identifier, with a minimum count. What is returned to the brand is not the list of identifiers the partner recognizes either, but a volume and, depending on settings, coverage indicators.
You need to distinguish two output levels. The first is activation, meaning the ability to serve an ad to a segment. The second is reporting, used to measure the effect. A good setup separates these two flows: the partner should never receive a report that lets it reconstruct the brand's conversion rate, and the brand should never receive a report that reveals the partner's negotiated price or margin.
Steps to set up shared retargeting
1. Define the scope of eligible events
Start by listing the events you want to use as triggers: cart abandonment after add, abandonment after address entry, repeated views of a category. Each event needs a written definition, a time window (for example 7 days), and an exclusion rule (customers who have purchased since). Without this definition, the parties won't be talking about the same population and the numbers won't be comparable.
2. Choose the identifiers and their pseudonymization method
Decide which identifier serves as the join key. A SHA-256 hash of a normalized email address (lowercase, spaces removed) is common, but join quality depends on the partner's coverage of those addresses. Document the normalization method: a difference in handling between the two parties silently reduces the number of matches.
3. Write the output rules before uploading data
This is the most often neglected step. Define in advance:
- the minimum number of people per returned segment (for example a value contractually set with the clean room provider);
- the allowed outputs: segment identifier, aggregated volume, coverage percentage;
- the forbidden outputs: any list of individual identifiers, any join that would let someone infer a price, a margin, or a conversion rate specific to one of the parties.
Have these rules validated by the legal and data teams on both sides. They become the real privacy contract.
4. Separate activation and measurement queries
Create two distinct queries. The first produces the activation segment. The second produces performance indicators, for example the number of carts recovered from a campaign, calculated on an aggregate. Restrict access to the second to the people who actually need it.
5. Test on a reduced scope before expanding
Run the first cycle on a product category or a single channel. Check that the segment volume is sufficient, that exclusions work (a customer who has purchased should no longer receive the ad), and that reports contain no forbidden information.
6. Handle consent withdrawal
Plan for the propagation of deletions. When a user withdraws consent on the brand side, the deletion must reach the clean room at the next upload, and already-built segments must be recalculated or expired. Document the refresh frequency, for example daily, and the maximum lifespan of a segment.
Example: a fashion brand and a retargeting agency
Take the hypothetical case of an online clothing brand working with a media agency to retarget abandoned carts across partner publisher sites. Without a clean room, the agency would ask for the full list of abandoned carts, with products and amounts. The brand, for its part, wouldn't want the agency to know its average cart value, or how much it pays per impression.
In a clean room setup, the brand uploads only the email hashes of carts abandoned over 7 days, excluding recent buyers. The agency uploads the identifiers recognized across its publishers. The clean room returns an activation segment as soon as the intersection exceeds the set minimum threshold. The agency sees neither the cart amounts nor the brand's total number of abandonments. The brand receives an aggregated report showing the number of sales attributed to the segment, without per-publisher detail if the contract provides for it.
In this scenario, the question that matters is that of outputs: they must meet the need for activation and measurement, and nothing more.
What we recommend, and why
We recommend never sharing a named list of abandoned carts, even encrypted or hashed, with a delivery partner, and always going through a clean room whose output rules are written and auditable. The reason is twofold: a pseudonymized list remains personal data as long as a join is possible, and it reveals business information (volume, cart value, abandonment rate) that has no reason to be shared with a vendor.
We also recommend limiting the number of partners connected to the same segment. The more parties in a clean room, the higher the risk of re-identification, because successive outputs can be combined to shrink group sizes. Start with one partner, measure, then add a second.
Finally, we recommend treating measurement as a topic in its own right: set an indicator (carts recovered versus the control group, for example) before launch, and use a non-exposed control group. Without a control group, attribution to retargeting is almost always overstated.
Common mistakes to avoid
- Normalizing emails differently: a case difference or an extra space can halve the number of matches without any error being flagged.
- Forgetting exclusions: without excluding recent buyers, cart recovery ads are served to customers who have already purchased, which hurts the experience and the budget.
- Leaving output rules vague: if thresholds and report formats aren't written down, they drift with each request and end up exposing more than intended.
- Ignoring segment freshness: a segment of abandoned carts from three weeks ago no longer represents purchase intent.
- Confusing a clean room with a simple encrypted exchange: a hashed file sent by email or SFTP is not a clean room. The protection comes from access rules and controlled outputs, not from encryption alone.
Pre-launch checklist
- Trigger events defined in writing, with time window and exclusions
- Identical normalization and hashing method on both sides
- Minimum segment threshold and list of allowed outputs legally validated
- Separate activation and measurement queries, with restricted access to measurement
- Control group planned to measure the real effect
- Deletion procedure and refresh frequency documented
- Test run on a reduced scope before expanding