logo-Finny2

Server side tracking: what it recovers and what the server costs you

Server side tracking means that data about visits and orders goes to Meta, Google, or TikTok from a server you own, instead of leaving the visitor’s browser. It recovers part of the events stopped by ad blockers and extends the life of some cookies in Safari. For visitors who refuse cookies, it changes nothing. The infrastructure bills every month, and Google publishes the numbers, so the real question is whether your loss justifies the amount.

What changes when the data leaves from your own server

The browser sends a single call to a server you own, and that server forwards the data to the ad platforms. Google describes the server container as an intermediary endpoint that you own, sitting between the device and third-party endpoints, applying processing rules before the data goes any further.

The architecture has two pieces. A web container stays on the site and holds only the tags needed to generate events as HTTP requests. A server container, hosted in a cloud environment, receives all those requests and decides what goes out, where, and in what shape. Inside the container you can validate, parse, anonymize, or block requests.

The documentation answers the question most people have. Server-side tagging complements client-side tagging, and to “does it replace it?” the official answer is “no”. The browser pixel stays on the site. The server gets added on top of it.

What reaches the platforms changes too. In the classic setup, the browser talks straight to vendor servers, and the person’s IP address always lands there. Through a server container, personal data such as the IP address can be stripped out of what you forward.

Three losses from the browser pixel, three different verdicts

Ad blockers, Safari’s caps, and cookie refusals are three separate mechanisms, and the server handles each one differently.

What you loseWhere it comes fromWhat the server does
Events stopped by blockersDestination is a known third-party domainRecovers part of them
Cookies cut short in SafariITP lifetime capsHelps, within limits
Visitors who refuseThe person’s decisionNothing

Against ad blockers, the server actually helps

A blocker recognizes a request by its destination or by the URL pattern and stops it before it leaves. When collection runs through your own domain, the browser sees a single call to your own subdomain instead of dozens of third-party scripts.

How much you recover depends on how many of your visitors run blockers, and that varies from niche to niche. No official figure has been published for the recovered share, so the round percentages floating around this topic have nothing to stand on. Measure it on your own store. Real orders against reported conversions, before and after.

In Safari, a server-set cookie lives longer but still has an expiry date

Intelligent Tracking Prevention, the WebKit mechanism in Safari, blocks all third-party cookies by default, with no exceptions. On top of that come the lifetime caps.

Persistent cookies created from JavaScript, through document.cookie, are capped at 7 days. The cap arrived with ITP 2.1, in February 2019. It was later extended to IndexedDB, LocalStorage, SessionStorage, media keys, and the Service Worker cache, all deleted after seven days of Safari use without interaction with that site. Separately, when ITP detects link decoration, meaning a click ID pasted into the page URL, cookies created in JavaScript on the landing page expire in 24 hours.

There is one more rule that almost everyone skips when selling the server side idea. ITP detects CNAME cloaking and third-party IP cloaking, and when it does, it caps any cookie set in the HTTP response at 7 days. A server side setup on a subdomain that points to an outside vendor behind the scenes fits that description exactly. You gain over the cookie written from JavaScript, and you still sit under the caps.

A refusal stays a refusal

If the visitor clicked “Reject” in the cookie banner, your server has no basis to forward the event. Your infrastructure changes the technical route the data takes; the right to collect it still comes from consent. Google lists consent awareness among the operations you run in the server container, next to validation, anonymization, and request blocking.

Technically you can go further, down to changing URL patterns so the blocker lists stop recognizing them. Applied to the traffic of people who refused, that technique turns into a compliance problem. For visitors from the EU, consent comes under GDPR, enforced by each member state’s data protection authority.

How to keep the same order from being counted twice

When you send the same event from the browser and from the server, Meta has to understand that one order happened. The officially recommended method is the event_id plus event_name pair: the eventID in the pixel has to match the event_id sent through the Conversions API, the channel Meta uses to receive events from a server, and the event names have to match as well.

A few details that matter during implementation, from Meta’s documentation on deduplication:

  • eventID is the fourth argument in the fbq track call.
  • When the two events don’t differ significantly in content, Meta generally keeps the one it received first.
  • The alternative method runs on event_name plus fbp and/or external_id, used consistently on both channels.
  • Events sent only once work fine with no deduplication setup at all.
  • In batch sends, a repeated event_id with the same event_name is kept once, so a resend won’t inflate your report.

In the official parameter list, event_id shows up as optional, with the recommendation to fill it in for deduplication. For the value you can use the order number or the transaction ID, which your store platform already has.

Here is how we check it. If Meta reports more than roughly 115% of the real orders in the store, look for a duplicate rather than an attribution difference. The usual cause is the same pixel installed in two places, in the theme and in an app. We wrote at length about how to check that a sale is counted once on Shopify.

Signs your store needs server side tracking

All of them show up in your own dashboard, with what you already have at hand.

  1. The gap between orders and reported conversions stays wide after you rule out the ordinary causes. The attribution window, view-through conversions, purchases on another device, and modeled conversions explain a good part of the difference. What’s left after those is the territory of data actually lost. Start from the article on how much gap is normal between Facebook Ads and store orders.
  2. The order only registers if the thank-you page loads. With payments that redirect to a bank, plenty of people close the tab right after confirmation. On the server, the order exists whether that page ever opened or not.
  3. You have events that happen off the site: payment confirmed days later, a declined charge, a cancellation, a return. The browser pixel never sees them.
  4. Event matching is weak. When you send few identifying fields, the platform has a harder time tying the event to a person, and Meta shows you that through the Event Match Quality score. The server has access to order data the browser doesn’t have at hand; the details are in the article on what data raises the Event Match Quality score.
  5. You want to push data back to the platforms from your CRM, for example orders confirmed over the phone.

The sign pointing the other way is low volume. Under about $20 a day on one platform, the algorithm barely leaves the learning phase, and with a handful of orders a week the difference you’d recover drowns in the noise. The infrastructure, on the other hand, bills every single month.

What the server costs, by Google’s numbers

The figures below come from Google’s documentation for server-side Tag Manager hosted in Google Cloud, read in October 2026. The Cloud Run setup guide points to around $45 per month for each server, on an instance with 1 vCPU and 0.5 GB of memory, under the “CPU always allocated” pricing model. Autoscaling between 2 and 10 servers is estimated to cover 35 to 350 requests per second.

For redundancy, the two official pages give different thresholds. The Cloud Run guide recommends a minimum of 2 instances, while the overview page, updated more recently, asks for a minimum of 3 instances per container and estimates $30 to $50 per server per month. The official course calculates with roughly $50 per instance and states directly that your minimum cost floor is the minimum number of instances times the cost of one server. Do the math. At 3 instances and $30 to $50 apiece, the monthly budget starts between $90 and $150, before any implementation work.

Other limits worth keeping in mind from the documentation:

  • Automatic deployment creates a project with restricted resources and is recommended only for testing with limited traffic.
  • The App Engine option in the Flexible environment runs around $40 per month per server, and above 1 million requests per month Google recommends turning request logging off. Cloud Run stays the recommended option.
  • To serve gtm.js from your own domain you need a server container, server tagging configured, and a custom domain.
  • To stitch a journey across two different domains, say the site and an external checkout, both need server side tagging, on the same account and the same container.

That last point is usually what breaks the plan. If your checkout sits on another domain, check it before you pay the first month of cloud.

Six steps, in the order you do them

  1. Measure the current gap over one month, store orders against conversions reported by each platform.
  2. Hunt for duplicates first. If a platform reports more than you sell, a server fixes nothing.
  3. Put UTMs everywhere. Without them, ad traffic shows up in Analytics as direct or referral and you can’t attribute anything, no matter where you collect the data.
  4. Pick what you send from the server and set event_id on the browser plus server pair, ideally the order number.
  5. Hosting and the custom domain the server will answer on come only now.
  6. Check for a week which events reached each platform against real orders, before you touch budgets.

Frequently asked questions

Do I still need a cookie banner if I move to server side tracking?

Yes. The banner decides what you’re allowed to collect, regardless of where the data leaves from on its way to the platforms. Google lists consent awareness as one of the operations you run in the server container. For your specific situation the question is a legal one, and for EU visitors it falls under GDPR.

Does server side tracking get past ad blockers?

Past some of them, yes, because the browser makes a single call to your domain instead of dozens of requests to recognized third-party domains. There’s no official number for how much you recover. The only valid measurement is your own, comparing real orders with what the platforms report before and after.

Is it the same thing as Meta’s Conversions API?

The Conversions API is the channel Meta uses to receive events from a server. Server side tracking is the architecture that can send events to several destinations at once, Meta being one of them. You can send through the Conversions API straight from your store platform, without standing up a server container.

What happens if I leave the browser pixel running too?

You have to send the same event_id and the same event_name on both channels, otherwise the same order gets counted twice. Meta generally keeps the event it received first, when the content of the two doesn’t differ significantly. The concrete steps are in the article on how to set up the Conversions API with Meta.

How long until I see a difference in the reports?

Events show up immediately, but campaign conclusions need at least three days of data. Until then you compare event counts, not performance. The first 72 hours after any major change get left alone.

What Optimads does here

Optimads Tracking sends confirmed store orders from the server to Meta, through the Conversions API, and to TikTok, through the Events API. The identifier matches the one in the browser pixel, so the platforms don’t count the same sale twice. It connects to Shopify, WooCommerce, and PrestaShop, and to other sites through code or a WordPress plugin. The verification side shows you which pixels fire on the site, what reached each platform and what didn’t, against real orders, and attribution shows you order by order where the sale came from. The cookie banner is optional, and until someone clicks Accept nothing goes out to the ad platforms. If you want the technical details first, read what Optimads Tracking is or see how it works on the Optimads Tracking page.

Sources

Start Running Smarter Ads Today

Everything it takes to launch, track, and grow your ads — in one place you control.

We’ll guide you through the setup — no developer needed.
OptimadsYour store runs on
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare