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.