zachrenwick.work
Honestly, blending business context (analyst focus) with data modeling is an extremely impactful role.
Yes there's some shit AE models out there, but I've seen some terrible SQL written by data engineers too
Honestly, blending business context (analyst focus) with data modeling is an extremely impactful role.
Yes there's some shit AE models out there, but I've seen some terrible SQL written by data engineers too
We use the GA4 UI less and less.. and BigQuery / data mart is our "source of truth" for everything.
We use the GA4 UI less and less.. and BigQuery / data mart is our "source of truth" for everything.
CASE
WHEN REGEXP_CONTAINS(page_location, r'gclid=.+') AND traffic_source_source = 'google' THEN 'cpc'
/* Known GA4 misattribution bug */
ELSE traffic_source_medium
END
AS traffic_source_medium
CASE
WHEN REGEXP_CONTAINS(page_location, r'gclid=.+') AND traffic_source_source = 'google' THEN 'cpc'
/* Known GA4 misattribution bug */
ELSE traffic_source_medium
END
AS traffic_source_medium
This should be impossible, as the GCLID would only populate on an ad (and therefore should be cpc/paid traffic source medium)
This should be impossible, as the GCLID would only populate on an ad (and therefore should be cpc/paid traffic source medium)