Skip to content
FunnelGuard

Fix guide by FunnelsGuard

sGTM out of quota or scaling errors: how to find and fix it

TRK-124Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A server-side GTM container is a small web service that receives hits from your site and forwards them to GA4, Google Ads, Meta and others. Google's automatic setup runs it on Cloud Run (older setups use App Engine). Like any web service, it can only handle so many requests at once.

Two things go wrong. First, the service hits its maximum instances setting, so extra requests queue and fail. Second, the Google Cloud project hits a quota (a cap on CPU, memory, requests or regional resources), or billing is suspended. In both cases the server answers with errors such as 429 (too many requests), 500, 503 or timeouts, instead of passing the hit on.

Why it costs you leads or sales

Dropped hits mean missing conversions in GA4, Google Ads and Meta. Smart bidding then learns from incomplete data, and reports undercount sales. The loss tends to hit when you can least afford it: during a campaign launch, a sale or a TV spot, when traffic spikes. Because the site itself still works, nobody notices until the numbers look odd.

Where hits are lost
  1. Visitor convertsBrowser sends hit to your sGTM endpoint
  2. sGTM instanceMax instances or quota reached, returns 429/503
  3. Forward to GA4 / Ads / MetaNever sent
  4. Reports and biddingConversions missing

At peak traffic the server container cannot scale, so hits never reach the platforms.

Share of hits delivered during a traffic spikeExample numbers
Share of hits delivered during a traffic spike (example)Normal hours: 100 %; Peak, capped: 62 %; Peak, scaled: 99 %038771006299Normal hoursPeak, cappedPeak, scaled%

Example: illustrative numbers showing how a capped instance count drops hits at peak.

How to check if your site has it

You need to look at the server side, not the website. Work through these checks.

Check your sGTM health
  1. Open Cloud Run metricsCustom code

    In Google Cloud Console, go to Cloud Run, open your server container service and view the Metrics tab. Look at request count, container instance count and the 4xx/5xx response share.

  2. Read the logs

    Open the Logs tab and filter for severity ERROR, or HTTP status 429, 500, 503. Messages about no available instance or exceeded quota point to scaling limits.

  3. Compare instances to your limit

    If the instance count sits flat at your configured maximum while errors rise, the cap is the cause.

  4. Check quotas

    Go to IAM & Admin, then Quotas & System Limits. Filter for Cloud Run Admin API and Compute quotas, and look for items near 100% usage.

  5. Check billing

    Under Billing, confirm the account is active, not suspended, and that no budget action has shut the project down.

  6. Compare server hits to browser hitsGoogle Tag Manager

    In GTM server preview and GA4 reports, a gap between browser events and server events at peak times suggests dropped requests.

How to fix it

Fix by setup
  1. Find your deployment type

    In GTM, open your server container, then Admin, Container Settings and Tagging server URL. Note whether it runs on Cloud Run or App Engine in your Google Cloud project.

  2. Re-run the provisioning if needed

    If the setup was a quick test, the automatic setup may have created a single small instance. Use the Cloud console to upgrade as described in the Custom code tab.

Example: raise limits with gcloud (replace names and region)bash
gcloud run services update YOUR_SERVICE_NAME \
  --region YOUR_REGION \
  --min-instances 3 \
  --max-instances 10

How to confirm it's fixed

Confirmation checks
  • Cloud Run shows the new minimum and maximum instance values on the latest revision.
  • The 5xx and 429 share in Metrics stays near zero during busy periods.
  • Logs show no quota or no-instance errors after the change.
  • Server-side events in GA4 DebugView and Meta Events Manager match browser events.
  • A test conversion appears in all connected platforms.

How to prevent it happening again

Set up alerts in Cloud Monitoring so you hear about errors before reports go wrong.

Prevention
  • Create an alert policy on Cloud Run request count filtered to 5xx and 429 responses.
  • Alert when instance count stays at the maximum for several minutes.
  • Set budget alerts that email you, with no action that disables billing.
  • Review capacity before each campaign launch or sale.
  • Use an uptime check on your tagging server URL's /healthz path.
  • Review quotas every quarter and request increases early.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. Quota and scaling limits live inside your Google Cloud project, and FunnelGuard does not read your cloud metrics, logs or billing. The kind of tool that fits is cloud infrastructure monitoring, such as Google Cloud Monitoring with alert policies and uptime checks.

What FunnelGuard does is run your real customer journeys on a schedule and check the browser-side tracking hits sent to GA4, Google Ads, Meta and other platforms. That is a different layer, so use it alongside your cloud alerts, not instead of them. A free plan covers 1 site and 2 journeys with no card needed.

Frequently asked questions

Questions people ask

Why is my server-side GTM returning 429 or 503 errors?

Usually the Cloud Run service has reached its maximum instances, or the Google Cloud project has hit a quota. Extra requests are refused with 429 or 503. Check the Metrics and Logs tabs in Cloud Run and raise the limits.

How many instances should my sGTM have?

Google recommends at least 3 minimum instances for production server containers. The maximum should sit comfortably above your peak traffic. Start with something like 10 and adjust using real metrics.

How do I know if sGTM is dropping conversions?

Compare browser events with server events in GA4 and your ad platforms, especially at peak hours. Then check Cloud Run for 4xx and 5xx responses and logs mentioning quotas or missing instances.

How do I raise a Google Cloud quota for sGTM?

Go to IAM & Admin, then Quotas & System Limits, select the quota that is near its cap and choose Edit Quotas. Enter the new value and a reason. Requests can take time to approve, so ask before a big campaign.

Can a billing problem stop server-side tagging?

Yes. If the billing account is suspended or a budget action disables billing, Cloud Run stops serving and hits fail. Keep budget alerts as email notices only and make sure the payment method is valid.

Does FunnelGuard detect sGTM quota errors?

No. This needs cloud infrastructure monitoring such as Google Cloud Monitoring. FunnelGuard checks browser journeys and tracking hits, not your Cloud Run metrics or quotas.

Does sGTM cost more when I scale up?

Cloud Run bills for the resources used, so more traffic costs more. Raising the maximum instances costs nothing by itself, but each minimum instance is billed all the time. Set budget alerts to watch spend.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.