We've set up GA4 in hybrid mode and have few serve...
# support
m
We've set up GA4 in hybrid mode and have few server side events we'd like to send. However, because the server-side SDKs don't automatically collect anonymousId, they're not reconciling across the user's client side events (such as page view) and the server side events. Example: we want to use GA4 to attribute conversion by landing page. The page view events are all coming through correctly. However, when they then convert, the conversion event is a server side event, so a new GA4 client ID gets generated. What's the best way of getting the events to reconcile without using client-side events? Or would the best advice be to set up corresponding client-side events?
w
Hello Judy We have pretty much the same use case. We have generated a device specific id, which we pass in our JS SDK Page View Events as well as in the Java SDK Server Side Events. (Downside is that we currently have no cross browser tracking that way). However, to our understanding you’ll also need to pass a (or the) session id which is used in the GA4 Page View Events so GA4 can attribute the conversion to the users session. Plus a timestamp needs also to be set (in some cases) in the SST Events for GA4.

https://youtu.be/r_eoeU2qUn0?t=932▾

We are still on implementing it
m
Thanks Deniz! Would that mean having to set the same session id across both the client-side page events and the server side events?