GA4 Ecommerce Dimensions to BigQuery Mapping
You can access detailed information about individual products within BigQuery by mapping GA4 Ecommerce Dimensions to BigQuery fields, including the product ID, name, variant, category, price, and more.
GA4 ecommerce dimensions to BigQuery mapping allows you to identify top-selling products, analyze product performance across categories, and understand user behaviour related to specific items within BigQuery.
Here’s a breakdown of GA4 Ecommerce dimensions and their corresponding BigQuery fields:
GA4 Ecommerce Dimensions What it is BigQuery Field Name (Formula) Currency The type of currency used in a transaction. MAX(ecommerce.currency) AS currency
Item affiliation Identifies the affiliate or partner associated with an item sold. MAX(items.affiliation) AS item_affiliation
Item brand Indicates the brand associated with a specific item. MAX(items.item_brand) AS item_brand
Item category The primary category under which an item is classified. MAX(items.category) AS item_category
Item category 2 The secondary category for classifying an item. MAX(items.category2) AS item_category2
Item category 3 The third level in an item’s hierarchical category structure. MAX(items.category3) AS item_category3
Item category 4 Represents the fourth tier in an item’s classification. MAX(items.category4) AS item_category4
Item category 5 The fifth and most specific classification tier for an item. MAX(items.category5) AS item_category5
Item coupon The coupon code used for purchasing an item. MAX(items.promotion_id) AS item_coupon
Item ID A unique identifier assigned to an item. MAX(items.item_id) AS item_id
Item list ID A unique identifier given to a list of items. MAX(items.item_list_id) AS item_list_id
Item list name The name given to a list of items. MAX(items.item_list_name) AS item_list_name
Item list position Specifies the position of an item within a list. MAX(items.item_list_position) AS item_list_position
Item location ID An identifier for where an item or promotion is located. MAX(items.location_id) AS item_location_id
Item name The official name of an item. MAX(items.item_name) AS item_name
Item promotion creative name The designated name for a creative aspect of a promotion. MAX(items.promotion_creative_name) AS item_promotion_creative_name
Item promotion creative slot Identifies the specific placement or slot of a promotional creative. MAX(items.promotion_creative_slot) AS item_promotion_creative_slot
Item promotion ID A unique identifier for a promotional campaign or offer. MAX(items.promotion_id) AS item_promotion_id
Item promotion name The name associated with a specific promotion. MAX(items.promotion_name) AS item_promotion_name
Item variant Describes variations of an item, such as size or color. MAX(items.item_variant) AS item_variant
Local item price The price of an item adjusted for local currency. MAX(items.price) AS local_item_price
Order coupon A coupon code associated with a specific order. MAX(purchase.coupon) AS order_coupon
Shipping tier The level of shipping service chosen for delivering an item. MAX(purchase.shipping_tier) AS shipping_tier
Transaction ID An identifier used to track and manage transactions within ecommerce platforms. MAX(transaction_id) AS transaction_id
Points to Consider:
item_coupon: While ‘MAX(items.promotion_id)’ might capture the ID of a promotion associated with an item, it might not directly represent the coupon code used by the customer. Consider using ‘CASE WHEN’ statements or exploring other fields within ‘ecommerce.promotions’ schema if you specifically need the coupon code.
local_item_price: There might not be a dedicated field for “local item price” within the standard GA4 ecommerce schema. You might need to perform calculations based on ‘price’ and currency conversion rates if you want to analyze price in a specific local currency.
order_coupon: The ‘purchase.coupon’ field likely captures the order-level coupon code, which might differ from an item-specific coupon (‘item_coupon’).
Transaction ID: While ‘MAX(transaction_id)’ retrieves a transaction ID, it might not necessarily be unique across your entire BigQuery dataset. Consider using appropriate filters or concatenating with other identifiers for uniqueness.
Consider using ‘CASE WHEN’ statements within your BigQuery queries to handle scenarios where a single field might not perfectly capture the desired data element.
Other articles on GA4 BigQuery
#1 BigQuery Introduction
- How to create a new Google Cloud Platform account.
- How to create a new BigQuery project.
- What is Google BigQuery Sandbox and how to use it.
- Understanding the BigQuery User Interface.
- What is BigQuery Data Transfer Service & how it works.
- How to create data transfer in BigQuery.
- Connect and transfer data from Google Sheets to BigQuery.
- How to access BigQuery Public Data Sets.
- Best Supermetrics Alternative – Dataddo.
#2 GA4 BigQuery Introduction
- Google Analytics 4 BigQuery Tutorial for Beginners to Advanced.
- GA4 Bigquery Export Schema Tutorial.
- GA4 BigQuery – Connect Google Analytics 4 with BigQuery.
- events_ & events_intraday_ tables in BigQuery for GA4 (Google Analytics 4).
- pseudonymous_users_ & users_ data tables in BigQuery for GA4 (Google Analytics 4).
- How to access GA4 Sample Data in BigQuery.
- Advantages of using Google BigQuery for Google Analytics 4.
- Impact of Google Advanced Consent Mode on BigQuery & GDPR.
#3 GA4 BigQuery Data Transfer
- How to Connect and Export Data from GA4 to BigQuery
- How to backfill GA4 data in BigQuery.
- How to overcome GA4 BigQuery Export limit.
- How to Send Custom GA4 Data to BigQuery.
- How to backup Universal Analytics data to BigQuery.
- How to send data from Google Ads to BigQuery.
- How to send data from Google Search Console to BigQuery.
- Sending data from Google Analytics to BigQuery without 360.
- How to send data from Facebook ads to BigQuery.
- How to pull custom data from Google Analytics to BigQuery.
#4 BigQuery Cost Optimization
- Guide to BigQuery Cost Optimization.
- Using Google Cloud pricing calculator for BigQuery.
- Cost of using BigQuery for Google Analytics 4.
#5 Query GA4 BigQuery Data
- How to query Google Analytics data in BigQuery.
- Query GA4 data in BigQuery without understanding SQL.
- Using GA4 BigQuery SQL generator to create SQL queries.
- New vs Returning users in GA4 BigQuery data table.
- GA4 BigQuery Composer Tutorial for ChatGPT.
- How to track GA4 BigQuery Schema Change.
- Calculating Sessions and Engaged Sessions in GA4 BigQuery.
- Calculating Total Users in GA4 BigQuery.
#6 GA4 to BigQuery Dimension/Metric Mapping.
- GA4 to BigQuery Mapping Tutorial.
- GA4 Attribution Dimensions to BigQuery Mapping.
- GA4 Google Ads Dimensions to BigQuery Mapping.
- GA4 Demographic Dimensions to BigQuery Mapping.
- GA4 Ecommerce Dimensions to BigQuery Mapping.
- GA4 Event-Scoped Ecommerce Metrics to BigQuery Mapping.
- GA4 Item-Scoped Ecommerce Metrics to BigQuery Mapping.
- GA4 Revenue Metrics to BigQuery Mapping.
- GA4 Event Dimensions to BigQuery Mapping.
- GA4 Event Metrics to BigQuery Mapping.
- GA4 Geography Dimensions to BigQuery Mapping.
- GA4 Link Dimensions to BigQuery Mapping.
- GA4 Page/Screen Dimensions to BigQuery Mapping.
- GA4 Page/Screen Metrics to BigQuery Mapping.
- GA4 Platform/Device Dimensions to BigQuery Mapping.
- GA4 User-Scoped Traffic Dimensions to BigQuery Mapping.
- GA4 Session-Scoped Traffic Dimensions to BigQuery Mapping.
- GA4 Session Metrics to BigQuery Mapping.
- GA4 User Dimensions to BigQuery Mapping.
- GA4 User Metrics to BigQuery Mapping.
- GA4 Advertising Metrics to BigQuery Mapping.
-
You can access detailed information about individual products within BigQuery by mapping GA4 Ecommerce Dimensions to BigQuery fields, including the product ID, name, variant, category, price, and more.
GA4 ecommerce dimensions to BigQuery mapping allows you to identify top-selling products, analyze product performance across categories, and understand user behaviour related to specific items within BigQuery.
Here’s a breakdown of GA4 Ecommerce dimensions and their corresponding BigQuery fields:
GA4 Ecommerce Dimensions | What it is | BigQuery Field Name (Formula) |
---|---|---|
Currency | The type of currency used in a transaction. | MAX(ecommerce.currency) AS currency |
Item affiliation | Identifies the affiliate or partner associated with an item sold. | MAX(items.affiliation) AS item_affiliation |
Item brand | Indicates the brand associated with a specific item. | MAX(items.item_brand) AS item_brand |
Item category | The primary category under which an item is classified. | MAX(items.category) AS item_category |
Item category 2 | The secondary category for classifying an item. | MAX(items.category2) AS item_category2 |
Item category 3 | The third level in an item’s hierarchical category structure. | MAX(items.category3) AS item_category3 |
Item category 4 | Represents the fourth tier in an item’s classification. | MAX(items.category4) AS item_category4 |
Item category 5 | The fifth and most specific classification tier for an item. | MAX(items.category5) AS item_category5 |
Item coupon | The coupon code used for purchasing an item. | MAX(items.promotion_id) AS item_coupon |
Item ID | A unique identifier assigned to an item. | MAX(items.item_id) AS item_id |
Item list ID | A unique identifier given to a list of items. | MAX(items.item_list_id) AS item_list_id |
Item list name | The name given to a list of items. | MAX(items.item_list_name) AS item_list_name |
Item list position | Specifies the position of an item within a list. | MAX(items.item_list_position) AS item_list_position |
Item location ID | An identifier for where an item or promotion is located. | MAX(items.location_id) AS item_location_id |
Item name | The official name of an item. | MAX(items.item_name) AS item_name |
Item promotion creative name | The designated name for a creative aspect of a promotion. | MAX(items.promotion_creative_name) AS item_promotion_creative_name |
Item promotion creative slot | Identifies the specific placement or slot of a promotional creative. | MAX(items.promotion_creative_slot) AS item_promotion_creative_slot |
Item promotion ID | A unique identifier for a promotional campaign or offer. | MAX(items.promotion_id) AS item_promotion_id |
Item promotion name | The name associated with a specific promotion. | MAX(items.promotion_name) AS item_promotion_name |
Item variant | Describes variations of an item, such as size or color. | MAX(items.item_variant) AS item_variant |
Local item price | The price of an item adjusted for local currency. | MAX(items.price) AS local_item_price |
Order coupon | A coupon code associated with a specific order. | MAX(purchase.coupon) AS order_coupon |
Shipping tier | The level of shipping service chosen for delivering an item. | MAX(purchase.shipping_tier) AS shipping_tier |
Transaction ID | An identifier used to track and manage transactions within ecommerce platforms. | MAX(transaction_id) AS transaction_id |
Points to Consider:
item_coupon: While ‘MAX(items.promotion_id)’ might capture the ID of a promotion associated with an item, it might not directly represent the coupon code used by the customer. Consider using ‘CASE WHEN’ statements or exploring other fields within ‘ecommerce.promotions’ schema if you specifically need the coupon code.
local_item_price: There might not be a dedicated field for “local item price” within the standard GA4 ecommerce schema. You might need to perform calculations based on ‘price’ and currency conversion rates if you want to analyze price in a specific local currency.
order_coupon: The ‘purchase.coupon’ field likely captures the order-level coupon code, which might differ from an item-specific coupon (‘item_coupon’).
Transaction ID: While ‘MAX(transaction_id)’ retrieves a transaction ID, it might not necessarily be unique across your entire BigQuery dataset. Consider using appropriate filters or concatenating with other identifiers for uniqueness.
Consider using ‘CASE WHEN’ statements within your BigQuery queries to handle scenarios where a single field might not perfectly capture the desired data element.
Other articles on GA4 BigQuery
#1 BigQuery Introduction
- How to create a new Google Cloud Platform account.
- How to create a new BigQuery project.
- What is Google BigQuery Sandbox and how to use it.
- Understanding the BigQuery User Interface.
- What is BigQuery Data Transfer Service & how it works.
- How to create data transfer in BigQuery.
- Connect and transfer data from Google Sheets to BigQuery.
- How to access BigQuery Public Data Sets.
- Best Supermetrics Alternative – Dataddo.
#2 GA4 BigQuery Introduction
- Google Analytics 4 BigQuery Tutorial for Beginners to Advanced.
- GA4 Bigquery Export Schema Tutorial.
- GA4 BigQuery – Connect Google Analytics 4 with BigQuery.
- events_ & events_intraday_ tables in BigQuery for GA4 (Google Analytics 4).
- pseudonymous_users_ & users_ data tables in BigQuery for GA4 (Google Analytics 4).
- How to access GA4 Sample Data in BigQuery.
- Advantages of using Google BigQuery for Google Analytics 4.
- Impact of Google Advanced Consent Mode on BigQuery & GDPR.
#3 GA4 BigQuery Data Transfer
- How to Connect and Export Data from GA4 to BigQuery
- How to backfill GA4 data in BigQuery.
- How to overcome GA4 BigQuery Export limit.
- How to Send Custom GA4 Data to BigQuery.
- How to backup Universal Analytics data to BigQuery.
- How to send data from Google Ads to BigQuery.
- How to send data from Google Search Console to BigQuery.
- Sending data from Google Analytics to BigQuery without 360.
- How to send data from Facebook ads to BigQuery.
- How to pull custom data from Google Analytics to BigQuery.
#4 BigQuery Cost Optimization
- Guide to BigQuery Cost Optimization.
- Using Google Cloud pricing calculator for BigQuery.
- Cost of using BigQuery for Google Analytics 4.
#5 Query GA4 BigQuery Data
- How to query Google Analytics data in BigQuery.
- Query GA4 data in BigQuery without understanding SQL.
- Using GA4 BigQuery SQL generator to create SQL queries.
- New vs Returning users in GA4 BigQuery data table.
- GA4 BigQuery Composer Tutorial for ChatGPT.
- How to track GA4 BigQuery Schema Change.
- Calculating Sessions and Engaged Sessions in GA4 BigQuery.
- Calculating Total Users in GA4 BigQuery.
#6 GA4 to BigQuery Dimension/Metric Mapping.
- GA4 to BigQuery Mapping Tutorial.
- GA4 Attribution Dimensions to BigQuery Mapping.
- GA4 Google Ads Dimensions to BigQuery Mapping.
- GA4 Demographic Dimensions to BigQuery Mapping.
- GA4 Ecommerce Dimensions to BigQuery Mapping.
- GA4 Event-Scoped Ecommerce Metrics to BigQuery Mapping.
- GA4 Item-Scoped Ecommerce Metrics to BigQuery Mapping.
- GA4 Revenue Metrics to BigQuery Mapping.
- GA4 Event Dimensions to BigQuery Mapping.
- GA4 Event Metrics to BigQuery Mapping.
- GA4 Geography Dimensions to BigQuery Mapping.
- GA4 Link Dimensions to BigQuery Mapping.
- GA4 Page/Screen Dimensions to BigQuery Mapping.
- GA4 Page/Screen Metrics to BigQuery Mapping.
- GA4 Platform/Device Dimensions to BigQuery Mapping.
- GA4 User-Scoped Traffic Dimensions to BigQuery Mapping.
- GA4 Session-Scoped Traffic Dimensions to BigQuery Mapping.
- GA4 Session Metrics to BigQuery Mapping.
- GA4 User Dimensions to BigQuery Mapping.
- GA4 User Metrics to BigQuery Mapping.
- GA4 Advertising Metrics to BigQuery Mapping.
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.