How do you set up Google Analytics 4 for e-commerce, and which metrics should you track? We explain how to turn your data into sales through conversion rate, revenue tracking, traffic source, and purchase funnel analysis.
In e-commerce, the most expensive mistake is flying blind. Without knowing which ad is actually turning a profit, where visitors give up on your site, and which product truly generates revenue, every decision you make is nothing more than a guess. This is exactly why Google Analytics exists: to remove that blindness, make everything happening on your site measurable, and let you base your decisions on data.
Google Analytics 4 (GA4), Google's current version, abandoned the classic session-based approach and moved to an event-based model. This offers a far richer measurement capability, especially for e-commerce; however, if its setup and logic aren't understood correctly, the pile of data remains meaningless. In this guide, we explain how to set up GA4 for e-commerce and which metrics you should focus on.
What Is Google Analytics?
Google Analytics is a free analytics tool that measures your website's visitors and their behavior. It shows how many people come to your site, where they come from, which pages they look at, how long they stay, and most importantly, whether they perform valuable actions such as making a purchase. In other words, it works like your site's "health dashboard."
GA4's event-based structure records every interaction (page view, product view, add to cart, purchase) as an event. This lets you follow the user's purchase journey step by step and see exactly where they drop off.
How to Set Up Google Analytics for E-Commerce
- Create a GA4 property: In your Google Analytics account, define a property and a data stream for your site.
- Add the measurement code to your site: Add the provided tag to your site. Modern e-commerce platforms offer this integration ready to go; our platform comparison can guide you on this point as well.
- Enable enhanced e-commerce events: Send e-commerce events such as product view, add to cart, begin checkout, and purchase. This step is the foundation of revenue and conversion reports.
- Mark conversions (key events): Define valuable actions such as purchases as "key events," so you can measure ad and traffic performance against these goals.
This setup is essential for seeing the true return of your Google Ads campaigns in particular; without conversion data, you can't know which ad is turning a profit.
Funnel analysis is the heart of e-commerce optimization. If a large portion of users drop off at the payment step, the problem lies in your checkout experience; if they drop off on the product page, it lies in your content or pricing. Seeing these drop-off points clearly tells you what you need to improve. Often the cause of drop-off is page speed; that's why you should evaluate your speed analysis with PageSpeed Insights alongside your Analytics data.
Turning Data Into Decisions
The value of Analytics lies not in looking at a report, but in deriving action from it. The data "organic traffic is high but conversion is low" tells you that your content and product pages need improvement. The data "users from paid traffic leave immediately" points to a mismatch between the ad and the landing page. To read the data in the context of your competitors and the market, evaluate it together with our market analysis guide.
Common Mistakes
The most common mistakes are: settling for page views alone without setting up e-commerce events, failing to define conversions, not reviewing data regularly, and trying to track every metric at once until you drown in them. Regularly monitoring a small number of the right metrics is far more valuable than never reviewing hundreds of metrics.
The GA4 Interface and Core Reports
Although GA4's interface may look complex at first glance, a few core reports cover most of your daily needs. The Realtime report shows how many people are on your site right now and what they're doing; it's ideal for instantly seeing the impact when you launch a campaign. Acquisition reports reveal where your visitors come from (organic search, paid ads, social media, direct) and show which channel brings in valuable traffic. Engagement reports explain which pages users spend time on and which events they trigger. Monetization reports, meanwhile, are the heart of e-commerce: revenue, products sold, average order value, and purchase behavior are gathered here. Regularly reading these four report groups is often enough to understand your site's health.
Understanding Event-Based Measurement
GA4's biggest difference from older versions is that it treats everything as an "event." Page views, scrolls, link clicks, video plays, add to cart, and purchases are all events. This structure lets you track the user's journey in much finer detail. While some events are collected automatically, you need to send the ones that are critical for e-commerce (product view, add to cart, begin checkout, purchase) with the correct parameters. From among these events, you mark the most valuable ones, such as purchases, as "key events," so you can measure the performance of ads and channels directly against your business goals. Without a properly configured event structure, GA4 falls far short of its potential for e-commerce.
Google Ads and Search Console Integration
GA4's true power emerges when it's integrated with other Google tools. The Google Ads link combines your ad spend with GA4's conversion and revenue data, letting you see the true return of each campaign; you can also export the audiences you create in GA4 to Ads for remarketing. The Search Console link, meanwhile, brings organic search data (the keywords you're found for, click and impression counts) into GA4; this lets you evaluate your SEO performance in the same place as visitor behavior. These integrations gather scattered data into a single picture, putting your advertising and SEO decisions on far more solid footing.
Building Audiences and Remarketing
GA4 lets you group users by their behavior and create "audiences." For example, you can define audiences such as "users who added to cart but didn't purchase," "those who viewed a specific category," or "loyal customers who have purchased in the past." These audiences are extremely valuable both for analysis (examining the behavior of these groups separately) and for remarketing (showing targeted ads to these people through Google Ads). Targeting users who were close to purchasing but didn't complete it is one of the highest-converting tactics in e-commerce, and it's fed directly by GA4 audiences.
Data Privacy, Cookie Consent, and Data Protection Law
When setting up analytics, you also shouldn't overlook your legal responsibilities. In Turkey, under data protection law (KVKK) and general privacy principles, you're expected to obtain consent from visitors regarding cookies and measurement (cookie notice/consent management). For users who don't give consent, data is collected in a limited way, which can lead to small discrepancies between GA4 and your actual order count; this is normal. What matters is reading the trends and ratios correctly, not the absolute numbers. For exact revenue and order data, you should always rely on your own order panel; GA4, on the other hand, should be used for behavior, channel performance, and optimization decisions. A privacy-respecting setup is critical for both legal safety and customer trust.
Reading Data Holistically
A single metric rarely tells the whole story. High traffic but low conversion means a strong visit but weak sales, and usually points to issues with the product page, price, or trust elements. High conversion but low traffic, on the other hand, tells you that a good site needs more visitors. Reading data always in its context, that is, together with market conditions and site performance, is the only way to derive the right action. Analytics is not a reporting tool, it's a decision-making tool.
Turning Reports Into Action: Practical Examples
The value of analytics data is measured by the action you derive from it. A few typical scenarios make this connection clear. Say you see that a specific product page gets a lot of visits but doesn't convert to sales; this tells you there's a problem with the price, imagery, or product description. If you see a high abandonment rate at the payment step, the problem is most likely a complicated or untrustworthy checkout experience. If you notice that a traffic source brings in many visitors but produces no conversions, the targeting on that channel is wrong. Mobile conversion being noticeably lower than desktop points to a flaw in your mobile experience. Every data point asks a question; your job is to find the answer to that question in the product, the page, or the campaign, and fix it. Running this cycle regularly creates a continuously improving e-commerce operation.
Common Setup Mistakes and Their Solutions
Most reasons for getting wrong results from GA4 are setup mistakes. The most common is settling for page views alone without sending any e-commerce events; in this case, revenue and purchase reports stay empty. The second is failing to define conversions (key events); without this, you can't see which channel produces value. The third is double-tagging, which causes the same transaction to be counted multiple times; this makes the data appear higher than it is. The fourth is failing to filter out test traffic and your own visits; this distorts the data on small-scale sites. Preventing these mistakes with a checklist at the setup stage is far cheaper than making decisions based on wrong data for months. When set up correctly, GA4 becomes the shared decision center for all your growth efforts, including advertising and SEO.
Which Metric Should You Track and When?
In Google Analytics, not every metric matters every day; establishing the right rhythm lets you extract value without drowning in data. Daily, it's enough to simply check whether anything unusual is happening (signs of technical issues such as a sudden traffic drop or conversions zeroing out). With a weekly view, you catch short-term trends by examining traffic sources, conversion rate, and best-selling products. In your monthly review, you make strategic decisions by analyzing revenue, average order value, channel performance, and the purchase funnel in depth. During campaign periods, frequently checking the realtime report gives you the chance to optimize on the fly. This layered approach lets you both catch small problems early and avoid missing the big picture. You also measure real growth by making period-over-period comparisons (this month versus last month, this year versus last year); a single period's number tells you little on its own, the real value is in the direction of the trend.
Turn Your Data Into Sales With Alis Digital
Setting up Google Analytics and interpreting it correctly is the invisible but decisive foundation of e-commerce growth. At Alis Digital, we manage your entire analytics process, from GA4 setup to enhanced e-commerce measurement, and from conversion tracking to data interpretation and optimization. Contact us for a free consultation and make your decisions with data.