GA4 Page/Screen Dimensions to BigQuery Mapping

Following are the main advantages of mapping GA4 Page/Screen Dimensions to their corresponding BigQuery fields:

1) By mapping page titles, paths, and referrers, you can visualize users’ paths through your website or app. Identify common entry and exit points, optimize navigation flow, and pinpoint areas where users drop off.

2) You can analyze which content groups, types, and specific pages resonate best with users based on metrics like page views, time spent, and engagement.

3) You can create highly targeted user segments by combining page/screen data with user demographics or behaviour. This can be a powerful tool for tailoring your marketing or product strategies to specific user groups. 

4) You can leverage page/screen data to understand user interests and preferences.

5) You can utilize page/screen data alongside other event data to build a more comprehensive picture of user touchpoints before a conversion. 

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

GA4 Page/Screen DimensionsWhat it isBigQuery Field Name
Content groupIdentifies the content group associated with a page or screen.event_params.value.string_value WHERE event_params.key = 'content_group'
Content IDA unique identifier assigned to a content group.event_params.value.string_value WHERE event_params.key = 'content_id'
Content typeDescribes the type of content associated with a content group.event_params.value.string_value WHERE event_params.key = 'content_type'
HostnameSpecifies the subdomain and domain name of the URL users visit.event_params.value.string_value WHERE event_params.key = 'hostname'
Landing pageProvides the page path and query string of the first pageview in a session.event_params.value.string_value WHERE event_params.key = 'landing_page'
Page locationThe complete URL of the webpage visited by a user.event_params.value.string_value WHERE event_params.key = 'page_location'
Page path + query stringCaptures the page path and query string of a URL.event_params.value.string_value WHERE event_params.key = 'page_path_plus_query_string'
Page path and screen classCombines the page path from a website URL with the screen class from a mobile application.event_params.value.string_value WHERE event_params.key = 'page_path_and_screen_class'
Page referrerRecords the referring URL from which the user came.event_params.value.string_value WHERE event_params.key = 'page_referrer'
Page titleThe title set for a webpage.event_params.value.string_value WHERE event_params.key = 'page_title'
Page title and screen classMerges the page title from a website with the screen class from a mobile app.event_params.value.string_value WHERE event_params.key = 'page_title_and_screen_class'
Page title and screen namePairs the page title from a website with the screen name set for a mobile app.event_params.value.string_value WHERE event_params.key = 'page_title_and_screen_name'

Points to consider

Content ID:

While the formula event_params.value.string_value WHERE event_params.key = ‘content_id’ attempts to retrieve a content ID, it’s important to note that GA4 doesn’t inherently provide a unique identifier for content groups.

The ‘content_id’ parameter might be populated with custom IDs you have defined, but it is not a guaranteed field in every content group event.

Page location, Page path + query string, Page path and screen class, Page title and screen class, Page title and screen name:

These fields all use the same formula structure (event_params.value.string_value with key filters).

However,

It is essential to understand that GA4 might not provide all these specific parameters within every pageview event. Their presence depends on whether the relevant data was collected during the event.

Here’s a breakdown of the potentially missing data:

  1. page_location: This might not be available for all events if GA4 wasn’t able to determine the full URL.
  2. page_path_plus_query_string: Similar to ‘page_location‘, this combined field might be absent if some data wasn’t collected.
  3. Mobile app data (screen class names): The screen class related parameters (page_path_and_screen_class, page_title_and_screen_class, page_title_and_screen_name) won’t be populated for events originating from websites.

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