Stape User ID to GA4

Hi all,

I’m trying to send the user id generated by stape to GA4 through server-side. When I check the incoming request on GTM preview, I see that X-Stape-User-Id is generated. However, when I look at the debug view on GA4, it is not possible to see this id. How can I be sure that it’s working? I also want to create a custom dimension on GA4 to see the data at user-id breakdown in explore reporting, is it possible?

Hello,
I think you should manually retrieve the value of X-Stape-User-Id using native Request header variable and then add it to the GA4 tag payload.

1 Like