On this page
What this issue is
Server-side tagging adds a small server between your website and ad or analytics platforms. Your page sends a hit to your own tagging server URL (for example https://sgtm.example.com). The server then forwards it to GA4, Google Ads, Meta and others.
- Visitor submits formPage works normally
- Browser sends hit to sGTM URLRequest leaves the page
- sGTM endpointReturns 5xx or times out
- GA4, Google Ads, MetaNo hit received
- Reports and ad optimisationConversions missing
The page works and the browser sends the hit, but the server never answers, so nothing reaches the platforms.
Why it costs you leads or sales
Example: illustrative numbers. Real leads stay steady, but reported conversions fall to zero while the endpoint is down.
The browser sends the event, but the server does not answer, so the tag never completes.
How to check if your site has it
Find your server URLGoogle Tag Manager
In tagmanager.google.com open your server container, go to Admin, then Container Settings, and read the Tagging server URL. Your web tags or GA4 config also use it as the transport URL.
Open the health path
Visit your server URL followed by /healthz in a browser. A working server shows ok. An error page, timeout or certificate warning means the endpoint is down or misconfigured.
Watch the network requests
Open your site, press F12, go to the Network tab and filter by your server domain. Look for failed (red) requests, 5xx status codes or requests stuck as pending.
Test with PreviewGoogle Tag Manager
In the server container click Preview, then load your site with the debug connection. If no incoming requests appear, hits are not reaching the server.
Check the hosting
Open your hosting console (for example Google Cloud App Engine or Cloud Run, or your managed provider) and look for stopped services, billing warnings, crash logs or deleted instances.
curl -i https://sgtm.example.com/healthz
# Healthy: HTTP/2 200 and a body of: ok
# Down: 5xx status, timeout, or SSL/DNS errorHow to fix it
Read the error
A 502 or 503 points to a crashed or overloaded service. A timeout points to a stopped service or firewall. A certificate or DNS error points to the domain setup (see TRK-120).
Fix billing and quotas
If the hosting account has a failed payment or exhausted quota, resolve it first. Services are often suspended silently.
Restart or redeploy
Redeploy the tagging server image or restart the service in your hosting console. Make sure the container configuration string (CONTAINER_CONFIG) is still set.
Check minimum instances
Make sure at least one instance is always running and that autoscaling has room to grow. A single instance is a common cause of outages.
Confirm the URL in the container
The Tagging server URL in the server container and the transport URL in your web tags must match the live address exactly.
Update the Google tag
In your web container open the Google tag (GA4 configuration), find Configuration settings and set server_container_url to your working server URL. Preview, then publish.
Check the plugin setting
If a plugin such as a GTM or server-side tagging plugin sends the hits, open its settings and confirm the server URL matches your live endpoint. Clear page caches after saving.
Check the app or pixel
If an app or custom pixel sends data to your server, open its settings and confirm the endpoint URL. Check the theme code if the URL was added by hand.
Update the transport URL
Search your code for the old server domain and replace it with the working one in your gtag or GTM configuration.
gtag('config', 'G-XXXXXXXXXX', {
server_container_url: 'https://sgtm.example.com'
});How to confirm it's fixed
- Your server URL plus /healthz returns ok
- The Network tab shows 200 responses to your server domain
- Server container Preview shows incoming requests and the client claiming them
- GA4 Realtime or DebugView shows your test event
- Meta Events Manager and Google Ads show the test conversion arriving
- Hits keep arriving after 24 hours
How to prevent it happening again
- Run at least two instances with autoscaling enabled
- Set billing alerts and keep payment details valid on the hosting account
- Monitor the /healthz path with an uptime tool
- Alert on 5xx error rates in your hosting logs
- Document who owns the server and the domain
- Re-test the endpoint after any hosting, DNS or container change
- Compare reported conversions with real leads each week
Day 0
Hosting service stops after a billing issue or failed deployment.
Day 1
Reports show fewer conversions, but the site looks normal.
Day 3
Ad platforms start bidding on weaker data.
Day 5
Someone spots the gap and checks /healthz.
Day 5
Server restored and hits flow again. The missing days stay missing.
How FunnelGuard handles this
Related guidance
Questions people ask
Why is my server-side GTM not working?
The most common causes are a stopped or crashed hosting service, a failed payment on the cloud account, a broken custom domain or certificate, or a wrong server URL in your tags. Open your server URL plus /healthz to see whether the server answers.
How do I check if my sGTM server container is running?
Visit your tagging server URL followed by /healthz in a browser or run curl against it. A healthy server returns ok with a 200 status. You can also use Preview in the server container to see whether requests arrive.
What happens to my tracking if the server container goes down?
Browser hits sent to your server fail, so GA4, Google Ads, Meta and other platforms do not receive those events. Your site and forms still work, but reported conversions drop and the lost data cannot be recovered.
Why am I seeing 502 or 503 errors from my tagging server?
These usually mean the instance crashed, is overloaded or is not running. Check your hosting logs, restart or redeploy the service, and make sure the minimum number of instances is above zero.
How do I stop my server container from going down again?
Run at least two instances with autoscaling, keep billing valid, monitor the /healthz path with an uptime tool and alert on error rates. Re-test after any hosting or DNS change.
Can FunnelGuard tell me if my server container is down?
Only partly. FunnelGuard sees the tid in the tracking hits your journeys send, but it has no dedicated health check on the server container. Pair it with an uptime monitor on /healthz and hosting alerts.
Will lost conversions come back after I fix the endpoint?
No. Hits that failed while the server was down are not stored or retried, so those days stay missing from your reports. Fixing it quickly limits how much data you lose.
Related issues
- TRK-120sGTM custom loader domain DNS brokenFix guide
- TRK-121sGTM client not claiming requests (hits 400)Fix guide
- TRK-122sGTM forwarding to GA4 broken while browser hit succeedsFix guide
- TRK-123sGTM forwarding to Meta CAPI brokenFix guide
- TRK-124sGTM cloud instance out of quota / scaling errorsFix guide
- TRK-100Wrong GTM container ID on siteFix guide