GA4 Page/Screen Metrics to BigQuery Mapping

Mapping GA4 Page/Screen Metrics to their corresponding BigQuery fields allows analysing metrics like views, time spent, and entrances/exits to gauge user engagement with specific pages or screens.

You can understand which content resonates most with users. You can understand how deep users navigate your website or app by analysing views per user and time spent on pages. 

Here’s a breakdown of GA4 Page/Screen metrics and their corresponding BigQuery fields:

GA4 Page/Screen MetricsWhat it isBigQuery Field Name (Formula)
Elapsed time from last page requestThe average time, in seconds, between each event loading, calculated from the previous user-initiated page request.AVG(TIMESTAMP_DIFF(timestamp, PRIOR VALUE(timestamp) OVER (PARTITION BY user_pseudo_id ORDER BY timestamp), SECOND)) AS perceived_page_load_time_sec
EntrancesThe count of sessions that began with a particular page or screen as the first recorded event.COUNTIF(event_name = 'session_start') AS entrances
ExitsThe number of sessions that ended with a particular page or screen as the final recorded event.COUNTIF(event_name = 'session_end') AS exits
ViewsThe total count of screens or web pages viewed by users, including repeated views of the same page or screen.COUNTIF(event_name IN ('page_view', 'screen_view')) AS views
Views per userThe average number of screens or web pages viewed per user, indicating overall engagement.AVG(view_count) OVER (PARTITION BY user_pseudo_id) AS views_per_user

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade