Data
What server-side tracking is and when it's worth it
Moving tags to a server gives you control over what data leaves your site, and that control comes with a hosting bill and someone who has to look after it.
Server-side tracking means your website sends its measurement data to a server you control, and that server decides what to pass on to analytics and ad platforms. In the usual setup, every tag on the page talks to its vendor directly from the visitor's browser. With server-side tracking, the browser sends one stream to your server, and the server does the forwarding.
The term covers a few different things. Sometimes it means a server-side Google Tag Manager container. Sometimes it means your backend sending events straight to an API, like a checkout calling the Meta Conversions API when an order is saved. Often it's both. What they share is that the decision about what data goes where moves off the visitor's device and onto infrastructure you run.
How server-side tagging works
In a standard web setup, a page might load a Google Analytics tag, a Meta Pixel, a LinkedIn tag and a few others. Each one runs its own code in the browser, sets its own cookies and sends data to its own servers. You can configure them, but you can't easily see or control exactly what each one collects once it's running.
Server-side tagging puts a step in the middle. The browser sends events to a tagging server, usually on a subdomain of your own site. That server receives the request, runs the tags you've set up in the server container, and sends each platform the data you've chosen to send.
Google's introduction to server-side tagging says the server runs in your own Google Cloud project, or in a different environment of your choosing, and you have full control over how the data is shaped and where it's routed. The same page says only you have access to the data in the server until you choose to send it elsewhere. Google also strongly recommends installing the server on your first-party domain before sending production traffic.
That last point matters. Putting the tagging server on a subdomain of your site means DNS work and a custom domain setup, and it's one of the steps where a rushed install goes wrong.
What you gain
The practical gains fall into a few areas.
You control the data. You can strip fields before they reach a vendor, such as removing personal details from a URL or dropping parameters a platform doesn't need. You can enrich events with data the browser doesn't have, like a margin value or a customer status from your own systems.
You get a single place to manage consent. When the browser sends one stream to your server, the server can apply the visitor's consent choice to every destination in the same way. That's easier to audit than a dozen browser tags each reading the consent state on their own.
You get more reliable delivery to platforms that accept server events, like the Meta Conversions API. Events processed by your server don't depend on each vendor's script loading in the visitor's browser.
You can lighten the page. Fewer vendor scripts in the browser can mean less code for each visitor to download and run. How much that helps depends on how many tags you move and how heavy they were.
What it costs
Server-side tagging has a hosting cost that browser tags don't. Google's guide to setting up server-side tagging on Cloud Run says each server costs approximately USD $45 a month, for a Cloud Run instance with 1 vCPU and 0.5 GB of memory. The same guide recommends running a minimum of 2 instances to reduce the risk of data loss in case of a server outage, and notes you may choose to run fewer or more. It also recommends provisioning a separate preview server so the container's preview feature works.
So the floor for a Google Cloud setup following that guide is a couple of servers before traffic grows, and the guide points to Google's pricing calculator for a full estimate. Busier sites scale up automatically and pay for the extra instances. Managed hosting providers for server containers exist too, with their own pricing, which you'd check directly with them.
In our experience, the hosting bill is the smaller cost. The larger one is setup and upkeep. Someone has to configure the subdomain and DNS, build the server container, rewire the web container to send to it, map each event to each destination and test all of it against what your own systems recorded.
What maintenance looks like
A server container is software in production. It needs looking after the way any other system does.
Platforms change their APIs and tag templates. Your site changes its forms, checkout and page structure. Consent rules change. Each of those can break a mapping without any visible error, and the first sign is often a report that stops matching reality.
We look at a few things on a schedule: whether each destination is still receiving events, whether the counts line up with the backend, whether the server is healthy and whether anything in the container has changed since the last check. When a site goes through a redesign or a platform migration, the server container goes on the same checklist as the pages.
If nobody owns that, the setup decays. A server-side container that nobody monitors can be worse than plain browser tags, because the team believes the data is solid when it has drifted.
When it's worth it
Server-side tracking earns its cost when the data feeds real decisions and real spend. We look for three conditions.
The first is a meaningful budget running on conversion-optimized campaigns. When ad platforms bid on your conversion events, the quality of those events affects every dollar, and a sturdier signal is worth paying for.
The second is data the browser can't see. Lead quality from a CRM, refunds, offline sales and margin all live on the server side. If you want platforms to optimize toward them, you need a server path anyway.
The third is consent or privacy requirements that are hard to enforce tag by tag. A single server that applies the consent decision everywhere is easier to defend.
If none of these apply yet, a clean browser setup with a properly configured consent mode, a tidy GTM container and agreed conversion definitions may be enough for now. We'd rather fix the basics than build infrastructure a small account doesn't need.
When they do, we scope server-side tracking alongside the reporting it's meant to support, so the events we send are the ones the marketing data and analytics work actually uses.
Questions people ask
What is server-side tracking in simple terms?
It's a setup where your website sends measurement data to a server you control, and that server forwards it to analytics and ad platforms. The browser talks to one place instead of to every vendor directly, which gives you control over what each platform receives.
Does server-side tracking get around ad blockers or consent?
It shouldn't be used to get around consent. A visitor's choice applies to the data and the purpose, whatever route the data takes, and a sound setup applies that choice on the server. Treat any pitch that frames server-side tagging as a way around consent as a warning sign.
How much does server-side tagging cost?
Google's Cloud Run setup guide puts each server at approximately USD $45 a month and recommends a minimum of 2 instances, plus a preview server. Setup and ongoing maintenance can cost more than hosting, since someone has to build, test and monitor the container.
Can I set up server-side tracking myself?
If you're comfortable with Google Cloud, DNS and Tag Manager, you can follow Google's documentation. The hard part is mapping events correctly, deduplicating browser and server copies and testing against your own records, which takes time and a working knowledge of each platform.