SEO Measurement
E-commerce Tracking in GA4: Measuring Revenue From SEO
By Shayan Ahmad · · 6 min read

Traffic is nice, but online store owners care about one question: is SEO making us money? GA4 can answer it, but only if ecommerce tracking is working properly and purchases are credited to the right channel. Many stores have tracking that is half set up, counts orders twice or misses them entirely, which makes organic revenue look either wonderful or worthless.
This guide explains how GA4 ecommerce tracking works, how to check yours, and how to read revenue from organic search without fooling yourself.
How GA4 Ecommerce Tracking Works
GA4 records shopping activity as a series of named events. Each event carries details such as product names, prices and order value. The main ones are:
- view_item when someone views a product page
- add_to_cart when they add a product to the cart
- begin_checkout when they start checkout
- add_payment_info and add_shipping_info during checkout
- purchase when the order is complete, with the transaction ID and revenue
The purchase event is the one that matters most for SEO reporting. If it is missing or wrong, every revenue figure in GA4 is wrong too.
Where the data comes from
On Shopify, the usual route is the official Google channel app, which connects your GA4 property and sends these events for you, including purchases from checkout. On WooCommerce and other platforms, a plugin or a Google Tag Manager setup does the same job. Custom-built stores normally need a developer to push the events into a data layer.
Checking Your Tracking Is Actually Working
Before you report a single number, spend half an hour confirming the basics.
Compare GA4 revenue with your store's sales
Pick a recent full month. Compare total revenue and number of orders in GA4 (Reports > Monetization > Ecommerce purchases or the overview) with the same month in your store admin. They will not match exactly. Cookie consent, ad blockers and refunds all create a gap. But they should be in the same ballpark. If GA4 shows roughly double your real orders, or a small fraction of them, something is broken.
Look for duplicate purchases
A common fault is purchases counted twice. It usually happens when a store has the platform app sending events and an old manual tracking code still in the theme or checkout settings. In an exploration, list transaction IDs with the purchase event count. If many IDs show two purchases, you have duplicate tracking to remove.
Check product-level data
Open the ecommerce purchases report and check that item names, quantities and prices look right. Missing item names or zero prices usually mean events are firing without the product details attached.
Test a real order
Place a small test order with a discount code if you can, then confirm the purchase appears in DebugView or in the real-time report with the correct value. Re-test after theme changes, checkout changes or app installs.
Finding Revenue From Organic Search
With tracking confirmed, open Reports > Acquisition > Traffic acquisition. Make sure the table shows the default channel group and look at the Organic Search row. If you do not see a revenue column, use the pencil icon to customise the report and add Total revenue or Purchase revenue as a metric.
Which landing pages produce sales
This is the report that shapes SEO priorities. Open the Landing page report, filter it to Session default channel group equals Organic Search, and sort by revenue. You will usually find a handful of collection and product pages doing most of the work. Those are the pages to protect, improve and support with internal links.
Equally useful are the pages with plenty of organic sessions and very little revenue. Often they rank for searches that are close to what you sell but not quite right, or the page itself is weak on images, sizing, delivery or reviews. Improving those product pages is often a quicker win than chasing new rankings, and on Shopify it is a core part of Shopify SEO work.
Separate brand and non-brand where you can
Some organic revenue comes from people searching your brand name. They already knew you, so that revenue is not really a result of SEO work. GA4 cannot show search terms, but Search Console can show how much of your organic clicks come from branded queries. Keep that in mind when you judge what SEO is delivering.
Understanding Attribution Without Getting Lost
Attribution is how GA4 decides which channel gets credit for a sale. It is the part that confuses owners most, so here is the short version.
Traffic acquisition credits the session
The Traffic acquisition report credits revenue to the channel that started the session in which the purchase happened. If someone found you through a blog post, left, and came back a week later through a Google search for your brand, the sale would usually be credited to that later session.
Key events use an attribution model
Other reports, especially under the Advertising section, use an attribution model across the visitor's journey. GA4 lets you compare models to see how much credit organic search gets when earlier visits are counted too. Organic search often starts journeys that end through another channel, such as an email or a retargeting ad, so it can look smaller in last-session reporting than it really is.
Pick one view and stick with it
The important thing is consistency. Choose the report you will use for monthly SEO revenue, write down how it works, and compare like with like over time. Switching models from month to month makes any trend meaningless.
What Good Organic Revenue Reporting Looks Like
A useful monthly view for a store owner fits on one page:
- Organic sessions, orders and revenue, compared with the same month last year.
- Organic conversion rate, so you can see whether traffic quality is changing.
- Top ten organic landing pages by revenue.
- Pages with rising traffic but falling revenue, flagged for review.
- A short note on anything unusual, such as a sale, stockouts or a tracking fix.
Our sample SEO report shows how we lay this out for store owners who want numbers they can act on.
A Real Example of Why It Matters
When we rebuilt product pages for a US vaporizer store on Shopify, total sales rose 20% to $113,201 between January and April 2026 with $0 spent on ads, while daily organic clicks grew roughly fourfold. Being able to show that link between organic visits and sales depended on purchases being tracked accurately. You can read how the work was done in the vaporizer brand case study.
Common Ecommerce Tracking Mistakes
- Payment gateway self-referrals. If customers leave to pay on a gateway site and return, the sale can be credited to that gateway. Add those domains to the unwanted referrals list.
- Currency mix-ups. Multi-currency stores must send the currency with each purchase, or totals will be inflated or deflated.
- Test orders left in. Large test orders can distort a quiet month. Note them so you can explain the spike.
- Tracking lost after migrations. Moving themes, checkouts or platforms is when tracking most often breaks.
FAQs
Why doesn't GA4 revenue match my Shopify sales?
GA4 only counts purchases from visitors whose browsers ran the tracking tag and, in many regions, accepted cookies. Refunds, edits, manual orders and ad blockers all add to the difference. A steady gap is normal; a sudden change in the gap suggests a tracking problem.
Can I see organic revenue by product?
Yes. In an exploration, add Item name as a dimension, Item revenue as a metric, and filter by Session default channel group equals Organic Search.
Should I use data-driven or last-click attribution for SEO?
Either can work if you use it consistently. Data-driven attribution tends to give organic search more credit for starting journeys. Last-click style reporting is simpler to explain. Choose one for monthly reporting and note it on every report.
Do I need a developer for GA4 ecommerce tracking?
On Shopify and most popular platforms, the official apps or plugins handle it. Custom stores, headless builds and unusual checkouts usually need developer help.
Know What Organic Search Is Worth to Your Store
Accurate revenue tracking is the foundation of every sensible SEO decision for an online shop. If you are not sure your numbers are right, or you want to know which pages should be earning more, our e-commerce SEO service starts with exactly that. The easiest first step is a free SEO audit of your store.
- ga4
- ecommerce tracking
- organic revenue
- attribution
- shopify
Have a question about this for your own site?
A 15-minute call is usually enough to tell whether it applies to you and what to do first.


