How to Track Conversions Without Cookies: A Practical Server-Side Setup

Cookies carried the identity, not the measurement. Here's how to track conversions without cookies: server-side events, first-party IDs, and a test that shows what you're losing.

Illustration of a marketer at a desk viewing a rising line graph on a laptop screen beside a window.

Key takeaways

  • Third-party cookie loss breaks the identifier, not the event: your purchase still fires, it just can't be tied back to the ad click, so replace the identity layer and keep the pixel as a backup.
  • Run server-side events for purchase, lead and start of checkout with one shared event_id per conversion, since Meta deduplicates events that match on ID and name and a redundant setup recovers what the pixel misses.
  • Every purchase payload needs currency and value or the platform can't attribute revenue, and it should fire in real time from the order confirmation rather than an overnight batch.
  • Safari's ITP deletes script-written cookies after seven days, drops that to 24 hours when a click ID arrives in the URL, and caps CNAME-cloaked cookies at 7 days, so store the durable copy of any identifier in your own database.
  • Test before you lose data: search for SameSite=None, check the DevTools Issues panel, then relaunch Chrome with --test-third-party-cookie-phaseout and compare store orders, platform events and your own step counts for the same day.

You track conversions without cookies by sending the event from your own server or checkout. It goes to Meta's Conversions API and Google's server-side endpoints. Matching happens with hashed identifiers and first-party data you collected on your own pages. The browser pixel stays as a backup rather than the source of truth. Duplicate events are deduplicated by a shared event ID. Cookies weren't doing the measurement itself; they carried the identity. The work is replacing that identity layer.

That distinction matters because most advice treats the problem as a pixel problem. It isn't. Safari's ITP has been capping script-written storage at seven days for years. Chrome's phase-out dates have moved more than once. A plan built around a launch date is a plan you'll rebuild.

What follows is the practical version. It covers what actually breaks and why, plus four methods for tracking conversions without cookies and what each one replaces. You'll also get a server-side setup you can run alongside your existing pixel. A one-afternoon test shows you how much you're losing before your numbers drop.

What actually breaks when third-party cookies are blocked

Conversion tracking breaks at the identifier, not the pixel. Your purchase event still fires, but without a shared ID it can't tie a purchase on your checkout domain back to the ad click on someone else's domain.

Chrome began restricting third-party cookies for 1% of users on January 4, 2024 to let the industry test. Safari got there first: ITP blocks all third-party cookies by default, and access is granted only through the Storage Access API and a temporary popup compatibility fix. Safari users have been living with this for years.

One Safari detail trips people up: ITP downgrades every third-party referrer to its origin. The path and query string disappear, so you can't read a click ID or campaign parameter out of the referrer header.

The timeline has moved. Google once said Chrome could phase out third-party cookies over a three-month period starting in mid-2023 and ending in late-2023, and the change was subject to its engagement with the UK's Competition and Markets Authority. Don't rebuild your stack around a date.

Four ways to track conversions without cookies

You have four realistic options. They are server-side events, the Privacy Sandbox Attribution Reporting API, the Storage Access API, and first-party identifiers you capture yourself. Each one replaces a different piece of what the cookie used to do. None of them restores cross-site identity for free.

Server-side events. Your server or checkout sends the conversion straight to Meta's Conversions API or Google's endpoint. Nothing depends on the browser holding a cookie. ITP caps and browser storage limits stop mattering.

Attribution Reporting API. This is a browser-level API that enables measurement of ad impressions and conversions without third-party cookies. You don't get a per-user trail you can query however you like.

Storage Access API. An in-browser prompt asks the user to grant cross-site cookie access. A successful grant allows cross-site cookie access for that site for 30 days. The API is already supported across Edge, Firefox, and Safari. It depends on the visitor clicking yes.

First-party identifiers. Capture email, UTM parameters and click IDs on pages you control. Then store them in your own database.

How the four cookie-less methods compare
MethodWhat it replacesMain dependencySetup effort
Server-side eventsCookie-based pixel firingServer or checkout access to the eventMedium
Attribution Reporting APICross-site ad measurementBrowser support and report delaysHigh
Storage Access APIThird-party cookie storageUser granting permissionLow
First-party identifiersPersistent user IDYour own forms and URL handlingLow to medium

Google positions the Privacy Sandbox as open standards that protect privacy while giving companies tools to build their businesses. It also says it wants to discourage cookies being replaced with covert approaches like fingerprinting. Any method you pick has to survive that standard. That rules out stitching identities together quietly.

Method 1: Send conversion events from your server

Send purchase, lead and start-of-checkout events from your server, and leave browsing events on the pixel. Those three are what pay for the ads. Page views and scroll depth are cheap to lose and noisy to match.

Illustration of a small office server rack with plugged network cables, status lights, and a person's hand.
Server-side events travel from your server to the ad platform, bypassing the browser.

Don't switch the pixel off. Run both with the same event names. A redundant pixel and Conversions API setup recovers events the pixel missed, and Meta deduplicates events that share the same ID and name. Generate one event_id per conversion, use it in both calls, and write it next to the order in your database. A duplicate may show up in reporting six weeks later. That log tells you whether the fault is your code or the platform. If Meta's count still lags your order total, the same stored record lets you backfill the conversions your backend already holds instead of re-firing guesses.

Hash customer identifiers such as email before they go into the payload. Some parameters must be hashed before they can be sent to the API. Raw PII in a server call lowers match rates and creates a compliance problem you don't want.

A purchase event needs currency and value in the custom data section, or the platform can't attribute revenue to the campaign. Fire it when the order completes, not in an overnight batch. Events should be sent in real time or as close to it as possible for campaign optimization.

If your checkout runs on Sofunnels, the purchase payload is already built. Server-side Meta and Google events fire from the funnel's checkout on Basic and Pro with value and currency attached. You skip the payload work.

Then verify. Send a test event with a test event code and watch the Test Events view. Then check your Event Match Quality score to see how well server events match real users. Raise that score by adding identifiers per event (hashed email, phone, external ID, fbp, fbc), not by sending more events.

  • Mark purchase, lead and start of checkout for server-side
  • Add a unique event_id to each conversion and store it against the order
  • Hash email, phone and name before sending
  • Include currency and value in the purchase payload
  • Fire in real time from the order confirmation
  • Run a test event and check Event Match Quality
  • Compare server and pixel counts weekly for two weeks

Method 2: Keep the measurement on pages you control

First-party storage buys you time, not permanence. Treat any identifier written in the browser as a temporary cache and keep the durable copy in your own database.

Safari's ITP deletes JavaScript-created cookies and other script-writeable storage after seven days without user interaction with the site. Link decoration gets caught too. When a click ID arrives in the URL, cookies created in JavaScript on the landing page are capped to 24 hours. CNAME or IP cloaking doesn't buy time back, since cookies set in those responses are capped at 7 days.

Cross-site storage isn't a refuge either. Third-party LocalStorage and IndexedDB are partitioned per first-party website and made ephemeral. Domains classified as cross-site trackers lose all website data after 30 days without first-party interaction or a storage access grant.

The design rule that follows: identify the person at the point of capture (email, phone, account creation). Then write the ad click data against that record server-side.

A lead magnet page asks for an email, then saves the UTM parameters and click ID into the same contact record. That record survives every cap above.

Sofunnels hosts each funnel on your own workspace address with SSL. The lead capture step saves UTM data alongside the contact, so the first-party record exists before any cookie expires.

Consent configuration is part of conversion tracking now. In the EEA you have to collect consent for personal data use and share those signals with Google to keep using tags or SDKs for measurement, ad personalization and remarketing, per Google Analytics Help.

Three parameters carry the signal:

  • ad_user_data: the ads measurement consent signal Analytics expects.
  • ad_personalization: ads personalization consent, sent through this parameter.
  • ad_storage: controls whether storage such as cookies is enabled for advertising reporting and activation.

If you run your own consent banner, you need to upgrade to consent mode v2 to collect ad measurement and ads personalization signals. On a Google-certified CMP, it's a toggle in the banner settings instead.

Do nothing and only users outside the EEA are included in audiences used by linked advertising products from early March 2024.

Dropping cookies doesn't drop the consent requirement. Article 5(3) of the ePrivacy Directive, the source of every EU cookie banner, applies to more than just cookies.

It requires consent before storing information on, or gaining access to information already stored in, a user's terminal equipment. The EDPB's Guidelines 2/2023, published November 16, 2023, read that scope wide. The information covered includes both personal and non-personal data, regardless of how it was stored and by whom.

Two details settle most cases. Storing and gaining access are separate concepts, so Article 5(3) applies even when only one of them happens. The guidelines put six things alongside cookies. These include tracking pixels, tracking links, device fingerprinting, certain types of local processing, IoT reporting and certain instances of IP tracking.

A server-side event from your page may carry a user identifier. That event still needs a lawful basis in the EU. If you rely on consent for the pixel, rely on it for the server event too. The guidelines were open for public consultation until December 28, 2023, so read the final text before you design around them.

Find the cookies at risk, simulate the phase-out in Chrome, then compare three counts for the same day. The whole routine takes an afternoon.

Start with a code search. Third-party cookies can be identified in code by their SameSite=None value, so grep your codebase, your tag manager container and any checkout scripts for that attribute. Every hit is a cookie that depends on a cross-site request.

Then open DevTools. Since Chrome 118, DevTools flags cookies sent in cross-site contexts that will be blocked in future Chrome versions as a breaking-change issue. The Issues panel gives you the specific cookie names rather than a general warning.

For the real test, relaunch Chrome with the --test-third-party-cookie-phaseout command-line flag and click through an actual purchase on your site, from ad landing page to thank-you page. Then pull three numbers for that day: orders in your store, events received by the ad platform, and events counted inside your own funnel reporting. Store minus platform is your match rate. A gap that only appears under the flag is cookie loss you haven't felt yet.

Sofunnels shows step-by-step conversion tracking for each funnel step, which gives you the internal number to hold against what Meta and Google report.

  • Search your codebase and tag container for SameSite=None and list every cookie you find
  • Check the DevTools Issues panel for the cross-site cookie breaking-change warning
  • Relaunch Chrome with --test-third-party-cookie-phaseout and complete a test purchase
  • Write down store orders, platform events and your own funnel step counts for the same day
  • Re-run the test after any change to checkout, consent banner or tag container

Questions

Can you track conversions without cookies at all, or only with less accuracy?

You can track them. The purchase event still fires and revenue still lands in your reports; what you lose is match quality, the link between a specific ad click and a specific order. Server-side events sent with hashed customer identifiers, plus first-party records you keep yourself, recover part of that gap, but no method restores cross-site identity for free.

Do ad blockers and tracking protection extensions block server-side events too?

No. Blockers work by stopping browser scripts from loading, so a pixel request never leaves the page. A server-side event is sent from your checkout or your server and doesn't depend on the browser at all, which is why it survives blocks that quietly drop pixel fires.

Should I keep the browser pixel running once server events are live, or turn it off?

Keep it. Sending the same events from the pixel and the Conversions API is the recommended setup because the redundancy recovers events the pixel missed. Meta deduplicates events that share the same name and ID, so generate one event_id per conversion and use it in both calls.

What Event Match Quality score is good enough to trust the numbers?

There's no universal pass mark to aim for. Treat the score as a trend line: it shows how many of your server events match a real Meta user, so watch it move as you change your payload. Raise it by sending more identifiers per event (hashed email, phone, external ID), not by sending more events.

What replaces third-party cookies specifically for Google Ads conversion measurement?

Google's proposed replacement is the Privacy Sandbox Attribution Reporting API, which measures ad impressions and conversions without third-party cookies. It reports aggregated data with delays instead of a per-user trail you can query. Server-side events to Google's endpoints, plus identifiers you capture on your own pages, cover the rest.

Does server-side conversion tracking still require a consent banner?

In the EU, yes. Article 5(3) of the ePrivacy Directive requires consent before storing information on, or reading information from, a user's device, and the EDPB's 2023 guidelines read that to cover tracking pixels, tracking links and fingerprinting, not just cookies. A server event carrying a user identifier still needs a lawful basis, so if you rely on consent for the pixel, do the same for the server call.

Sources

  1. Preparing for the end of third-party cookies, Google Privacy Sandbox
  2. An updated timeline for Privacy Sandbox milestones, Google (Google Blog)
  3. Tracking Prevention in WebKit, WebKit
  4. Meta Conversions API extension overview, Adobe Experience League
  5. EDPB Publishes Guidelines to Clarify Scope of EU "Cookie" Notice and Consent Requirements, Hunton Andrews Kurth LLP (Privacy and Cybersecurity Law Blog)