Hi, I wanted to integrate RudderStack with Faceboo...
# support
b
Hi, I wanted to integrate RudderStack with Facebook Pixel and GA4 so that I can know in GA4 that the data is being received from Facebook. Earlier we were using GTM, and there we added a tag in the GTM itself where we incorporated the Facebook script and hence we can know the origin How can the same be done in RudderStack?
q
@big-market-92547 Rudderstack supports GTM. Can you check this doc if it has the details that you are looking for? Do let me know if you have further queries. https://www.rudderstack.com/docs/destinations/streaming-destinations/google-tag-manager/
b
I don't want integration with GTM rather this is what our requirement is: My App -> RudderStack -> Facebook Pixel and GA4 In GA4 I want to see the users landing on my site with Facebbok
e
Thanks for posting Eiti. @silly-teacher-59636, @kind-easter-13854 - Eiti is with Urban Ladder, so I wanted to bring this attention of y'all.
k
Ok, so both GA4 and Facebook pixel are destinations for our SDK tracking. For FB pixel, it doesn't matter if you are collecting RudderStack events server-side or client-side what you need to do is mapping described here https://www.rudderstack.com/docs/destinations/streaming-destinations/fb-pixel/ Mapping exists because rudder stock doesn't have defined structure for events, so you map things like Shopping Card Completed > FB purchase event. This also means you can send the same events to GA4 and FB. Just map them on corresponding events in UI.
GA4 is a little bit tricker as Google still has not provided full measurement protocol server side, forcing client-side tracking with gtag which we cannot monitor. We are however coming out with hybrid mode this week to fully support GA4 without GTM as well so if you are planning to start next week I should have a way for you to have one RudderStack SDK and just send data to all destinations. Due to how GA4 works however if you want full attribution data there we will need to load (but you don't need to instrument) gtag to your site as well.
s
@big-market-92547 what are your thoughts on the above?
b
@kind-easter-13854 @silly-teacher-59636 Yes we can wait uptil next week. Let me know the changes that are suppose to be done and I can incorporate the same in my code
k
We are bringing out hybrid mode today. It's already enabled for any new GA4 destinations you create. Documentation still needs to be updated, but we will fix that part shortly. I will drop you a google doc describing what needs to be done around GA4. For FB pixel, you can use our public docs I linked above.
b
@kind-easter-13854 Just a few questions: Q1) So as of now all the standard events generated by GA4 are not getting registered when sending those via RudderStack? Q2) It has been mentioned that To see live events, connect a dummy HTTP source. Why? Will the events captured in live session not sent to destination or are not visible in GA4?