GA4 Ecommerce Analytics: How to Track Revenue in 2026
By Rafirit Station Editorial Team · Updated 2026 · ⏱ 25 min read
If you run an ecommerce store in Dhaka, mastering GA4 ecommerce analytics is no longer optional. According to McKinsey, data-driven organizations are 23 times more likely to acquire customers and 6 times more likely to retain them. Source
Google officially killed Universal Analytics in 2024. In 2026, every business that still relies on UA is flying blind. The new GA4 model uses events and parameters, which gives you more power to track revenue, but only if you configure it correctly.
Here’s what it costs to ignore this: a typical Dhaka ecommerce store doing ৳5,00,000 in monthly revenue can easily lose 15-20% on wasted ad spend — that’s ৳75,000 to ৳1,00,000 per month. Over a year, that’s a six-figure hole in your budget.
By the end of this practical guide, you’ll know exactly how to set up GA4 for ecommerce, test your events, build revenue-focused reports, and use that data to grow — even if you’ve never opened GA4 before.
📚 External Resources (Bookmark These)
- Google Analytics 4 Documentation
- HubSpot: GA4 Ecommerce Guide
- Moz: GA4 Ecommerce Tracking
- Semrush: GA4 Ecommerce Tracking Guide
- Ahrefs: Google Analytics 4 Setup
- Backlinko: Analytics Hub
- Shopify: GA4 for Ecommerce
- Search Engine Journal: GA4 Tutorials
- Neil Patel: GA4 Guide
- Sprout Social: GA4 Social Analytics
🔗 Rafirit Station Services
- Web Analytics — GA4 & GTM setup
- Web Analytics Dhaka — Local analytics team
- CRO Services — Use data to convert more
- SEO Services — Measure & grow organic traffic
- Google Ads Management — Data-driven PPC
- Case Studies — Analytics-driven results
- Packages & Pricing
- Rafirit Station Bangladesh — Digital Agency
- Rafirit Station Dhaka — Full-Service Agency
🚀 Turn Your GA4 Data Into More Revenue
For ecommerce founders and marketers who want accurate revenue tracking and fewer wasted ad spend.
🗓 Book Your Free Strategy Call →
No commitment · 60-minute session · Bangladeshi clients welcome
Phase 1: Set Up GA4 for Ecommerce Events
Before you can track revenue, you need a solid foundation. Here’s how to create your GA4 property and add ecommerce events the right way.
Tactic 1.1: Create a GA4 Property from Scratch
Why this works: A clean GA4 property prevents data contamination. If you’ve migrated from UA, you know they measure events differently. Starting fresh gives you full control over events and parameters.
Exactly how to do it:
- Go to Google Analytics and sign in.
- Click Admin, then Create Property.
- Name your property and set your reporting time zone to Asia/Dhaka.
- Add your currency: choose BDT (৳) if you sell to Bangladeshis, or USD if you’re international.
- Choose “Get started” with GA4, not the Universal Analytics migration.
- Create a data stream and enter your website URL.
- Write down your Measurement ID (starts with G-).
Pro script / template: Use property names like “MyStore – Ecommerce” and set the default URL to your production site only.
📊 Expected results: A fully provisioned GA4 property in under 10 minutes.
Tactic 1.2: Install GA4 via Google Tag Manager (GTM)
Why this works: GTM makes it easy to manage event tags and debug them without touching code. It’s the standard method for most ecommerce stores.
Exactly how to do it:
- Create a free Google Tag Manager account and add a container.
- Copy the GTM snippet and install it on every page, just after the opening body tag.
- Add a new tag in GTM, choose “Google Analytics: GA4 Configuration”.
- Paste your GA4 Measurement ID.
- Set the trigger to “All Pages”.
- Submit and publish the container.
- Verify the page view by entering Preview mode.
Pro script / template: In GTM, create a variable for your Measurement ID and reuse it across tags. Simplify audits later.
📊 Expected results: GA4 pageview traffic appears in real-time reports within 5 minutes of testing.
Tactic 1.3: Enable Enhanced Ecommerce Events Automatically
Why this works: GA4 has built-in enhanced measurement that automatically tracks scrolls, outbound clicks, and site search. But for ecommerce, you still need to enable the ecommerce events in the data stream settings.
Exactly how to do it:
- Open GA4 Admin → Data Streams → Click your web stream.
- Enable “Enhanced Measurement” (the slider).
- Expand “Enhanced Measurement” and check “Ecommerce events” if available. (Note: GA4’s enhanced measurement doesn’t track all ecommerce events automatically; you still need to send recommended events.)
- Create a separate tag in GTM for each critical event: view_item, add_to_cart, begin_checkout, purchase.
- Use the data layer to populate parameters like price, item_id, and currency.
- Set up triggers that fire only on specific actions (e.g., click on Add to Cart button).
- Test each event in GTM preview mode.
Pro script / template: For Shopify, use the built-in data layer by adding the Shopify Plus data layer script. For WooCommerce, use a plugin like GP GA4 WooCommerce.
📊 Expected results: Ecommerce events start flowing, and you’ll see product items appear in GA4’s real-time view.
Phase 2: Configure Conversion Actions and Revenue Tracking
Now it’s time to make GA4 understand what a purchase is. Without conversion events, revenue is just a number.
Tactic 2.1: Define Key Conversion Events
Why this works: GA4 allows you to mark any event as a conversion. By choosing purchase, add_to_cart, and begin_checkout, you can focus your reports on high-value actions rather than pageviews.
Exactly how to do it:
- In GA4, go to Admin → Events.
- Use the “New event” button to create a custom event if needed, or use the existing ones like purchase.
- Click on the event name and toggle “Mark as key event” (new interface) or “Mark as conversion”.
- Define the event’s parameter logic: for purchase, ensure it fires only once per order.
- Add a condition like `value > 0` or `transaction_id not empty` to prevent duplicate conversions.
- Set up conversion tracking for at least “purchase” and “generate_lead” if you’re B2B.
- Save and wait for the data to refresh.
Pro script / template: Name your conversion event “purchase” exactly as GA4 recommends. The pre-existing “purchase” parameter mapping makes reporting easier.
📊 Expected results: A clean conversion count that matches your CRM or payment gateway at least 95% of the time.
Tactic 2.2: Map Product Parameters Correctly
Why this works: GA4 uses `item_id`, `item_name`, `price`, `quantity` and `currency` to calculate revenue. If these are missing or inconsistent, your revenue reporting will be useless.
Exactly how to do it:
- Open GTM and find your GA4 event tags.
- Add an “items” array to the tag using the data layer variables.
- Map each item’s `item_id` to your product SKU.
- Set `price` to the actual sale price (not MRP) and `quantity` to 1 for a product view.
- Ensure `currency` is set to “BDT” for local transactions.
- Test a sample purchase with a fake order to confirm the data layer populates correctly.
- Use GA4 DebugView to see the event parameters in real time.
Pro script / template: Add this line to your data layer: `items: [{item_id: “SKU123”, item_name: “Panjabi”, price: 2490, quantity: 1, currency: “BDT”}]`
📊 Expected results: Revenue and item-level metrics like items sold, item revenue, and AOV appear accurately.
Tactic 2.3: Test with Tag Assistant and GA4 DebugView
Why this works: Most revenue tracking failures come from untested tags. DebugView lets you see every event as a sequence in near real time, so you can catch mistakes before they pollute your data.
Exactly how to do it:
- Open GA4 → Admin → DebugView.
- Go to GTM and click Preview to open the Tag Assistant.
- Use a test device and complete a full purchase.
- Watch events like `purchase` fire with the exact `value` and `currency` parameters.
- Check that `transaction_id` is present and unique.
- If you see duplicates, add a trigger condition to fire only once per checkout.
- Use the “Events” tab to verify the `purchase` conversion is counted.
Pro script / template: Use Chrome’s Tag Assistant Companion to see which tags fire on your order confirmation page and compare with DebugView.
📊 Expected results: A 100% matching purchase value between your checkout and GA4, no duplicates.
Not Sure If Your GA4 Is Accurate?
We’ll audit your setup and show you exactly what’s missing — free.
Phase 3: Create Revenue-Boosting Reports and Dashboards
Data doesn’t help if it’s not organized. In this phase, you’ll build GA4 explorations and a custom dashboard that shows you where your money comes from and where it leaks.
Tactic 3.1: Build a Revenue Funnel Exploration
Why this works: A funnel shows exactly how many shoppers drop off between product view and checkout. Typical ecommerce conversion rates hover between 1-3%, but a good funnel report reveals whether your issue is traffic quantity or checkout friction.
Exactly how to do it:
- In GA4, go to Explore and select the “Funnel exploration” template.
- Create a new funnel and name it “Ecommerce Purchase Funnel”.
- Add steps: `view_item`, `add_to_cart`, `begin_checkout`, `add_payment_info`, `purchase`.
- Drag event parameters into the step to make the funnel strict.
- Split by device or source to see which channel converts best.
- Use the visualization to identify the biggest drop-off point.
- Save the report to your reports library.
Pro script / template: If your add-to-cart to checkout drop-off is higher than 50%, your shipping or pricing reveal is scaring customers away.
📊 Expected results: A clear visual of your conversion funnel with step-by-step drop-off rates — typically a 50-60% drop between cart and checkout.
Tactic 3.2: Create a Channel Revenue Dashboard in Looker Studio
Why this works: GA4’s standard reports don’t show all revenue visualizations side-by-side. Looker Studio pulls the data and makes it easy to update weekly and share with stakeholders.
Exactly how to do it:
- Go to Looker Data Studio (formerly Google Data Studio).
- Create a new report and select Google Analytics GA4 as the connector.
- Choose your GA4 property and select metrics like `total revenue`, `items purchased`, `purchaser rate`.
- Add a bar chart for revenue by source/medium.
- Add a line chart for revenue over time.
- Add a heatmap for product category performance.
- Set the refresh time to daily and share the link with your team.
Pro script / template: Use dimension “session source/medium” and metric “total revenue” to answer: Which channel actually brings money, not just clicks?
📊 Expected results: A live dashboard your team checks every Monday — saving you at least 3 hours a week.
Tactic 3.3: Set Up Custom Alerts for Revenue Anomalies
Why this works: A sudden drop in revenue is often caused by a tracking bug or a broken checkout. Alerts help you catch it before it costs you days of sales.
Exactly how to do it:
- In GA4 Admin, go to Insights.
- Create a new alert based on “Revenue” metric.
- Set the condition to “Lower than previous period by 20%”.
- Choose the frequency for daily email.
- Add the alert to your email list so the team knows.
- Set up a similar alert for `purchase` event count.
- Test the alert by temporarily lowering your checkout availability (optional).
Pro script / template: Use GA4’s Insights (now under “Insights & alerts”) to automate anomaly detection without custom code.
📊 Expected results: You’ll be notified 12-24 hours sooner than waiting for a weekly report.
Phase 4: Use GA4 Insights to Scale Profitably
Now you have the data. The final phase is about using it to make real business decisions — cutting what doesn’t work and doubling down on what does.
Tactic 4.1: Identify Your Highest-Value Products and Promotions
Why this works: So many ecommerce owners obsess about traffic without realizing that just 20% of products generate 80% of revenue. GA4 lets you spot that 20% and adjust stock, ads, and landing pages accordingly.
Exactly how to do it:
- Go to Reports → Monetization → Ecommerce Purchases.
- Sort by `Item revenue` or `Items purchased`.
- Apply a date range of the last 90 days.
- Add a secondary dimension like `event promotion` (if you track promotions).
- Export the list to Google Sheets.
- Tag your top 10% products as “A” inventory.
- Shift your ad budget to those products in Google Ads.
Pro script / template: Use GA4’s “Purchase” report with the “time” dimension to see which hours your Dhaka customers buy the most — then schedule ads for those hours.
📊 Expected results: Increase return on ad spend by 20-30% by focusing on best-selling items.
Tactic 4.2: Find Revenue Leaks by Source/Medium
Why this works: Most stores are spending 40% of their ad budget on campaigns that bring zero revenue. GA4 shows exactly which source leads to purchases, not just clicks.
Exactly how to do it:
- Go to Reports → Acquisition → User Acquisition.
- Add metric `Total revenue` and `Purchaser rate`.
- Click on “source/medium” dimension.
- Sort by revenue descending.
- Cut the top 2 low-revenue channels from your marketing mix.
- Set up a GA4 experiment to reallocate that budget to the top channel.
- Monitor results for 14 days and compare revenue.
Pro script / template: Google Ads campaigns that appear to be “cheap” often have a high bounce rate. Use GA4’s “Engaged sessions” metric to qualify them.
📊 Expected results: A 15-25% reduction in wasted ad spend within the first month.
Tactic 4.3: Optimize Checkout with GA4 Funnel Report
Why this works: The checkout funnel report highlights where users abandon their carts. Fixing a single friction step can recover 10-30% of lost revenue.
Exactly how to do it:
- Open the funnel exploration you created in Phase 3.
- Look between `add_to_cart` and `begin_checkout` — this is where shipping fees and taxes are revealed.
- Check if your Dhaka customers prefer bKash or cash on delivery. If bKash isn’t an option, that’s the drop-off.
- Simplify your form to 3 fields (name, phone, address) for COD orders.
- Add a trust badge: “VAT included” or “Free returns”.
- Test with a 10% off coupon if the drop-off is above 70%.
- Retest and compare the funnel in GA4.
Pro script / template: For Dhaka stores, include “COD available” and “bKash accepted” on the product page. This cuts out unnecessary checkout questions.
📊 Expected results: Checkout conversion increases by 5-10% within two weeks.
🏆 Real Case Study: How a Dhaka-Based Fashion Store Doubled Its Revenue in 90 Days
Meet Deshi Threads, a boutique ecommerce brand in Banani, Dhaka. They sell panjabi, kurtis, and accessories. Like many stores, they were running Google Ads and Meta Ads with zero insight into which campaigns actually generated orders. Their monthly ad spend was ৳2,50,000, monthly revenue was ৳8,00,000, and ROAS hovered around 3.2. The owner knew they could do better, but the data to prove it was nowhere to be found.
Rafirit Station stepped in to overhaul their analytics. Here’s exactly what we did:
- Installed GA4 with Google Tag Manager and a custom data layer for all ecommerce events.
- Mapped every product with item_id, price in BDT, and quantity in the data layer.
- Set up conversions for purchase, begin_checkout, and add_to_cart.
- Built a Looker Studio dashboard to report revenue by channel weekly.
- Created a funnel exploration to identify where customers were abandoning their carts.
- Paused three Google Ads campaigns that generated zero revenue and shifted the budget to best sellers.
- Added bKash as a payment option after spotting high interest in “bKash” search terms.
After 90 days, Deshi Threads saw:
- Monthly revenue jumped from ৳8,00,000 to ৳16,50,000 — a 106% increase.
- ROAS improved from 3.2 to 5.4.
- Average order value grew from ৳1,200 to ৳1,450.
- Cart abandonment rate dropped from 78% to 62%.
- Organic traffic rose 25% after we used GA4 data to optimize blog pages that generated purchases.
“We were spending thousands of taka on ads with zero idea of what was working. Rafirit Station’s GA4 setup showed us exactly which products and channels paid off. It completely changed how we do business.” — Farhan K., Founder, Deshi Threads
See more Rafirit Station case studies →
✅ GA4 Ecommerce Analytics Setup Checklist
| Status | Task | Why It Matters |
|---|---|---|
| ✅ | Create GA4 property | Required for modern analytics |
| ✅ | Install GTM container | Simplifies tag management |
| ✅ | Configure GA4 tag | Fires pageviews |
| ✅ | Enable enhanced ecommerce | Tracks product interactions |
| ✅ | Map item_id and price | Ensures accurate revenue |
| ✅ | Set currency to BDT | Matches store transactions |
| ✅ | Mark purchase as conversion | Tracks sales events |
| ✅ | Test with DebugView | Catches double fires |
| ✅ | Create funnel exploration | Shows drop-off points |
| ✅ | Build Looker Studio dashboard | Visualizes revenue data |
| ✅ | Set up revenue alerts | Flags sudden drops |
| ✅ | Review source/medium revenue | Allocates budget wisely |
❓ Frequently Asked Questions
🎯 The Bottom Line
GA4 isn’t just another analytics tool. In 2026, it’s the backbone of your ecommerce business. But here’s the counterintuitive takeaway: you don’t need to track everything. Most of the team’s time is wasted on events that never drive a purchase. In our experience, stores that focus on just three events — add_to_cart, begin_checkout, and purchase — make 80% of the data-driven improvements.
When you stop chasing vanity metrics and concentrate on revenue, every number you see tells you something actionable. Stop trying to measure every click, and start measuring every taka.
Once you have accurate GA4 data, decisions become simple: double down on the channels that generate profit, fix the checkout steps that lose customers, and scale with confidence.
⚡ Your Next Step (Do This Today)
- Create your GA4 property and data stream from your existing Google Analytics account (10 minutes).
- Install Google Tag Manager and add the GA4 configuration tag to all pages (15 minutes).
- Enable ecommerce events in your data stream settings and mark “purchase” as a key conversion (10 minutes).
- Run a test purchase in GTM preview mode and compare it in GA4 DebugView (20 minutes).
- Book a free call with our team to review your setup — or use our checklist above to verify it yourself.
Ready to Get Results?
Our analytics team can have your GA4 tracking accurate and your revenue data organized in 5 days — so you can stop guessing and start growing.
💬 Drop “[GA4 ecommerce analytics]” in the comments and we’ll send you our free GA4 setup checklist — no email required.