Send dataLayer push from server GTM

Hi everyone!
I tried to setup this Send dataLayer push from server GTM to web GTM - Stape

But looks like ive made a mistake somewhere because it doesnt work for me.
So here is the setup

I dont now why, but during debug in sGTM looks like my Response tag in not triggering

Any idea how to fix this, please?

Response tag

Data client

Can you also show your Data tag settings?

yep, here

trigger - all pages

Also one more screen of Data tag

Response tag trigger

Everything looks correct in your setup. Have you checked that your x-geo-city and country variables have a value when the request comes in?

Looks like yes

Here is also my datalayer script on web GTM

dunno what to do, tried to test different variables of setup, but nothing works for me

You don’t need to do data layer.push through custom HTML.

Data tag sends a hit to the server → JSON response is triggered on this hit and returns this data to the response → in Data tag you have a setting that sends an event to the data layer when the response arrives.

Right now it looks like your customHTML dataLayer.push just overwrites what the data tag push to dl.

Thanks!
Tried to delete datalayer custom HTML - still no fix

Data tag fires on web GTM

However x_data event doesnt happens

JSON Tag still not firing

What you have in your screenshot is not a data tag hit, but an ADS samurai hit.

Requests with ‘data?’ at the beginning are data tag hits. But judging by the screenshot they are not claimed for some reason. Can you show what clients you have installed?
Looks like you have something wrong with your client(s) setup, so data tag hits are not being processed by anything.

Here are my data client list

simple GA4 setup here

and adsmurai client

Maybe im missing something?

So as i can see Data tag fires well on web side

but JSON tag still not firing

Hey @Fungiline_BY

It’s hard to tell from the screenshots what you have done wrong, it seems to me that on the server container you have some problem with triggers and the json tag just doesn’t work.

I recorded a short video that shows an example of how this works: Google Tag Manager - 1 October 2024 | Loom