Cookie Syncing and Match Tables

Cookie syncing (also called cookie matching or user syncing) is how two ad platforms learn each other's user IDs for the same browser and store the pair in a match table. It usually links a DSP with an SSP or a DMP, so bid requests carry an ID the buyer recognizes.

Read the guideTalk to an expert

Browsers let a domain read only the cookies it set itself, so two ad platforms cannot read each other's cookies even when they agree to share IDs. A redirect solves that. OpenRTB, the IAB Tech Lab auction standard, describes the classic case of a demand-side platform syncing with a supply-side platform or exchange:

  1. The partners swap sync URLs. The SSP's match URL carries a slot for the DSP's user ID.
  2. A sync pixel loads in the shopper's browser. The SSP drops the DSP's sync pixel when it serves an ad, or the DSP drops the SSP's sync pixel next to its own audience and conversion tags.
  3. The DSP reads its cookie and redirects. It reads its user ID and sends a 302 redirect to the SSP's match URL with that ID in the query string.
  4. The SSP stores the pair. It reads its own cookie, writes both IDs into its match table and answers with a 1x1 pixel or an empty 204 response.
  5. A later impression carries the match. The SSP looks up its ID and puts the DSP's ID in the buyeruid field of the bid request.
  6. The DSP adds audience data. DSPs run the same handshake with each data management platform they work with, then use the matched ID for targeting, frequency capping and measurement.

Who holds the match table

Either side can keep the mapping. Between DSPs and exchanges, the exchange usually holds it and writes the buyer's ID into buyeruid. In the DSP-hosted version, the exchange sends its own cookie ID in the user.id field and the DSP looks up its match in a server-side store.

Google Authorized Buyers documents the exchange-hosted model in detail. A bidder places a match tag pointing at Google's cookie matching service, Google redirects the browser to the bidder's URL with an encrypted Google User ID in the google_gid parameter, and the bidder stores the pair. Google recommends hosting the table itself, so later bid requests return the bidder's hosted match data in buyeruid. For users in US states with privacy restrictions, Google drops its user ID from the request and still passes that hosted data. Either way, the buyer enters real-time bidding knowing who is behind the impression.

"Synced cookie", "cookie sync or match" and "cookie mapping" all point at one process. OpenRTB lists cookie syncing, user syncing, user matching and cookie matching as names for the same thing. A synced cookie is a cookie ID that a partner has paired with its own, for example cookieID123 from party A stored as the same user as cookieID789 from party B.

Publishers meet it in their header bidding wrapper. In Prebid.js, user syncing means bidder adapters drop pixels or scripts so bidders can match IDs with the DSP's cookie space. By default Prebid waits 3 seconds after the auction ends and lets each adapter drop up to five image-based syncs. Publishers limit syncing for page performance, user privacy and control over which bidders may inject code into the page. The sync pixel is a close cousin of the conversion pixel covered in pixel tags.

Why match rates fall short

Match rate, the share of a partner's users a platform recognizes, stays below full coverage for four reasons. First, entries age out: OpenRTB says parties customarily keep matches for about 14 to 60 days and refresh them before they expire. Google treats an entry in its hosted table as expired after 14 days.

Second, an exchange must sync each user with every DSP it works with, so OpenRTB suggests rotating through partners, for instance five per visit. Third, Prebid.js fires no user syncs in Safari, Firefox or Chrome on iOS, or wherever cookies are disabled or denied. Fourth, a party may skip a sync the consent string does not cover and simply return 204. The longer story of third-party cookie blocking in Safari and Chrome sits in privacy-first advertising.

Onsite retail media needs little of this plumbing. Sponsored products and onsite display run on the retailer's logged-in shoppers and sales records, which makes closed-loop attribution possible. Cookie syncing matters offsite, where retailer audiences travel through DSPs and each impression needs an ID the buyer can match (onsite vs offsite advertising explains the split).

Retail media also offers routes that skip browser cookies. Amazon Marketing Cloud is a clean room built on AWS Clean Rooms where advertisers join pseudonymized Amazon Ads signals with their own inputs and get aggregated, anonymous outputs. Deterministic IDs such as Unified ID 2.0 run as a separate framework with their own namespace, and OpenRTB carries them in the eids object. For brands with first-party data, see how Amazon's retail media network packages these options.

Frequently asked questions

A synced cookie is a browser cookie whose ID a partner platform has paired with its own ID in a match table. Once synced, an SSP can tell a DSP which of its users is behind an impression by placing the DSP's ID in the buyeruid field.

Yes. Cookie syncing, cookie matching, user syncing and user matching name the same process: one party learns another party's user IDs and stores the pair in a match table. Google calls its version Cookie Matching, and Prebid.js calls the publisher-side setting user syncing.

Mostly no. Prebid.js lists Safari among the browsers that lack support for third-party sync cookies and fires no user syncs there, and the same applies to Firefox and Chrome on iOS. Syncs also stop wherever cookies are disabled or consent is denied, so match rates differ between browsers and regions.

Under privacy laws that treat user IDs as personal data, they usually do. OpenRTB advises passing GDPR, US Privacy and GPP signals in the sync URL and skipping syncs that lack consent. Google requires matching requests under its EU User Consent Policy to show that consent was collected.

No. A cookie lives in one browser on one device, so a sync joins two platforms' IDs for that browser alone. Linking a phone and a laptop takes an identifier the person carries across devices, such as a login. Unified ID 2.0 is one such deterministic ID, used across websites, mobile apps and CTV apps.

Rarely. Sponsored product ads run inside the retailer's site and app, where it knows its logged-in shoppers and their purchases. Cookie syncing comes into play when retail audiences are bought offsite through DSPs. To join their own data with retailer signals, Amazon advertisers can use Amazon Marketing Cloud, a clean room for pseudonymized inputs.

How RMIQ helps

How RMIQ can help with cookie syncing

Cookie syncing decides how much of an offsite audience a buyer can recognize, while onsite sponsored ads run on the retailer's own shopper data. RMIQ manages that onsite work across networks, and our experts turn agent recommendations into keyword, bid and budget decisions for every SKU.

  • Bids shaped by retailer data

    The Network Optimization Agent recommends SKU-level keywords and bids on each network, using the shopper data that network already holds.

  • Search terms worth owning

    The Keyword Harvesting Agent discovers high-potential keywords that bring shoppers to your listings on Walmart, Instacart, Amazon and Target.

  • Spend tracks the results

    The Budget Allocation Agent recommends budget adjustments from campaign performance, and our experts handle the rest.

AI agents surface the opportunities. Our experts handle the rest.

Partners

Our current partners

We are already helping leading retailers and platforms grow their retail media businesses, including:

Become a partner

Contact RMIQ

Talk to a retail media expert

Book 30 minutes with Petr, or send the team a message. A person on the team reads both.

Petr Misek

Book a call with Petr

Petr Misek, Retail Media Expert

Bring the brands you sell and the networks you buy on. Petr will show you where RMIQ fits and what it would change.

Petr MisekJim GraceJacek Chodźko

Send us a message

Petr, Jim or Jacek will reply

Pricing, partnerships, press, or a question that doesn't need a call.