# Server-side GTM cost in 2026: Cloud Run vs Stape, with real numbers

> What server-side Google Tag Manager really costs to host: Google's Cloud Run guidance, low-traffic setups, Stape's plans, what counts as a request, and when server-side tagging is worth it.

**In short:**
- Google sizes a server-side GTM server at about $45/month (1 vCPU, 0.5 GB, always-on CPU) and recommends at least 2 instances, roughly $90/month for production.
- Small sites can run Cloud Run with min instances 0 for close to nothing, accepting cold starts.
- Stape has a free plan (10K requests) and paid plans from $20/month; every incoming hit, including gtm.js loads, counts as a request.

- URL: https://noxtag.com/server-side-gtm-cost/
- Category: Server-side tagging
- Last updated: 2026-12-03
- Publisher: noxtag (https://noxtag.com)

**Server-side tagging** moves your tracking from the visitor's browser to a server you control. The browser sends one stream of data to your own subdomain (say `data.yourstore.com`), and a server-side Google Tag Manager container forwards it to GA4, Google Ads, Meta and the rest.

The setup is well documented. The cost isn't, and estimates online range from "free" to hundreds a month. This guide explains where the money actually goes, with numbers from Google's own documentation and Stape's published pricing.

![How server-side tagging routes data through your own subdomain](https://noxtag.com/img/sgtm-architecture.svg)
*Figure: How server-side tagging routes your data. How server-side tagging routes data through your own subdomain.*

## What you're paying for

A server-side GTM container is a Docker image that has to run somewhere. You pay for:

1. **Compute:** the server instances that receive and process each hit.
2. **Requests and network egress:** every incoming hit, plus the outgoing calls to GA4, Meta and others.
3. **Logging**, if you keep request logs (on by default in Cloud Run, and it adds up).
4. **Your time:** setup, monitoring, updates and debugging. This is often the biggest cost, and it never shows up on an invoice.

## Option 1: Google Cloud Run (self-hosted)

When you choose automatic provisioning in GTM, Google creates a Cloud Run service in a new Google Cloud project for you. Its sizing guidance is conservative.

According to Google's setup guide, each tagging server in its recommended configuration (1 vCPU, 0.5 GB memory, CPU always allocated) **costs approximately $45 a month**. Google also **recommends running a minimum of 2 instances** to reduce the risk of data loss if one fails. That puts the production baseline at roughly **$90 a month**, before traffic-based scaling and before the separate preview server.

Cloud Run scales up with load. The `max-instances` setting is your worst-case bill, not what you normally pay.

### The low-traffic way to run Cloud Run

Many small and mid-size sites don't need two always-on instances. With **minimum instances at 0** and request-based billing:

- you pay close to nothing when there's no traffic
- Cloud Run's free tier absorbs a lot of small-site volume
- the trade-off is **cold starts**: the first request after an idle period waits a few seconds while an instance boots

For analytics hits that's usually acceptable, because they aren't page loads the visitor waits for. For high-revenue stores during campaigns, it isn't. Run at least one warm instance.

![Three ways to size Cloud Run, and what each roughly costs](https://noxtag.com/img/sgtm-cloud-run-configs.svg)
*Figure: Cloud Run: three ways to size server-side GTM. Three ways to size Cloud Run, and what each roughly costs.*

> **Turn off request logging** if you don't need it. By default Cloud Run logs every request, and on a busy site Cloud Logging can cost more than the compute.

## Option 2: Stape (managed hosting)

Stape is the most widely used managed host for server-side GTM. You connect your container, and Stape runs the infrastructure on Google Cloud.

- **Free plan:** 10,000 requests a month. Good for testing, not for production.
- **Paid plans** start at **$20 a month** ($17 a month billed annually), and the top self-serve plan is **$200 a month**.
- **What counts as a request:** every incoming hit to your server container, **including script loads** like `gtm.js` and `gtag.js`. Outgoing calls to vendors don't count.
- **One plan covers one container and one site.** Multiple sites need multiple plans.

The big advantages are predictable billing and convenience features: custom loader paths, built-in monitoring, and ready-made Meta Conversions API and other integrations.

![How Stape counts requests, and how to estimate yours](https://noxtag.com/img/sgtm-request-math.svg)
*Figure: Estimate your server-side request volume. How Stape counts requests, and how to estimate yours.*

## Cloud Run vs Stape at a glance

| | Google Cloud Run | Stape |
|---|---|---|
| **Billing** | Usage-based (compute, requests, logs, egress) | Fixed monthly plan by request volume |
| **Small site** | Often a few dollars or free with min-instances 0 | Free plan, or about $20/mo |
| **Production baseline** | ~$90/mo for Google's 2-instance recommendation | Plan sized to requests |
| **Setup effort** | Higher: GCP project, domain mapping, scaling | Lower: guided setup, custom domain built in |
| **Control** | Full: your project, your logs, your region | Less: managed platform |
| **Best for** | Teams with GCP skills or strict data policies | Most marketing teams and agencies |

## How to estimate your request volume

Start with GA4 for the last 30 days:

1. **Events:** Reports → Engagement → Events, total event count.
2. **Page views:** each page view usually adds a script load (`gtm.js` or `gtag.js`) if you serve scripts through the server container.
3. **Other vendors:** if the browser also sends Meta or TikTok events to your server, add those too.

A store with 300,000 page views and 1.2 million GA4 events a month might send roughly 1.5 to 2 million requests to its server container. That's comfortably inside a mid-tier Stape plan, or a few dollars of Cloud Run compute with modest settings.

## When server-side tagging is worth it

Server-side tagging solves specific problems. It isn't an upgrade every site needs.

**It's worth it when:**
- you spend meaningfully on paid ads, and lost conversions hurt bidding
- you need Conversions APIs (Meta, TikTok) with deduplication against browser events
- you want first-party cookies set from your own domain, with longer lifetimes than script-set cookies in Safari
- you need to strip or control data before it reaches vendors (PII, IP addresses)
- page speed matters and you want fewer third-party scripts in the browser

**It's probably not worth it yet when:**
- the browser-side setup is still broken. Server-side forwards bad data just as faithfully as good data.
- you only run GA4, with no ads and no CAPI needs
- nobody on the team will monitor it

![A quick test: is server-side tagging worth it for you?](https://noxtag.com/img/sgtm-worth-it.svg)
*Figure: Is server-side tagging worth it for you?. A quick test: is server-side tagging worth it for you?.*

## The hidden costs

- **Preview server:** Cloud Run setups need a separate preview service for GTM's debug mode.
- **Custom domain mapping:** first-party cookies require serving from your own subdomain, which means a load balancer or domain mapping on Cloud Run (managed hosts include this).
- **Maintenance:** container image updates, scaling reviews before peak season, and checking that vendor APIs haven't changed.
- **Debugging time:** server-side adds a second container to debug. Budget time for it during setup.

> **Further reading:** [Google Tag Manager on Shopify: storefront, checkout and GA4 purchase tracking](https://noxtag.com/google-tag-manager-shopify/)

## Frequently asked questions

### How much does server-side GTM cost per month?

Server-side GTM hosting ranges from free to a few hundred dollars a month. Google estimates about $45 a month per Cloud Run server and recommends at least two for production, roughly $90. Small sites can run on Cloud Run with minimum instances at zero for a few dollars, and Stape's paid plans start at $20 a month.

### Is Stape cheaper than Google Cloud Run?

For small and mid-size sites they cost about the same: free to roughly $20 a month. Cloud Run is usage-based and can be cheaper at low volume; Stape is a fixed monthly plan with simpler setup. At Google's recommended two-instance production setup, Cloud Run costs about $90 a month or more.

### What counts as a request in Stape?

Stape counts every incoming hit to your server GTM container as a request, including script loads like gtm.js and gtag.js. Outgoing calls from the server to vendors such as GA4 or Meta are not counted.

### Is server-side tagging worth it for a small website?

Usually not yet. Server-side tagging pays off when you spend meaningfully on paid ads, need Conversions APIs such as Meta CAPI, or must control what data reaches vendors. If the browser-side tracking is still broken, fix that first, because server-side forwards bad data as faithfully as good data.

## Bottom line

For most small and mid-size sites, **hosting is cheap**: free to about $20 a month on either platform. Google's $90-a-month baseline is for production setups that need redundancy. The real cost is getting the setup right and keeping it right.

If you're considering server-side tagging, start with a clean browser-side implementation. Our [GA4 & GTM audit](https://noxtag.com/contact/) tells you whether server-side will actually pay off for your traffic and ad spend, and what to fix first.

---
Source: https://noxtag.com/server-side-gtm-cost/ · Need help with GA4 or GTM? https://noxtag.com/contact/
