Fortunitus Check your tracking

sGTM meaning: server-side Google Tag Manager, explained simply

sGTM stands for server-side Google Tag Manager: a second Tag Manager container that runs on a server you control instead of in the visitor's browser. The browser sends data to your server once, and the server passes it on to GA4, Meta, Google Ads and others.

Short answer: sGTM means server-side Google Tag Manager. Instead of every tracking script talking to Google, Meta and others straight from the visitor's browser, the browser sends one request to your own server (for example metrics.yoursite.com). A server container there turns it into events and forwards them. You get more control over what each platform receives, fewer scripts in the browser and better data for ad platforms. It costs money (from free on Stape to about $90 a month on Google Cloud) and takes more work than a normal container.

How it works, in four steps

Four steps: the browser sends one request to metrics.yoursite.com, a client in the server container turns it into an event, server tags forward it to GA4, Meta Conversions API and Google Ads, and you control which data each platform gets.

With a normal (web) container, all tags run in the browser, and each one sends data directly to its own platform. With server-side tagging you keep your web container, but its tags send the data to your server first. Google describes it this way: the server container runs on a server you control, and only you have access to the data there until you choose to send it elsewhere.

Two new words appear in a server container:

  • Client. The part that receives a request and turns it into an event. Every new server container comes with a GA4 client, which understands requests in the GA4 format.
  • Server tag. Works like a normal tag, but runs on the server. A GA4 tag sends the event to Google Analytics, a Meta Conversions API tag sends it to Meta, and so on.

What it looks like in Tag Manager

A server container is created in the same Tag Manager account as your web container. We created one for fortunitus.com to show the real screens. In Admin, click the plus icon next to containers, give it a name and choose Server:

Google Tag Manager Create Container dialog with the name fortunitus.com server and the Server target platform selected.
1: the container name. 2: the Server platform, "for server-side instrumentation and measurement". 3: Create.

Tag Manager then asks where the container will run. This is the part that costs money, because a server container needs a real server:

Install Google Tag Manager dialog with two options: Automatically provision tagging server on Google Cloud Platform, and Manually provision tagging server with a container config string, blurred.
1: automatic setup on Google Cloud. 2: manual setup, for example on Stape or your own server, using the container config string (blurred here).

Once the server is running, the container itself looks familiar. The left menu has Clients and Transformations in addition to the usual Tags, Triggers and Variables:

Server container GTM-MNNXFC7N in Google Tag Manager, Clients view showing the default GA4 client of type Google Analytics: GA4 (Web).
1: the Clients menu, only in server containers. 2: the GA4 client added automatically. 3: the server container ID.

Web GTM vs server-side GTM

Comparison table of web GTM and server-side GTM: where it runs, cost, scripts in the browser, control over data, cookie lifetime in Safari and setup effort.

What it costs

HostingPriceGood for
Stape, free plan$0, up to 10,000 requests a monthTesting, very small sites
Stape, Pro planAbout $20 a month ($17 billed yearly)Most small and medium businesses
Google Cloud Run, Google's recommended setupAbout $45 a month per server, at least 2 servers recommendedLarger sites, teams that already use Google Cloud

Google's own Cloud Run guide gives the figure of roughly $45 per server per month and recommends at least two servers so data is not lost if one fails. It also says two to ten servers handle about 35 to 350 requests per second. Stape's prices are from its pricing page in November 2026; check it before you decide, because plans change.

Each page view, event and conversion is a request. A site with 5,000 visits a month and a few events per visit already makes tens of thousands of requests, so the free tier is mainly for testing.

What it actually fixes

  • Better data for ad platforms. With Meta Conversions API and Google's server-side tags, conversions reach the platform even when a browser blocks or limits the pixel. In a Meta test with 5,926 advertisers, those who sent web events through the Conversions API saw a 17.8% lower cost per result (Meta study, as cited by Stape).
  • Control over personal data. You decide on the server which fields each platform gets. You can drop IP addresses or remove parameters before anything leaves your server.
  • Fewer scripts in the browser. Several platforms can be fed from one request, which helps page speed.
  • Longer cookies, but only on the right setup. Safari limits cookies created by scripts to 7 days, and 24 hours when the visitor arrives from a link with tracking parameters. Cookies set by your server can last longer, but WebKit also caps them at 7 days when the tracking subdomain points to a different host through a CNAME record or a third-party IP address. A longer lifetime needs a same-origin setup, for example serving the container from a path on your own domain.

What it does not fix

  • Consent. Server-side tagging is not a way around cookie banners. If a visitor says no, you must respect that on the server too.
  • A broken setup. If events are wrong in the browser, they are wrong on the server. Fix the web container first: check it with Tag Assistant.
  • Ad blockers completely. A custom subdomain helps, but some blockers also block known server-side endpoints.

Do you need it?

If you only advertise on Google, try the free Google tag gateway first. It serves Google tags from your own domain without a tagging server, but it cannot help Meta or other platforms.

Your situationRecommendation
You run Meta or Google Ads and spend a few hundred euros or more a monthYes, mainly for Conversions API and better conversion data
Online shop with checkout on your own domainYes, purchases are the events you lose most in the browser
Small service business, no ads, a few leads a monthNot yet: a clean web container and GA4 are enough
Your web tracking is not working properly yetNo: fix the basics first, then add the server

The usual first step is the cheap one: a Stape container on a subdomain, the GA4 client, and a GA4 and Meta Conversions API tag on the server. You can move to Google Cloud later without changing your website.

Check your own setup

The free tracking checker shows which GA4, GTM, Google Ads, Meta and cookie banner tags your site loads and what is inside your GTM container.

Run the checker

Frequently asked questions

What does sGTM mean?

sGTM stands for server-side Google Tag Manager: a Tag Manager container that runs on a server you control instead of in the visitor's browser, and forwards data to GA4, Meta, Google Ads and other platforms.

Is server-side GTM free?

The Tag Manager container is free, but it needs a server. Stape has a free plan up to 10,000 requests a month and paid plans from about $20 a month. Google estimates about $45 a month per Cloud Run server and recommends at least two.

What is the difference between client-side and server-side tagging?

Client-side tags run in the visitor's browser and send data straight to each platform. Server-side tags run on your server: the browser sends data once to your server, and the server forwards it, so you control what each platform receives.

Does server-side tracking bypass cookie consent?

No. Consent rules still apply. If a visitor declines, the server must not send their data for those purposes either.

Do I still need a web GTM container with server-side GTM?

Usually yes. The web container (or the Google tag) collects events in the browser and sends them to your server container, which then forwards them.

Check your own setup in 20 seconds

Run any website through the free tracking checker: GA4, Google Tag Manager, Google Ads, Meta Pixel, cookie banner and what sits inside the GTM container.