Server container returns "No client claimed the request" for GA4 webho

Hello,

I have a server-side GTM setup hosted on Stape. My goal is to send a manual Purchase event via a webhook URL to the GA4 client.

**My Setup:** * **Server URL:** https://dados.guiaespiritual.blog * **Test Webhook URL:** https://dados.guiaespiritual.blog/g/collect?v=2&event_name=Purchase&cu=BRL&v=19.90&ep.email=test@test.com&ep.phone=12345 * **GTM Server Container:** I have a GA4 Client configured. I have tried both with "Default GA4 paths" checked and unchecked. When unchecked, Priority is 0.

**The Problem:** When I access the webhook URL, the GTM Preview mode shows the incoming request, but the Console shows the error "No client claimed the request". Consequently, no tags are fired.

My GA4 client is not claiming the request sent via the webhook URL. What is the correct configuration for the GA4 Client to claim manually sent requests like this?

Hi @Marconi_Castro,

This is not the recommended way of ingesting data to the sGTM.
This Webhook URL uses the schema used by the web GA4 tags, which is not documented and can break at any time.

The recommended way to feed data into sGTM via a webhook is using the Measurement Protocol V2, and capturing it the the Measurement Protocol (GA4) client.

However, if you aren’t able to do it, this is the proper URL that will be claimed by the GA4 Client.
https://dados.guiaespiritual.blog/g/collect?v=2&tid=G-<Set ID to any dummy ID>&en=Purchase&cu=BRL&epn.value=19.90&ep.email=test%40test.com&ep.phone=12345.

Remember to encodeUriComponent the parameter names (ex: email, phone etc. - everything that comes after the “ep.”) and their values (test@test.com → test%40test.com).