How to See Revenue in Google Analytics
Tracking revenue in Google Analytics transforms it from a tool that just counts traffic into one that measures what actually impacts your bottom line. Connecting your sales data reveals which marketing channels, campaigns, and pages are directly generating income. This guide will walk you through setting up ecommerce tracking in Google Analytics 4 and show you exactly where to find the reports that matter.
Why Track Revenue in Google Analytics?
Before jumping into the setup, it’s helpful to understand what you gain by connecting sales data to your analytics. When revenue tracking is enabled, you stop operating on vague metrics and start making decisions based on actual performance.
You can finally answer foundational business questions like:
- Which marketing channels are most profitable? Is your paid search campaign generating more valuable customers than your social media efforts? Seeing revenue by channel instantly clarifies your true return on ad spend (ROAS).
- What content drives sales? You can identify which blog posts, landing pages, or videos contribute to the customer journey that ends in a purchase.
- Which products are your top performers? Beyond just sales volume from your ecommerce platform, you can see how users interact with product pages on your site before buying.
- Where are visitors dropping off? By tracking the whole funnel - from viewing an item to adding it to the cart and completing the purchase - you can identify friction points on your website and work to optimize them.
Without this connection, your traffic data and sales data live in separate worlds. You might have a blog post that gets thousands of views, but you have no idea if those readers ever buy anything. Revenue tracking bridges that gap and gives you the clarity needed to grow your business effectively.
Setting Up Ecommerce Tracking in Google Analytics 4
In Google Analytics 4, ecommerce tracking relies on specific events to pass purchase data from your website to your GA4 property. The way you implement this largely depends on the platform your website is built on. There are two primary paths: using a simple integration or a more advanced manual setup.
The Easy Way: Using an E-commerce Platform Integration
If you use a popular platform like Shopify, WooCommerce, BigCommerce, or Magento, you're in luck. These platforms have pre-built integrations that handle most of the technical heavy lifting for you. You won’t need to touch any code or configure complex tags.
The goal of these integrations is to automatically set up a data connection that sends key e-commerce events (like view_item, add_to_cart, and purchase) along with the necessary data (like product names, prices, and transaction IDs) directly to Google Analytics.
Here’s a general overview of the steps for two of the most popular platforms:
For Shopify Stores:
- Navigate to the Shopify App Store and find the official "Google & YouTube" app.
- Install the app and follow the on-screen prompts to connect your Google account.
- During setup, you will be prompted to select your Google Analytics property. The app will then automatically place the correct GA4 tracking code on your store and configure all the ecommerce events for you.
- That’s it. Shopify and the Google app handle a comprehensive data layer setup behind the scenes, ensuring data flows correctly.
For WooCommerce (WordPress) Stores:
- There are several plugins that can accomplish this, but one of the most common and robust options is "Google Analytics for WordPress" by MonsterInsights or the official Google Listings & Ads plugin.
- Install and activate your chosen plugin from the WordPress dashboard.
- Walk through the setup wizard. You will be prompted to authenticate with your Google account and select your GA4 property.
- Ensure the e-commerce tracking add-on or setting is enabled. The plugin will detect WooCommerce and automatically start tracking additions to cart, product views, and completed purchases without requiring any custom configuration.
Using a native integration is the recommended path for over 90% of business owners. It’s reliable, quick, and ensures your data is structured correctly for GA4’s reporting features.
The Advanced Way: Manual Setup with Google Tag Manager
If your website is custom-built or your e-commerce platform doesn't have a direct integration, you'll need to set up tracking manually using Google Tag Manager (GTM). This method offers maximum flexibility but requires some technical knowledge.
The core concept is to create a data layer on your website. A data layer is a JavaScript object that holds all the data you want to pass to GTM. For an e-commerce transaction, your website developer would need to write code that 'pushes' information like the product ID, name, price, and transaction total into the data layer when a purchase is complete.
A data layer push for a purchase event might look something like this:
window.dataLayer = window.dataLayer || [],
window.dataLayer.push({
event: 'purchase',
ecommerce: {
transaction_id: 'T-12345',
value: 59.99,
tax: 4.99,
shipping: 5.00,
currency: 'USD',
items: [{
item_id: 'P001',
item_name: 'Classic Blue T-Shirt',
price: 25.00,
quantity: 1
}, {
item_id: 'P002',
item_name: 'Denim Jeans',
price: 25.00,
quantity: 1
}]
}
}),Once the data layer is properly implemented on your site, you would then configure Google Tag Manager to:
- Listen for the 'purchase' event using a Custom Event Trigger.
- Read the data from the data layer using Data Layer Variables (e.g., variables for
transaction_id,value,items, etc.). - Send the data to Google Analytics using a GA4 Event Tag. This tag would be configured to use the variables you created, ensuring all the rich ecommerce information is passed to GA4.
This is a simplified overview, but it highlights the main difference: with a manual setup, you are responsible for building the data pipeline yourself, whereas platform integrations build it for you.
How to Verify Your Revenue Tracking is Working
After setting up your tracking, don't just assume it's working. You can easily test it. The most straightforward way is to use GA4's built-in DebugView.
In Google Tag Manager, enable "Preview Mode" and navigate through your website's purchase flow. In another tab, open your GA4 property and go to Admin > DebugView. As you complete actions on your site - like adding an item to the cart and completing a test purchase - you should see the corresponding events (add_to_cart, begin_checkout, purchase) appear in DebugView in real-time. Click on the purchase event to inspect its parameters, you should see the revenue figure, currency, item names, and other data you sent.
Where to Find Revenue Reports in Google Analytics 4
Once data starts flowing, you can find financial insights across several standard reports in GA4. Navigate to the Reports tab from the left-hand menu to get started.
1. Reports > Monetization > Ecommerce purchases
This is your primary hub for product-level performance. The Ecommerce purchases report breaks down revenue by the individual products you sell. By default, you’ll see metrics like:
- Items viewed: How many times users viewed a product's details page.
- Items added to cart: How many units were added to shopping carts.
- Items purchased: Total units sold.
- Item revenue: The total revenue generated by that specific product.
You can add a secondary dimension to this report, such as Item category or Item brand, to analyze performance for different product groups.
2. Reports > Acquisition > Traffic acquisition
This is arguably the most valuable report for any marketer. The Traffic acquisition report ties your revenue directly to the marketing channels that brought visitors to your site.
Scroll the main table to the right, and you'll find the Total revenue column. Here, you can directly compare how much money is generated by users coming from Organic Search, Paid Search, Direct, Organic Social, and other channels. It clearly answers "where are my paying customers coming from?" and helps you decide where to double down on your marketing budget and efforts.
For more detailed insights, you can change the primary dimension from Session default channel group to Session source / medium to see revenue credited to specific sources, like google / cpc or facebook / paid.
3. For Custom Analysis: The Explore Section
If the standard reports don't answer your specific questions, you can build completely custom analyses in the Explore section. For instance, you could build a Funnel exploration report to visualize the user journey from viewing a product page to completing a purchase, identifying precisely where users drop off at each step. This allows for deep, tailored insights that go far beyond the pre-built dashboards.
Final Thoughts
Connecting your revenue data to Google Analytics is one of the most powerful steps you can take to make data-driven decisions. Once configured, you can move away from vanity metrics and focus on the channels, campaigns, and products that are actually fueling your business growth and profitability.
Even with everything set up, a common frustration for marketers is having to constantly log in and out of different platforms - Google Analytics, Shopify, Facebook Ads, your CRM - just to piece together a full performance picture manually. We built Graphed to connect all your data sources in one place, so you can stop wrestling with reports. You can just ask questions in plain English, like "Show me my Shopify revenue driven by Facebook Ads last month," and get an instant, real-time dashboard that answers your question without the manual busywork.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.