GA4 Revenue Metrics to BigQuery Mapping

By mapping GA4 Revenue metrics to BigQuery fields, you can:

#1 Track the total revenue generated from various sources, such as purchases, in-app transactions, and subscriptions. 

#2 Pinpoint which products, services, or campaigns are the main revenue drivers. This knowledge is invaluable for optimizing marketing strategies and resource allocation.

#3 Calculate profitability by subtracting costs such as refunds, discounts, and operational expenses from total revenue.

#4 Analyze how changes in pricing affect revenue and make data-driven decisions to adjust pricing strategies for maximum profitability.

#5 Use historical revenue data to forecast future trends and prepare better for upcoming demands and market changes.

Here’s a breakdown of GA4 Revenue metrics and their corresponding BigQuery fields:

GA4 Revenue MetricsWhat it isBigQuery Field Name Formula
ARPPUMeasures the average revenue generated by each user who has made a purchase.SUM(ecommerce.purchase_revenue) / COUNT(DISTINCT user_pseudo_id WHERE event_name = 'purchase')
ARPURepresents the average amount of revenue generated by each active user.SUM(ecommerce.purchase_revenue) / COUNT(DISTINCT user_pseudo_id)
Average daily revenueThe average amount of revenue collected each day within a specified period.SUM(ecommerce.purchase_revenue) / COUNT(DISTINCT event_date)
Average purchase revenueThe average revenue obtained from purchases over a specified time frame.SUM(ecommerce.purchase_revenue) / COUNT(event_name = 'purchase')
Average purchase revenue per userThe total revenue obtained from purchases divided by the number of purchasing users.AVG(ecommerce.purchase_revenue)
Max daily revenueThe highest revenue recorded in a single day during the selected time frame.MAX(SUM(ecommerce.purchase_revenue) GROUP BY event_date)
Min daily revenueThe lowest revenue recorded in a single day during the selected time frame.MIN(SUM(ecommerce.purchase_revenue) GROUP BY event_date)
Total revenueThe combined total of all revenue from purchases, adjusted for any refunds.SUM(ecommerce.purchase_revenue) - SUM(ecommerce.refund_value)

Points to Consider:

ARPU (Average Revenue Per User): While the formula calculates total revenue divided by the number of distinct users, it does not differentiate between active users. A more precise definition of ARPU considers only active users within a specific timeframe. To refine this metric, you might need to incorporate additional filters based on user activity data.

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