On this page
What this issue is
In server-side Google Tag Manager (sGTM), the page sends data to your own server container instead of straight to Google. The server container then has to forward the event to GA4 with a GA4 tag. This issue is when the first leg works and the second does not.
- Browser hitRequest to your server endpoint returns 200
- Server clientGA4 client claims the request
- GA4 tag (server)Does not fire or fails to send
- GA4 propertyNo event arrives
- Reports and adsConversions missing
The browser hit succeeds, so nothing looks wrong until you check GA4.
Why it costs you leads or sales
GA4 is where many teams read conversions, and key events are often imported into Google Ads for bidding. If events stop arriving, reports show a drop that looks like a demand problem, and ad platforms that learn from GA4 key events get less signal. The site still works, so nobody notices for days.
Example: the server container forwarding breaks after a publish, and recorded events drop to zero while real leads continue.
How to check if your site has it
Trigger the event yourself
Open your site, do the action (submit a form, view a page), and watch GA4 under Reports > Realtime. Wait a minute.
Check the browser request
In browser dev tools, open the Network tab and find the request to your server container domain. Note the status code.
Open server container PreviewGoogle Tag Manager
In GTM, open the server container and click Preview. Load your site with the debugger connected and select the incoming request.
Read the Tags tabGoogle Tag Manager
Check that the GA4 tag shows as fired. If it says not fired, look at which trigger conditions failed. If it fired, open it and read the outgoing HTTP request and the response status.
Compare IDs
Confirm the measurement ID in the server GA4 tag matches the GA4 data stream you are looking at in Realtime.
| What you see in server Preview | Likely cause |
|---|---|
| Request not claimed by any client | Client missing or path mismatch (a different issue, TRK-121) |
| Client claims, GA4 tag not fired | Trigger does not match the event name, or tag paused |
| GA4 tag fired, outgoing request fails | Server cannot reach Google, or an invalid request |
| GA4 tag fired, 2xx response, no event in GA4 | Wrong measurement ID, or looking at the wrong property |
| Works in Preview, not live | Server container changes not published |
How to fix it
Fix the trigger
In the server container, open the GA4 tag's trigger. Make sure it uses the Client Name or Event Name that actually arrives (see the incoming request in Preview). For page views the event name is page_view.
Fix the measurement ID
Open the GA4 tag and set the Measurement ID to the G- ID of the data stream you report on. Check any variable that sets it.
Unpause and publish
Make sure the tag is not paused, then click Submit in the server container. Preview changes are not live until published.
Check the GA4 client settings
Open the GA4 client and confirm the default paths (/g/collect) match what the web container sends. Check the web GA4 tag's server_container_url points at your server domain.
Check outgoing requests
If you host the container yourself, confirm the server can make outbound HTTPS requests to Google. Firewalls and egress rules can block them.
Check the transport URL
If you use gtag.js directly, set server_container_url in the config so hits go to your server domain.
<script async src="https://sst.example.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX', {
server_container_url: 'https://sst.example.com'
});
</script>Broken
- Browser hit returns 200
- GA4 tag not fired or wrong measurement ID
- Realtime shows nothing
Fixed
- Client claims the request
- GA4 tag fires and Google accepts it
- Event appears in Realtime within a minute or two
How to confirm it's fixed
- Server container Preview shows the GA4 tag as fired for the request
- The outgoing request to Google returns a success status
- The event appears in GA4 Realtime for the right property
- The server container version with your fix is published
- A real action, such as a test form submission, produces a key event
How to prevent it happening again
- Test the GA4 event in Realtime after every server container publish
- Keep a note of the measurement ID and server domain used per site
- Review server container changes before publishing, as you do for the web container
- Check outbound access when you move hosting or change firewall rules
- Run an automated check on a schedule so a silent break is caught the same day
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real journey on a schedule, such as a form submission, then runs a GA4 Realtime arrival check: did the event it triggered actually show up in GA4? If the browser hit goes out but the event never arrives, that points to a break after the browser, such as in server-side forwarding.
Questions people ask
Why is my server-side GTM not sending data to GA4?
Usually the GA4 tag in the server container does not fire or fails. Open the server container's Preview, select the incoming request, and check the Tags tab. Common causes are a trigger that does not match, a wrong measurement ID, a paused tag, or changes that were never published.
Why does the browser request return 200 but GA4 shows nothing?
A 200 only means your server container received the request. The server container still has to forward the event to Google with a GA4 tag. If that tag does not fire or sends to the wrong property, GA4 never receives it.
How do I debug sGTM not forwarding to GA4?
Open the server container, click Preview, and load your site with the debugger connected. Select the request, check whether the GA4 client claimed it, whether the GA4 tag fired, and what the outgoing request returned. Then check GA4 Realtime.
Do I need to publish the server container for GA4 to work?
Yes. Preview mode uses your draft, but live traffic uses the published version. If the tag works in Preview and not in production, submit and publish the server container.
Can a wrong measurement ID cause missing GA4 events with sGTM?
Yes. If the GA4 tag in the server container uses a different G- ID from the data stream you are viewing, events go to another property. Compare the ID in the tag with your GA4 data stream.
How long should a server-side event take to show in GA4 Realtime?
Usually a minute or two. If nothing appears after a few minutes and the Preview shows the tag fired with a success response, check you are looking at the right property.
Can I monitor this automatically?
Yes. FunnelGuard runs your journey on a schedule and checks whether the resulting event arrives in GA4 Realtime. If it does not, it re-checks from a second region and sends one alert with a screenshot and likely cause.
Related issues
- TRK-119Server container (sGTM) endpoint downFix guide
- TRK-120sGTM custom loader domain DNS brokenFix guide
- TRK-121sGTM client not claiming requests (hits 400)Fix guide
- TRK-123sGTM forwarding to Meta CAPI brokenFix guide
- TRK-124sGTM cloud instance out of quota / scaling errorsFix guide
- TRK-103Workspace changes never published (tag in preview only)Fix guide