Tracking

Server-side tracking

Server-side tracking sends measurement from a server you control instead of the visitor's browser. More data arrives, and the consent rules still apply.

Also called server-side tagging, server-side GTM, sGTM, server container

SiiteWritten by SiiteUpdated September 29, 2026

Server-side tracking sends measurement data from a server the business controls rather than directly from the visitor’s browser to Google, Meta and the rest. The browser reports once, to your own server, and the server decides what to pass on and to whom. More of the data arrives, the business can see exactly what leaves, and the obligations around consent stay precisely where they were.

In short

  • The browser reports to your server, and your server reports onwards.
  • Fewer events are lost to blockers and browser limits.
  • You decide what each platform receives.
  • Consent still decides whether anything is sent at all.

How ordinary tracking leaks

In the usual setup, every tool on the page runs its own script in the visitor’s browser and sends its data straight to its own company. That arrangement loses data in several quiet ways.

  • Blockers. Ad blockers and some browsers stop scripts that load from known tracking addresses.
  • Short cookie lives. Some browsers shorten the life of cookies set by scripts, so a returning visitor is counted as new and an earlier click loses its credit.
  • Slow connections. On weak mobile data, a visitor can leave before the script has finished sending anything.
  • Weight. Each extra script adds work to the page, which the visitor pays for in loading time.

None of these appears as an error in any report. The numbers are simply lower than what happened, and the shortfall is uneven, larger for some devices and audiences than for others.

What changes with a server in the middle

The page sends one stream of events to a server answering on a subdomain of your own site, and that server forwards each event to the platforms that need it.

  • Requests go to your own domain. Many blockers leave them alone, and cookies set by your server can last longer than those set by scripts. The subdomain is usually connected with a CNAME record.
  • One stream, several destinations. Analytics, Google Ads and Meta can all be fed from the same event.
  • Control over what leaves. Personal details can be removed, or turned into unreadable codes, before an event reaches a platform.
  • Less work in the browser. When browser scripts are actually removed, the page has less to load.

The usual tool is a server container in Google Tag Manager, hosted by a specialist provider or on a cloud account the business owns. Meta’s Conversions API, the server partner of the Meta Pixel, is the receiving end of the same idea on the Meta side.

What it does not change

Server-side tracking changes where data is sent from. It does not change what you are allowed to send, or what the data means.

  • Consent. A visitor who declined the consent banner must not be tracked from a server any more than from a browser.
  • Definitions. A wrongly defined event stays wrong, and a form counted twice in the browser is counted twice from the server.
  • Conversations. A sale agreed in Messenger or over the phone never reaches any tracking, however it is built.

Treat any offer that presents server-side tracking as a way around blockers and privacy choices as a warning sign. The honest description is fewer losses among visitors who agreed to be measured.

Running both sides at once

Most setups keep a browser tag and add the server beside it, so the same event can arrive twice. Meta removes the duplicate when both copies carry the same event identifier, and Google Ads does the same for purchases carrying the same order number. Without those identifiers, conversions are counted twice, and every report looks better than the business is actually doing.

Testing that the duplicates are removed is part of the setup, not an optional extra. Place a test order or send a test form, then check that it appears once in each platform. Repeat the same check after any change to the website’s forms or checkout.

When it is worth doing

It earns its keep when decisions depend on conversion numbers and the browser is visibly losing them.

  • Automated bidding. Budgets steered by Smart Bidding or by Meta’s delivery system learn from the conversions they are shown, and missing ones teach them the wrong lessons.
  • An online shop. Orders in the shop system clearly outnumber the orders in the advertising reports.
  • Many tools. A site carrying several tracking scripts, where one stream can replace the pile.

A small site without advertising rarely needs it. Getting the key events right in the browser comes first, because a server only forwards what it is given.

A server container is also something to maintain rather than a job finished at launch. Platforms change what they accept, the hosting has to stay paid and running, and a container nobody watches can stop forwarding events without any warning until the reports go quiet. Decide who checks it each month before it is built, and make sure both the container and its hosting sit in accounts the business owns rather than in a supplier’s.

Words you will hear

  • Server container. The Tag Manager workspace that runs on a server.
  • Client. The part of a server container that receives incoming requests.
  • Conversions API. Meta’s route for receiving events from a server.
  • Event ID. The shared identifier that lets a platform remove duplicates.
  • First-party context. Requests and cookies that belong to your own domain.
  • Hashing. Turning personal details into a fixed code that cannot be read back.

Compare the orders or inquiries in your own records with those in your reports for the same month. The size of that gap is what decides whether server-side tracking is worth setting up.

Questions we get

More about server-side tracking

What is server-side tracking?

A setup where the visitor's browser sends measurement data to a server the business controls, and that server passes it on to Google, Meta and the other platforms. Normally each platform's script sends its own data straight from the browser.

Does it get around ad blockers and consent?

It loses fewer events to blockers and browser limits. It does not change consent at all: a visitor who declined tracking must not be tracked from a server any more than from a browser, and the server has to receive and respect that choice.

Do we need it?

It is worth doing when advertising decisions depend on conversion data and the browser is visibly losing some of it. A small site without advertising, measuring a handful of form submissions, rarely needs it.

Does it replace the Meta Pixel and the Google tag?

Usually it runs alongside them. When the same event arrives from both the browser and the server, the platforms remove the duplicate only if both copies carry the same identifier, so that has to be set up and tested.

Does it make the website faster?

It can, if scripts are genuinely removed from the page and replaced by one stream of events. Adding a server while leaving every browser script in place makes the page no lighter.

Is the data more accurate?

More complete, not automatically more correct. An event that was defined wrongly in the browser is still wrong when it is sent from a server, and a form counted twice is still counted twice.

Why does it use a subdomain of our own site?

So that the requests and any cookies belong to your own domain rather than to a platform's. It is usually set up with a DNS record pointing a subdomain such as a measurement address at the server.
Want this handled for you?

Let us take server-side tracking off your desk.

The guides and these pages are yours to use for nothing. When you would rather have the work done properly than done by you, tell us what is already in place and we will put a proposal together.

or call +63 2 5323 8174