Skip to content

What is sGTM hosting and why you need it

A server-side GTM container has to run somewhere. sGTM hosting is that infrastructure. What it involves, what managed hosting handles, and when it pays off vs. raw Google Cloud.

D
DataNostro Team 7. 6. 2026 · 8 min · Beginner

A server-side GTM container isn't a file you upload to your site — it's a service that has to run somewhere. sGTM hosting is exactly that infrastructure. Here's what it involves and why it matters.

Why the container needs hosting

In server-side measurement, your server-side GTM container receives data and forwards it to the platforms. For it to work, it must run on a server reachable over HTTPS on your (sub)domain — see what a first-party domain for sGTM is. That running instance is what's called sGTM hosting.

DIY on Google Cloud vs. managed hosting

  • DIY (Google Cloud). You run the container yourself on App Engine / Cloud Run. Cheap on infrastructure, but you handle setup, scaling, monitoring and updates.
  • Managed hosting. A provider (like DataNostro) handles infrastructure, scaling and monitoring for a fixed fee. Deployment in minutes, no DevOps.

The cost difference and when each pays off is in how much server-side tracking costs.

What good hosting ensures

  • Availability — if the container goes down you stop measuring, so monitoring and alerts matter.
  • Scaling — peaks (Black Friday) must hold without an outage.
  • Updates and security of the running instance.

Summary

sGTM hosting is the running infrastructure for your server-side GTM container. You can run it yourself on Google Cloud or leave it to managed hosting that handles scaling and operations for you. More in the complete guide.

Share

A new article once a month

In-depth server-side tracking guides + case studies from the CZ market. No spam, just 1 email a month. Unsubscribe anytime.

Back to Tracking