~/talk

Measure performance with web-vitals.js, Google Analytics, and BigQuery

Talkat Google I/O 2022 · 2022-05-11..05-12· [web-performance, data-engineering]
slides:none on file

Shows how to capture real-user Core Web Vitals with web-vitals.js and send LCP/FID/CLS events into GA4→BigQuery so you can query event-level data (example LCP 13748 ms, FID 2.3 ms, CLS 0.0069→0.0082). Builds a materialized, partitioned summary table (daily/streaming export), schedules an append query to keep it current, and runs a sample analysis that computes the 75th percentile per page_path + debug_target while filtering for >=50 page views, then visualizes results in Data Studio.

AI-written summary · about

  1. 0:00Start
  2. 0:11Core Web Vitals
  3. 1:02Chrome User Experience Report
  4. 5:00Add the Web Vitals Library as a Module
  5. 18:16Querying the Data in Bigquery
  6. 26:57The Bigquery Data Transfer Api
  7. 35:29Customize the Charts
  8. 36:52Review
~/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.