How cookie syncing works: the DSP, SSP and DMP handshake
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:
- The partners swap sync URLs. The SSP's match URL carries a slot for the DSP's user ID.
- 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.
- 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.
- 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.
- 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.
- 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 cookies, cookie matching and other names for the same job
"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.
Where cookie syncing fits in retail media
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
What is a synced cookie?
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.
Is cookie syncing the same as cookie matching?
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.
Does cookie syncing work in Safari?
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.
Do cookie syncs need user consent?
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.
Can cookie syncing match users across devices?
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.
Do sponsored product ads rely on cookie syncing?
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.

















