Last updated Anacoic team Checked against the product on
Server-side tracking: what it fixes, what it doesn't, and how to check it worked
Server-side tracking sends your conversions to ad platforms from a server you control, instead of only from a pixel in the visitor’s browser. It recovers purchases the browser drops, but it doesn’t fix attribution, consent or a broken setup. You know it worked only when three things hold: the server sent the event, the platform accepted it, and the count matches your store’s orders.
Key takeaways
- Server-side delivery recovers events a browser pixel loses: blocked requests, pages that don’t load, checkouts that never reach the thank-you page.
- It doesn’t change attribution, it doesn’t override what visitors consented to, and it can’t send an order your server never sees.
- Run it next to the browser pixel, with the same event ID on both, or the platform counts some purchases twice.
- A 200 reply proves an event was accepted, not that every order was sent. Only a comparison with your store’s orders shows that.
- Server-side delivery breaks quietly too, for example when an access token expires. It needs the same daily check as a pixel.
What are the three checks for server-side delivery?
Each check answers a different question, and each one catches failures the others miss.
| Check | The question | Where you see it | What it misses |
|---|---|---|---|
| 1. Sent | Did your server, or your gateway, send the event? | Your server’s logs, or the gateway’s delivery log | Whether the platform kept it |
| 2. Accepted | Did the platform accept it and count it as received? | The platform’s reply; Meta Events Manager; Google’s request status | Orders that were never sent |
| 3. Counted against orders | Did the platform receive as many purchases as your store took orders? | Your store orders next to each platform’s events received | Why a gap opened |
Most setups stop after the second check. The third is the only one that shows purchases going missing, or being counted twice, because only your store knows how many orders there were.
What is server-side tracking?
In browser tracking, a pixel on your site sends each event from the visitor’s device straight to the ad platform. In server-side tracking, the event goes to an endpoint you control first, then on to the platform’s server API, such as Meta’s Conversions API.
That endpoint can be your own backend, a server-side Google Tag Manager container, or a gateway such as Anacoic’s. Each one does the same basic job: receive the event, prepare the customer details the platform asks for, and send it on.
Meta recommends using its Conversions API in addition to the pixel and sharing the same events through both, because the API can capture website events “that the Pixel may lose” (Meta for Developers: Conversions API best practices, checked 28 November 2026).
What does server-side tracking fix?
It fixes losses that happen in the browser, between the order and the pixel. The common ones:
- Pixel requests that never leave the browser. Blockers and privacy tools stop many requests to ad-network domains. A request to your own subdomain or server is usually not on those lists.
- Pages that don’t finish loading. A buyer who closes the tab before the thank-you page loads never fires the pixel. A purchase your backend confirms can still be sent.
- Checkouts that skip the thank-you page, such as some payment redirects. The server knows the order was paid even when the browser never returns.
- Short-lived browser cookies. Safari’s tracking prevention deletes cookies created by scripts after 7 days without user interaction (WebKit: tracking prevention, checked 28 November 2026). A cookie set by your own server in an HTTP response isn’t held to that limit, unless Safari sees the subdomain point at a third party, which it caps to 7 days as well (same page). Serving the gateway through your own site avoids that: see serve the gateway from your site.
How many events this recovers depends on your audience, your checkout and your consent setup. Nobody can tell you the number in advance. Measure it against your own orders, before and after.
What doesn’t server-side tracking fix?
It doesn’t fix anything that happens after the platform receives the event, or before your server knows about the order.
- Attribution. Platforms still credit only purchases that follow an ad within their own windows. A gap between events received and the purchases credited to ads is attribution, and no tracking change closes it. Store orders vs ad platforms explains the difference.
- Consent. Moving delivery to a server doesn’t change what a visitor agreed to. If your consent banner says no marketing tracking, the server shouldn’t send that visitor’s events either. Anacoic’s gateway also honours the browser’s Global Privacy Control signal by default (serve the gateway from your site).
- Orders your server never sees. If an order isn’t recorded where your server-side setup listens, it can’t be sent.
- Duplicates. Adding a server copy of every purchase creates duplicates unless both copies carry the same event ID. See Meta shows more purchases than Shopify.
- A setup that breaks later. Access tokens expire, checkouts change, apps get updated. Server-side delivery fails as quietly as a pixel does.
How do I check that server-side tracking worked?
Work through the three checks in order, with a test order first and then real days.
- Send a test event. In Meta Events Manager, open Data Sources, your pixel, then Test Events, and send a test purchase through your server path (Meta for Developers: using the API). It should appear as a server event.
- Read the reply for each event. Your server or gateway should log what each platform answered. A refused access token or a malformed field shows up here, not in the ads dashboard.
- Check what Meta received. Your dataset’s Overview in Events Manager shows the events received before deduplication, the ones discarded and the ones processed, with the connection method for each (Meta for Developers: verifying your setup).
- Check deduplication. Meta reports deduplication key feedback: the share of pixel and Conversions API events that carried each key (Meta for Developers: Dataset Quality API). A low share of events with an event ID means duplicates are likely.
- Compare with your orders, every day. Divide each finished day’s Purchase events received by that day’s eligible orders. Compare the share with your own last 2 to 4 weeks. A drop means events went missing. A share above 100% usually means duplicates.
For Google Ads, the platform answers in two steps. The Data Manager API accepts a request first, and the result for each conversion is ready after about 30 minutes, sometimes up to 24 hours (Google for Developers: Data Manager API diagnostics). Google Ads Data Manager API explained covers what that means for you.
The daily comparison in step 5 is the same one described in conversion tracking monitoring. Server-side delivery doesn’t remove the need for it.
What does a delivery log show?
A delivery log records each request your server-side setup sent, and what each platform replied. It’s the receipt for checks 1 and 2.
This is the real delivery log of Anacoic’s own test gateway, filtered to Purchase events:
Each row is one request, with each destination’s status. The checks at the top are worked out from the traffic itself: whether deliveries succeeded, whether conversions carried an event ID, and whether personal data was hashed before it left the gateway. Google Ads delivery is available on request, and it’s switched on for this test gateway.
A log like this still can’t tell you about orders that were never sent. That’s check 3.
What are the ways to set up server-side tracking?
There are three common routes. They differ in who runs the server and how much you maintain.
| Route | What you run | Good fit when |
|---|---|---|
| Direct to each platform’s API | Your own code, calling Meta’s Conversions API and others | You have developers and one or two platforms |
| Server-side Google Tag Manager | A tagging server container, hosted by you on Google Cloud or by a hosting company | You already work in GTM and want its tag templates |
| A managed gateway | A hosted endpoint that takes one event and sends it to each destination | You want server-side delivery without running or configuring a tag server |
Choosing between them, including Meta’s own Conversions API Gateway, is covered in Meta Conversions API Gateway vs server-side GTM vs a managed gateway. What each costs, and how to work out your own figure, is in server-side tagging cost. Whether it’s worth doing at all is in is server-side tracking worth it?
How does the Anacoic gateway send events?
You send one event to the gateway, from the ana.js tracker in the browser or from your backend, and it sends it on to each destination you switch on.
// From your backend, once the order is paid
await fetch("https://edge.anacoic.com/track", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Gateway-ID": "YOUR_GATEWAY_ID",
},
body: JSON.stringify({
event_name: "Purchase",
event_id: "order_10482", // the same ID the browser pixel uses for this order
user: {
email: "customer@example.com", // hashed with SHA-256 by the gateway before it's sent on
phone: "+14155550123",
},
custom_data: { value: 99.99, currency: "USD", transaction_id: "10482" },
}),
});
The gateway reads customer details from user. The full list of fields is in the API reference.
Destination status today:
| Destination | Status |
|---|---|
| Meta Conversions API | Works today |
| Google Ads (Data Manager API) | On request: talk to us and we switch it on for your workspace |
| TikTok, Snapchat, LinkedIn, Pinterest, Reddit, X, Microsoft | In beta: not yet tried with a real ad account |
| Custom webhooks | Works today |
The gateway skips a repeat of an event ID it has already received in the last 24 hours, so a purchase sent from both the browser tracker and your backend goes on once. It alerts you when a destination keeps refusing its access token, and when the Google Ads connection needs reconnecting.
Which platform-specific guides go deeper?
- Shopify: Anacoic for Shopify and the Shopify gateway setup.
- WooCommerce: WooCommerce server-side tracking without GTM.
- Meta matching: Event Match Quality: what it is and how to raise it.
- Meta duplicates: Meta shows more purchases than Shopify.
- Google Ads: Google Ads Data Manager API explained.
What this can’t tell you
- How many events you’ll recover. That depends on your visitors and checkout. Measure it against your orders.
- Whether your ads work. Delivery is about counting purchases, not about which ads caused them.
- Whether a platform will match each event to a person. That’s Event Match Quality for Meta, a separate score.
- What happens after the platform accepts an event. Platforms decide how they use it for reporting and bidding.
Related
- Is server-side tracking worth it?
- Server-side tagging cost: gateway vs hosted GTM
- WooCommerce server-side tracking without GTM
- Google Ads Data Manager API explained for marketers
- Event Match Quality: what it is and how to raise it
- Meta shows more purchases than Shopify: finding duplicates
- Conversion tracking monitoring: how to know the day your tracking breaks
- How Watch checks your tracking
- Fix: the Anacoic gateway