GA4 Attribution Dimensions to BigQuery Mapping
By mapping GA4 attribution dimensions to BigQuery fields, you can see the various touchpoints (e.g., organic search, social media ads, email marketing) that led users to a conversion event (e.g., purchase, sign-up).
This breakdown allows you to identify the most effective channels and campaigns to drive conversions.
Here’s a breakdown of GA4 Attribution Dimensions and their corresponding BigQuery fields:
GA4 Attribution Dimension What it is BigQuery Field Name (Formula) Campaign / Campaign ID Represents the name and ID of a promotion or marketing campaign that led to a key event. traffic_source.campaign AS campaign_name, traffic_source.campaign_id AS campaign_id
Default channel group Channel groupings are rule-based definitions of your traffic sources. traffic_source.medium AS default_channel_group
(Note: This is a simplification and might not accurately reflect actual channel grouping logic.)Manual campaign ID Displays the ID of a specific campaign or promotion from the click URL or campaign_details event. traffic_source.manual_campaign_id AS manual_campaign_id
Manual campaign name Shows the specific campaign or promotion name from the click URL or campaign_details event. traffic_source.manual_campaign_name AS manual_campaign_name
Manual ad content Indicates the creative content used from the click URL or campaign_details event. traffic_source.manual_ad_content AS manual_ad_content
Manual medium Represents the marketing medium from the click URL or campaign_details event. traffic_source.manual_medium AS manual_medium
Manual source Identifies the referrer from the click URL or campaign_details event. traffic_source.manual_source AS manual_source
Manual source / medium Combines the source and medium from the click URL or campaign_details event. CONCAT(traffic_source.manual_source, ' / ', traffic_source.manual_medium) AS manual_source_medium
Manual source platform Shows the source platform, noted as ‘Manual’, from the click URL or campaign_details event. traffic_source.manual_source AS manual_source_platform
(Note: This might not accurately represent a platform.)Manual term Displays the paid keyword from the click URL or campaign_details event. traffic_source.manual_term AS manual_term
Medium Describes the method of acquiring users. traffic_source.medium AS medium
Source A representation of where traffic originates. traffic_source.source AS source
Source / medium Details the source and medium that led a user to your website or application. CONCAT(traffic_source.source, ' / ', traffic_source.medium) AS source_medium
Source platform Identifies the platform managing buying activity. traffic_source.source AS source_platform
(Note: This might not accurately represent a platform.)
Some fields, such as ‘Manual source platform’ and ‘Source platform’, do not have a direct corresponding field in the BigQuery export schema.
These dimensions are typically derived from other fields or a combination of fields.
The ‘Default channel group’ is not a direct field but can be derived from ‘traffic_source.medium’ and other traffic source fields based on the rules defined for channel groupings.
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.
-
By mapping GA4 attribution dimensions to BigQuery fields, you can see the various touchpoints (e.g., organic search, social media ads, email marketing) that led users to a conversion event (e.g., purchase, sign-up).
This breakdown allows you to identify the most effective channels and campaigns to drive conversions.
Here’s a breakdown of GA4 Attribution Dimensions and their corresponding BigQuery fields:
GA4 Attribution Dimension | What it is | BigQuery Field Name (Formula) |
---|---|---|
Campaign / Campaign ID | Represents the name and ID of a promotion or marketing campaign that led to a key event. | traffic_source.campaign AS campaign_name, traffic_source.campaign_id AS campaign_id |
Default channel group | Channel groupings are rule-based definitions of your traffic sources. | traffic_source.medium AS default_channel_group (Note: This is a simplification and might not accurately reflect actual channel grouping logic.) |
Manual campaign ID | Displays the ID of a specific campaign or promotion from the click URL or campaign_details event. | traffic_source.manual_campaign_id AS manual_campaign_id |
Manual campaign name | Shows the specific campaign or promotion name from the click URL or campaign_details event. | traffic_source.manual_campaign_name AS manual_campaign_name |
Manual ad content | Indicates the creative content used from the click URL or campaign_details event. | traffic_source.manual_ad_content AS manual_ad_content |
Manual medium | Represents the marketing medium from the click URL or campaign_details event. | traffic_source.manual_medium AS manual_medium |
Manual source | Identifies the referrer from the click URL or campaign_details event. | traffic_source.manual_source AS manual_source |
Manual source / medium | Combines the source and medium from the click URL or campaign_details event. | CONCAT(traffic_source.manual_source, ' / ', traffic_source.manual_medium) AS manual_source_medium |
Manual source platform | Shows the source platform, noted as ‘Manual’, from the click URL or campaign_details event. | traffic_source.manual_source AS manual_source_platform (Note: This might not accurately represent a platform.) |
Manual term | Displays the paid keyword from the click URL or campaign_details event. | traffic_source.manual_term AS manual_term |
Medium | Describes the method of acquiring users. | traffic_source.medium AS medium |
Source | A representation of where traffic originates. | traffic_source.source AS source |
Source / medium | Details the source and medium that led a user to your website or application. | CONCAT(traffic_source.source, ' / ', traffic_source.medium) AS source_medium |
Source platform | Identifies the platform managing buying activity. | traffic_source.source AS source_platform (Note: This might not accurately represent a platform.) |
Some fields, such as ‘Manual source platform’ and ‘Source platform’, do not have a direct corresponding field in the BigQuery export schema.
These dimensions are typically derived from other fields or a combination of fields.
The ‘Default channel group’ is not a direct field but can be derived from ‘traffic_source.medium’ and other traffic source fields based on the rules defined for channel groupings.
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.