-
Implementing GA4 Initialization and Utilizing GTM for Event Tracking
Hey folks, I need a hand getting the GA4 property up and running using the command gtag(‘config’,). I’m trying to add a few parameters myself, like clientID and SessionID for cross-domain tracking via an iframe. Is anyone else doing this too?
I’m a bit stumped on what to do next. I’ve got the GA4 property initiated with the gtag command, but I’m not sure how to use the GTM to send events to the GA4 property. Doesn’t a GA4 configuration tag also need to be in the GTM to send events to a property? Won’t that re-initialize the GA4 property?
So here’s what I tried. I put the GA4 configuration tag into the GTM, and then I initialized the GA4 again using the gtag command in custom HTML. But it’s just not outputting the right data about the clientId and SessionID. Any ideas?
Log in to reply.