JSON HTTP request server side tag

Hello,

I have one challenge. JSON HTTP request from Stape triggering on Data Client doesn’t transmit session id (sid) & session count (sct) from GA4 client side tag to a custom endpoint.

Any ideas around that? Do I miss some configuration please?

Many thanks!
Kirill

We do not recommend using Data Tag and Data Client for GA4 and Google Ads. We recommend using only official Google tags and client for GA4 and Google Ads.
We recommend using Data Tag and Data Client for other platforms such as Meta, TikTok, Snapchat, etc.

Thanks Dmytro, I just changed Data Client to GA4 Client and I see ga_session_id (sid) & ga_session_count (sct) in the payload. One additional question.

Is it ok / recommended to use this combo: GA4 Client + JSON HTTP request tag from Stape?

You can generally use any combination you want, but Google tags work best with the GA4 client. So if you want to send data from sGTM to GA4 it is better to do it based on GA4 client.
Also note that gtag generates a lot of parameters and events automatically and this is extremely important for GA4 to work correctly. And if you don’t want to use GA4 tags on the web it will be very difficult to make GA4 work properly without it.