What is server-side tracking?

Server-side tracking sends conversion data from your own server to the platforms instead of from the browser. The answer to cookie loss and iOS restrictions.

Definition

Server-side tracking sends conversion events from your own server (e.g. via a server-side Google Tag Manager container and Meta's Conversions API) instead of from the user's browser, so data isn't lost to ad blockers, cookie restrictions and iOS limitations.

Also called: Server-side tracking, CAPI, Conversions API, Server-side GTM, s2s
Explore the process

One purchase. Consistent measurement.

StorePurchase · DEMO-1042
1purchase
Example event01
event_name
Purchase
event_id
DEMO-1042
Browser + server
Same event, matched

01The purchase is recorded with a stable ID, value and currency.

Illustration without personal data. Matching event name and event ID identify browser and server copies of the same Meta event.

Why the browser is no longer enough

Traditional tracking happens in the browser: a pixel fires when the customer converts. But ad blockers, ITP in Safari, cookie consent and iOS privacy changes mean a growing share of those events never arrive. The result is blind bidding. The platforms optimize on incomplete data.

Server-side tracking moves the sending from the browser to your own server. The event is sent straight to Meta's Conversions API and Google's server-side endpoints, out of the ad blocker's reach.

What a good setup gives you

Better data quality means better optimization: the algorithm sees more of the real conversions and learns faster who buys. That improves matching (event match quality), attribution and, ultimately, what each ad euro can deliver.

A robust setup typically combines a server-side GTM container, Meta's CAPI with deduplication against the pixel, and enhanced conversions data for Google. Done right, it's one of the technical levers that lifts performance without touching budget or creative.

Event Match Quality — the number that decides the payoff

A server-side setup isn't all-or-nothing; it's only as good as the data you send with it. Meta scores it on Event Match Quality (EMQ) from 0 to 10 — effectively a measure of how well the platform can recognize the user behind an event. The more matched parameters you send — hashed email, phone number, name, city, postcode, external ID (fbp/fbc), IP and user agent — the higher the EMQ, and the more of your conversions Meta can actually attribute and learn from.

The difference isn't cosmetic. An account that lifts EMQ from 4 to 8 sees measurably more conversions in the account — not because more is happening in reality, but because fewer of the real sales get lost in matching. Better matching gives the algorithm a cleaner signal to optimize on, and that propagates into lower CPA and better scaling.

The other half is deduplication. If you run both pixel and CAPI (which you should), both need to send the same event_id, so Meta understands it's one event, not two. Without correct dedup you double-count and poison the optimization just as badly as gaps would. A good setup is as much about precision as it is about coverage.

Frequently asked questions

Does server-side tracking replace the pixel?

No, they complement each other. Best practice is to run both pixel and server-side with deduplication, so events aren't counted twice, while still catching the ones the browser would otherwise lose.

Is server-side tracking legal (GDPR)?

Yes, when set up correctly with consent via consent mode and proper data handling. Server-side moves the data collection but doesn't exempt you from consent requirements — it has to be built in from the start.

From insight to action

See how it applies in practice.

Løgbutikken

Website, channels and profit measurement

The Løgbutikken engagement covered the website, email, Meta, Google Ads and ProfitMetrics. The business grew and was subsequently acquired.

Read the case

Measurement and customer economics

Discuss measurement and bidding

We review the values you measure and how they can inform budget decisions.

Choose a time

30 minutes · No obligation

About the author

Growth hacker and fractional CMO with 10+ years' experience and hundreds of millions in managed ad spend behind him. Background from larger Danish and international scale-ups, and from the agency world.

Meet the team

Keep reading.

All articles