-
Identifying Unique Records in BigQuery GA4 Events Data
Hey there!
I was just working on the BigQuery GA4 events data and ran into a bit of a puzzle. Maybe you can help?
Here’s the deal: I’m pulling out data from
event_params
,user_properties
, anditems
fields. The fields have nested json and I want to make sure all related records stick together.Can I take my hat off to you, Minhaz? Thanks for your input earlier.
I’ve got a picture here that shows the results when I checked for multiple rows using the four columns you suggested – event_name, event_timestamp, user_pseudo_id, event_bundle_sequence_id.
Can you spot the twist? There are several rows with the same column values, but totally different event_parms values. Is this a case of mixing event_parms data from multiple rows into one?
Maybe I was assuming too much but I thought all related event_parms values should show up within one row with the same vent_name, event_timestamp, user_pseudo_id, and event_bundle_sequence_id record. Does that make sense or am I off track?
Here’s the SQL query I ran and the results I got. Does anything jump out at you?
[SQL Query and Results Images]
Looking forward to your take on this. Let’s solve this puzzle together!
Chill and cheers!
Log in to reply.