← All posts
TrackingPublished on June 28, 2026

Server-side GTM in 2026: why (and how) to make the move

What server-side tracking really changes in 2026, and how to migrate without breaking everything.

Browser-side tracking leaks everywhere: ad blockers, Safari’s ITP capping cookie lifetime at 7 days (or 24 hours), extensions, and increasingly restrictive consent. The result: a chunk of your conversions never reaches the ad platforms. Server-side GTM (sGTM) is today the most solid answer to that problem.

The problem: client-side collection

When everything runs through the browser, you depend on an environment you don’t control. Requests to google-analytics.com or facebook.com are easy targets for blockers, and cookies set by third-party JavaScript are the first to go.

In practice, on a site with a technical audience or a lot of Safari traffic, it’s common to lose 15–30% of conversions between what actually happens and what GA4 or Meta see. You pay for that gap twice: in skewed data for decision-making, and in poorly fed bidding algorithms.

What server-side GTM really is

sGTM moves collection onto your server (a GTM container running on Google Cloud, Addingwell, Stape…). The browser sends events to your domain, and your server relays them to GA4, Meta CAPI, Google Ads, and so on.

The concrete benefits:

  • First-party cookies set over HTTP server-side → restored lifetime.
  • Data control: you decide what leaves, where it goes, and in what shape (you can mask or enrich a field before it leaves your server).
  • Performance: fewer third-party scripts in the browser, so often better Web Vitals.
  • Resilience: your collection endpoint is on your domain, not a URL blocked by default.

When should you make the move?

sGTM isn’t mandatory for everyone. The signals that say it’s time:

  • A large share of Safari/iOS traffic (ITP hits hard).
  • Meta or Google Ads campaigns with real budget, where every reported conversion feeds the algorithm.
  • A need for Meta CAPI or conversion enrichment (offline, CRM).
  • Gaps you can already see between your tools and the business reality.

Conversely, on a small brochure site with little media spend, well-tuned client-side is often enough. No need to bring out the heavy artillery.

What does it cost?

Two broad options:

  • Managed solutions (Addingwell, Stape): often a few tens of euros a month, with no infra to run. Ideal to get started fast and clean.
  • Self-host on Google Cloud: more control, cost tied to traffic (App Engine / Cloud Run), but real maintenance overhead. Reserve it for high volumes or specific constraints.

In most cases, a managed solution is the best effort-to-result ratio.

The steps of a clean migration

  1. Map what exists: which tags, which events, which critical conversions.
  2. Deploy a server container and a collection subdomain (gtm.yourdomain.com).
  3. Duplicate then switch tags one by one, keeping client-side running in parallel while you compare.
  4. Reconcile: confirm server-side conversions match (or beat) client-side.
  5. Retire the redundant client-side tags gradually.

Pitfalls to avoid

  • Migrating in one shot with no comparison phase.
  • Forgetting deduplication (the same purchase counted twice, via client + server).
  • Neglecting consent: sGTM does not exempt you from Consent Mode (see the dedicated post).
  • Thinking server-side “fixes” a shaky tagging plan — it moves collection, it doesn’t repair badly designed event logic.

The checklist

  • First-party collection subdomain
  • Consent Mode v2 wired upstream
  • Deduplication (event_id) in place
  • Conversions reconciled vs client-side
  • Server error monitoring

Server-side isn’t a fad: it’s become the foundation of reliable measurement. Done well, it recovers conversions you thought were gone — without breaking GDPR. If you’re unsure about the right timing or the right stack, that’s exactly the kind of decision where a quick diagnosis saves months of skewed data.