Shop owner handing a bundle of sealed envelopes to a postal worker at a back door at dusk

Ecommerce, tracking & leads · Advice guide

Do I need server-side tracking and the Meta Conversions API?

What server-side tracking fixes, what it can't, the routes from free to fully built, and how to check it works.

The short answer

You need server-side tracking if you sell online and spend meaningfully on Meta or Google Ads, because ad blockers, Safari's cookie limits and lost browser events hide sales from the platforms. Most shops should start with the free option: Shopify's Meta app or Meta's own Conversions API set-up. It doesn't remove the need for consent: UK rules still require it for advertising tracking.

7 days
Safari's limit on cookies set by scripts, without user interaction4
48 hours
Meta's window for removing duplicate browser and server events10
$45
approximate monthly cost per Google Cloud Run tagging server9

Key points

  • Server-side tracking passes conversions to Meta and Google directly from your server, so ad blockers and browser cookie limits lose fewer sales.
  • Safari deletes cookies set by scripts after seven days without interaction, so a buyer who comes back nine days after clicking an ad can go uncounted.
  • It's not a way round consent: the ICO's April 2026 guidance treats advertising tracking and measurement as needing consent.
  • Start free (Shopify's Meta connection or Conversions API with Meta) and pay for server-side Google Tag Manager, from about $20 a month hosted, only if a gap remains.
  • Check it works with Meta's test events, deduplication by event ID within 48 hours, and Event Match Quality scored out of 10.

What's the difference between browser and server-side tracking?

Browser tracking means a script on your website, such as the Meta Pixel or the Google tag, runs in each visitor's browser and reports what they do straight to the ad platform. Server-side tracking sends the same events from a server instead: your shop's own back end, or a tagging server you control, which passes them on.

Meta's server route is the Conversions API, which connects your marketing data to Meta's systems so it can target ads, lower cost per result and measure outcomes.1 Google's is server-side tagging in Google Tag Manager. That container doesn't run in the browser at all; it runs on a server you control, and only you can see the data until you decide where to send it.2

Think of browser tracking as asking every customer to post their own receipt to the ad platform on the way out. Most do. Some lose it, and some have a letterbox that won't take post. Server-side tracking is the shop posting its own copy.

Do you need both?

Usually, yes. Server-side doesn't replace the pixel or the Google tag for most businesses; it backs them up. The two send the same events, and the platforms remove the duplicates (more on that in the checks below).

Why do Meta and Google miss some of my sales?

Ad platforms miss conversions because the browser is an unreliable messenger. You'll usually spot it as fewer purchases in Meta or Google Ads than in your own order list. Four things get in the way.

  • Ad blockers. Shopify's help centre notes that a browser-based ad blocker can stop the Meta pixel sharing data, while server-to-server events from the Conversions API can't be blocked that way.3
  • Browser privacy rules. Safari's tracking prevention blocks all third-party cookies and deletes cookies created by scripts after seven days without any interaction with your site. When a visitor lands from a link carrying tracking information, it can cap those cookies at 24 hours.4 Someone who clicks an ad on a Monday and buys nine days later may no longer be recognisable.
  • Declined consent. If a visitor refuses advertising cookies, your tags shouldn't fire for them, server-side or not. How Google estimates those gaps with Consent Mode is covered in our guide to Google Ads conversion tracking.
  • Journeys the script never sees. Checkouts on another domain, payment pages, thank-you pages that load slowly, and people who close the tab before the tag fires.

What the gap looks like (illustrative)

Orders in your shop this month
200
Purchases Meta received from the pixel
150
Purchases Meta never saw
50, or a quarter of sales

Those 50 aren't only a reporting problem. Meta's bidding learns from the 150 it can see, so it optimises on a smaller and lopsided sample, and your reported ROAS looks worse than the till says. That's why we treat the gap as a bidding problem first and a reporting one second.

Fisherman on a harbour wall mending a hole in a green fishing net with a wooden needle
Browser tracking has holes: ad blockers, cookie limits and declined consent all let sales slip through. AI-generated image.

Who needs server-side tracking, and who can wait?

You need server-side tracking if you sell online, spend real money on Meta or Google, and let the platforms' bidding chase purchases or purchase value. The more your bidding leans on conversion data, the more each missing sale costs you.

Likely to need it

Online shops running Meta ads, especially with lots of Safari visitors (your analytics will tell you). Accounts using value-based bidding such as Target ROAS. Any business where platform purchases sit well below real orders week after week.

Can probably wait

Small budgets where the platforms have little to learn from anyway. Service firms whose enquiries mostly arrive by phone: fix call tracking first. Businesses that close sales offline, which gain more from importing those results than from tracking clicks harder.

Castle tip

Before paying for anything, compare a month of orders in your shop with purchase events in Meta Events Manager and conversions in Google Ads. If the gap is small, the free connection in the next section is plenty. It's one of the first checks our Meta ads agency team runs on a new account.

If you're unsure how much of the gap is tracking and how much is attribution (each platform crediting itself), our guide to marketing attribution separates the two.

How do you set up the Meta Conversions API and server-side tagging, and what does it cost?

There are six routes, from a few clicks to a proper engineering job. Start at the top and stop once the gap closes. Prices are as published in November 2026; the hosting vendors quote in US dollars.

RouteWhat it doesTypical effortRunning cost
Your shop platform's own connectionShopify's Facebook and Instagram app at the Enhanced or Maximum level adds the Conversions API to the pixel3MinutesIncluded with the app
Conversions API with MetaSwitched on in Events Manager for website events, with no code or hosting1MinutesNo setup fees1
Meta Conversions API GatewayPixel and server events without developers, run in your own AWS or Google Cloud account6Hours, with a cloud account6Cloud or partner fees only6
Google tag gateway for advertisersServes the Google tag from your own domain through your CDN, then forwards events to Google7An hour or two on CloudflareFree on Cloudflare7
Server-side Google Tag ManagerOne server container that shapes and routes events to Google, Meta and others2Days, with a specialistStape: free to 10,000 requests a month, then $20 a month for 500,000 ($17 billed annually)8. Google Cloud Run: about $45 a month per server, two or more for production9
Direct API integrationYour developers send events from your own back end to Meta's endpoint1WeeksDeveloper time

Worked example: hosting a server container

Requests a month
300,000
Hosted on Stape's Pro plan
$20 a month, or $17 billed annually
Self-hosted on Cloud Run, two servers
about $90 a month
Set-up and upkeep
Someone's time, which usually costs more than either

Whichever route you choose, keep the pixel running. Meta recommends the Conversions API alongside the pixel, not instead of it.10

How do you check server-side tracking is working?

You know it's working when events arrive from both browser and server, duplicates are removed, and the server events carry enough customer information to be matched to real people. Run these checks after set-up and after every site change.

  1. Place a test order. Add a test code to your server events and they appear in the Test Events window in Meta Events Manager as soon as they're sent. Remove the code before going live.11 For Google, use Tag Manager's preview mode on the server container.
  2. Check deduplication. Meta matches browser and server events that share the same event name and event ID, and discards the second if both arrive within 48 hours.10 If purchases double overnight after launch, a missing or mismatched event ID is the usual culprit.
  3. Check Event Match Quality. Meta scores each web event out of 10 on how well its customer information can match people to accounts. Email address, phone number, name and IP address are among the parameters that help.12
  4. Reconcile with real orders. Compare a full week of shop orders with purchases in Events Manager and conversions in Google Ads. Expect close, not identical.
  5. Re-test after changes. Theme updates, checkout changes and a new consent banner are where server set-ups break without anyone noticing.

If the numbers look right but the money doesn't, look at how you judge the results. Break-even and blended ROAS are explained in what makes a good ROAS. For a wider measurement set-up, see marketing analytics services.

Brewer holding up a sample jar with a hydrometer to the light beside steel brewing tanks
Test the readings rather than trust the promise: test events, deduplication and match quality show whether it works. AI-generated image.

Castle’s view

Switch on the free connections first, and pay for servers when the gap is worth it

Most shops we look at don't need a tagging server on day one. They need the connection their platform already offers, switched on and tested, and a consent banner that genuinely controls it.

Server-side Google Tag Manager earns its keep when you spend enough that a few more matched conversions change how well the bidding works, or when you need tight control over what leaves your site. At that point it's worth doing properly, with someone who'll maintain it after launch.

What we won't do is sell it as a way round consent. A tracking set-up you'd be embarrassed to explain to the ICO isn't an asset, however good the match rate looks.

James, for Castle International, 17 Mann Island, Liverpool

Frequently asked questions

Is the Meta Conversions API free?

Meta doesn't charge for it. Conversions API with Meta can be switched on for website events in Events Manager with no setup fees, and the Conversions API Gateway's only cost is your cloud or partner fees.6 You pay only if you run your own gateway or tagging server, plus whoever's time it takes to build and maintain it.

Does server-side tracking improve ROAS?

It doesn't create sales. It records more of the sales you already make and gives the platforms better data to bid on, so reported ROAS may rise straight after set-up. Treat that first jump as better measurement, not better marketing, and judge real gains on blended ROAS from your own sales figures over the following months.

Do I still need the Meta Pixel?

Yes. Meta recommends running the Conversions API alongside the pixel and sending the same events from both, with a matching event name and event ID so it can drop duplicates.10 The server catches what the browser misses; the browser still reports what happens on the page in real time.

What's a good Event Match Quality score?

Meta scores each web event out of 10, but the pages we checked don't publish a pass mark. Watch the trend for your purchase event, and raise it by sending more of the customer parameters Meta lists, such as email, phone, name and IP address, hashed where Meta requires it.12

Who owns the data in a server-side set-up?

Whoever owns the cloud account and the container. Google's server container runs in a Google Cloud project you choose, and only you see the data until you send it on.2 Put the account in the business's name, not a freelancer's or an agency's. Our guide to switching marketing agency covers ownership more widely.

Does server-side tracking help with Google Ads?

It can, by loading Google's tags from your own domain or routing them through a server container. For most accounts, though, the bigger wins come first from clean conversion actions, enhanced conversions and Consent Mode wired up correctly. Our Google Ads conversion tracking guide covers those.

Sources

Every figure in this guide links to one of these sources. Checked 30 November 2026.

  1. Conversions APIMeta for Developers · checked 30 November 2026
  2. Introduction to server-side taggingGoogle for Developers · checked 30 November 2026
  3. Meta data sharing (Facebook and Instagram by Meta)Shopify Help Center · checked 30 November 2026
  4. Tracking Prevention in WebKitWebKit · checked 30 November 2026
  5. How do the rules apply to online advertising? (Guidance on the use of storage and access technologies)Information Commissioner's Office · guidance finalised 29 April 2026
  6. Conversions API GatewayMeta for Developers · checked 30 November 2026
  7. Google tag gateway for advertisersCloudflare Docs · checked 30 November 2026
  8. Stape pricingStape · checked 30 November 2026
  9. Set up server-side tagging with Cloud RunGoogle for Developers · checked 30 November 2026
  10. Handling duplicate Pixel and Conversions API eventsMeta for Developers · checked 30 November 2026
  11. Using the Conversions API (test events)Meta for Developers · checked 30 November 2026
  12. Conversions API best practicesMeta for Developers · checked 30 November 2026

Castle International

Rather have it done for you?

Require AI SEO, GEO, or digital marketing and AI automation within your business? Book a free appointment with a senior consultant.

Or call 0151 440 3045.