Event fields & dimensions

Event Fields & Dimensions

Published:

Written by:

The event fields contain information that uniquely identifies an event. Most of these values are automatically collected by Google Analytics, including many of the values in the event_params field.

Field NameData TypeDescriptionExample Values
event_dateSTRINGThe date when the event was logged – see Working with dates and times for more info20230715
event_timestampINTEGERThe time (in microseconds, UTC) when the event was logged – see Working with dates and times for more info1690660217183263
event_nameSTRINGThe name of the event – see Querying events for more infopage_view
click
purchase
event_paramsRECORDEvent parameter keys and values associated with the event – see Event parameters for more infoSee table below
event_previous_timestampINTEGERThe time (in microseconds, UTC) when the event was previously logged.1690660217183263
event_value_in_usdFLOATThe event’s ‘value’ parameter (converted to USD)25.00
event_bundle_sequence_idINTEGERThe sequential ID of the bundle in which these events were uploaded65
event_server_timestamp_offsetINTEGERTimestamp offset between collection time and upload time (in micros)1012891

event_params

Listed below are some of the common keys you may find in the event_params field. However, it’s important to note that this list is not exhaustive, and your site or app’s specific implementation may introduce additional keys to capture relevant data.

Event KeyData TypeDescriptionExample Values
page_locationSTRINGURL of the web page where the event was collectedhttps://mysite.com/
https://mysite.com/account/
page_titleSTRINGThe title attribute of the web page where the event was collectedHome
Mysite – Account
page_referrerSTRINGThe URL of the page the user was on prior to this eventhttps://www.google.com/
firebase_screenSTRINGThe name of the app screen where the event was collectedhome
account
firebase_screen_classSTRINGThe name of the app class where the event was collectedMainActivity
AuthenticationActivity
ga_session_idINTEGERA unique identifier for the given users’ session1690585146
ga_session_numberINTEGERA counter of the given users’ sessions on the site or app1, 2, 3, etc.
session_engagedSTRINGAn indicator of whether the given user’s session is classed as engaged or not1 or 0
engagement_time_msecINTEGERA measure of how long the user has been active on the site10876
link_urlSTRINGThe URL of the link clickedhttps://www.facebook.com/mypage
link_domainSTRINGThe domain of the link clickedfacebook.com
outboundSTRINGAn indicator of whether the link directs to an external site or nottrue or false

Sample event fields query

Select the event fields you need from the below query.

For more information on how to extract specific values from the event_params field check out the tutorial Extract GA4 event parameters in BigQuery.

SELECT
  event_date,
  event_timestamp,
  event_name,
  event_params,
  event_previous_timestamp,
  event_value_in_usd,
  event_bundle_sequence_id,
  event_server_timestamp_offset
FROM `<project>.<dataset>.<table>`

Important Note: Make sure you replace the placeholders within the WHERE clause with the specific values for the table you are working with. For example, if you want to extract data for January 31st 2021 from the e-commerce sample dataset, use the following values:

  • <project> should be replaced with bigquery-public-data
  • <dataset> should be replaced with ga4_obfuscated_sample_ecommerce
  • <table> should be replaced with events_20210131

Ensure that you substitute these placeholders with your actual project, dataset, and table names when executing the queries.


For details and examples of other fields & dimensions see:

New to the GA4 BigQuery export? Check out our free introductory guide.

X