Hello, doing some discovery on implementing GA4 th...
# support
c
Hello, doing some discovery on implementing GA4 through Rudderstack. Previously, I thought it was best practice to integrate with GTM and then GA , at least it was when using Segment - is this strategy still recommended for GA4?
p
I implemented GTM (google tag manager) on my site natively. GTM will then forward the events to GA4 using your mappings in the GTM dashboard. I found that the GTM is quite a hassle to maintain and update if you do not have anyone to maintain tagging fulltime. Currently I'm hoping to only use rudderstack sdk on my website and then forward the events to the necessary destinations (e..g GA4). One drawback with cloudmode GA4 is that you wont be able to get automatic attribution, demographic and technographic detials into GA4. You would have to use device mode, which loads the gtag script, but the events will not be forwarded to rudderstack. I'm still new so the above may be incorrect.
c
So you want to skip GTM all together?
p
yeah. gonna skip gtm alltogether.
if you have the expertise and experience using GTM, i guess no harm there.
c
I do have someone on the team that is an expert in GTM so that is why I'm asking because if it were just me - I would just connect device mode GA4.
p
You would have to use device mode, which loads the gtag script, but the events will not be forwarded to rudderstack.
Assuming we use: javascript source --> device mode GA4 destination i'm not sure if we can use the same source to forward events to other places like say, mixpanel.
thats nice, have an expert at GTM on the team. If they require to use it to manage the tags on the site, that saves alot of software development work.
i would imagine that you would have a GTM destination, and then from there, you would forward the events to all google products (ads, remarketing, etc)
c
^^ yes exactly - so this was what I thought to be best practice if you have the resources. Do you think it would hold true for GA4?
p
cant say for sure. so far, GA4 cloud mode is pretty limited cause of the measurements protocol.
if you load it device mode, then rudder would load the gtag script for you on your site via their sdk
for me, ideally i'd want to load jsut one third party script on my site.
c
right, hence your question about if you can use the same source to send to other destinations
yeah performance concerns via device mode
p
im trying ga4 out for a week, and see what kinda data is missing. so far its demo, technographic data thats missing. Worst case i would use device mode, then see if it's possible to pipe the data from the same source elsewhere.
they should have taught all these concepts in school. XD
c
Right? Yeah so if anyone else knows if you can use the same JS source for device mode GA4 and another destination (behavioural analytics/warehouse) we'd love to know! 😄
🤩 1
p
@cuddly-ice-9680Implementing the RudderStack Javascript SDK eliminates the need for GTM. You can setup one Javascript SDK source and then send captured events from that same source to GA4 (both cloud and device mode), other downstream destinations like Mixpanel as well as cloud data warehouse destinations. What @purple-motorcycle-5125 mentioned about the measurement protocol limitations is correct, in this case both GA4 cloud mode and device mode might be needed to capture attribution + engagement data.
c
Great thank you for following up! Because we do have a GTM specialist on our team I went ahead and implemented using the Rudderstack -->GTM method (device mode) and then that data gets piped to GA4 from GTM. In addition, I can confirm first hand that you can use the same JS source to send data to both GTM (device mode) and a warehouse (cloud mode) as you mentioned above. Totally makes sense about the limitations, thank you for flagging.
We also have server side events flowing to our data warehouse to effectively measure the full picture for engagement data and plan to pair it with the attribution data parsed out by device mode GTM to GA4.
🙌 1
p
Hey @plain-parrot-49913 How would we go about setting up GA4 cloud mode and device mode to be to capture attribution + engagement data? Would that mean two destinations of GA4? One with cloud and one with device?