~/talk

Sending events to Google Analytics for Firebase to support data-driven decisions

TalkinJapaneseat DroidKaigi 2024 · 2024-09-11..09-13· [web-platform, data-engineering]
links:none on file
slides:none on file

Describes how Google Analytics 4 for Firebase exports events to BigQuery (one daily table) and how setting analytics_user_id allows app events to be joined with backend MySQL/Postgres records. Explains Firebase limits (500 event names and 40‑character parameter keys) that break a naive one‑event‑per‑screen approach for apps with ~400 screens, and presents a working pipeline using a single YAML source, KotlinPoet/SwiftPoet code generation, CI that opens PRs, and static checks (a detekt custom rule plus Konsist/Kosist checks) to detect missing screen events and user_id regressions.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Data-driven decisions
  3. 5:02KPIs and mobile engineer role
  4. 6:27Firebase basics
  5. 14:25Screen transition events
  6. 18:39User ID setup
  7. 21:27Event sending challenges
  8. 28:50Missing screen events prevention
  9. 32:18Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.