-
Discrepancy in User Counts between GA4 and BigQuery
So here’s the scoop. I used Bigquery to pull some data on active_users and total users up to 31/12/2022. This was broken down by CampaignName and Country as shown:
select count(distinct case when (select value.int_value from unnest(event_params) where key = 'engagement_time_msec') > 0 or (select value.string_value from unnest(event_params) where key = 'session_engaged') = '1' then user_pseudo_id else null end) AS active_users ,count(distinct user_pseudo_id) AS totalusers ,traffic_source.name AS CampaignName ,geo.country AS Country FROM
independent-tea-354108.analytics_254831690.events_20221231
GROUP BY traffic_source.name ,geo.countryWhen I singled out the ‘(organic)’ CampaignName in the results, here’s what I got: (Link to the breakout)
Now, here’s where things get a bit wonky. When I match it up with the data from GA4, it’s like comparing apples to oranges! There’s a whopping 15000 more active_users showing in GA4 in a single day. Imagine the discrepancy for a whole month! (Here’s the GA4 data)
And, just in case you think it’s a one off, I gave other CampaignNames a whirl and not a single one lined up. Those gaps were massive too. So, I’m stumped. Any ideas?
Log in to reply.