Wiki Guide

How to Set Up GA4 for E-commerce 2025: A Step-by-Step Guide

Written ByLokendra

Hey there, e-commerce store owner! If you’re looking to grow your online business in 2025, you’ve probably heard about Set Up GA4 for E-commerce. Google Analytics 4 (GA4) is the latest tool to help you track how customers interact with your store—think purchases, product views, and abandoned carts. Setting it up might sound daunting, but don’t worry—I’ve got your back. In this guide, I’ll walk you through everything you need to know to get GA4 up and running for your online store. Ready to unlock insights that can skyrocket your sales? Let’s dive in!


Why GA4 Matters for Your E-commerce Store

Let’s be real—running an online store is like navigating a busy marketplace blindfolded if you don’t have the right data. That’s where Google Analytics 4 for online store tracking comes in. Unlike its predecessor (Universal Analytics), GA4 is built for today’s world of apps, websites, and customer journeys that zigzag across devices.

  • Better Insights: GA4 tracks the full customer journey, from first click to final checkout.
  • Future-Proof: With cookies fading away, GA4 uses smarter, privacy-friendly tracking.
  • E-commerce Focus: It’s packed with features like e-commerce conversion tracking with GA4 to help you see what’s selling and what’s not.

For example, imagine you sell handmade candles. With GA4, you can see if customers are dropping off at the checkout page or if your lavender scent is outselling the pine one. That’s the kind of info that turns browsers into buyers!


Step-by-Step Guide to Configure GA4 E-commerce Tracking

Alright, let’s get to the good stuff—how to set up GA4 for e-commerce websites. I’ve broken this down into easy steps so you can follow along, even if you’re not a tech wizard.

1. Create a GA4 Property

  1. Head to your Google Analytics account (analytics.google.com).
  2. Click Admin > Create Property.
  3. Name it something like “My Store GA4” and select your timezone and currency.
  4. Hit Next and choose Web as your platform.

2. Set Up a Data Stream

  1. After creating the property, click Data Streams and select Web.
  2. Enter your website URL (e.g., www.mycandleshop.com) and give the stream a name.
  3. Enable Enhanced Measurement to automatically track page views, scrolls, and clicks.
  4. Copy the Measurement ID (it looks like “G-XXXXXXX”).

3. Install GA4 on Your Website

If you use a platform like Shopify or WooCommerce, add the Measurement ID in the analytics settings. For custom sites, paste the GA4 script into your site’s <head> section via Google Tag Manager (GTM) or directly in the code.

4. Enable E-commerce Tracking

In GA4, go to Admin > Data Settings > E-commerce Settings. Toggle on Enable E-commerce and save. This unlocks features like GA4 product tracking setup for items viewed, added to cart, and purchased.

5. Set Up Events with Google Tag Manager

  1. Open GTM (tagmanager.google.com) and create a new tag.
  2. Choose GA4 Configuration and paste your Measurement ID.
  3. Add triggers for key actions: page views, add-to-cart clicks, and purchases.

6. Test and Debug

Use GA4’s DebugView (under Configure) to see real-time data as you click around your site. Place a test order to confirm purchases are tracked correctly.


Understanding GA4 E-commerce Tracking Features

  • Purchases: See total revenue, top-selling products, and average order value.
  • Product Performance: Track views, add-to-carts, and conversions with GA4 product tracking setup.
  • Funnels: Spot where customers drop off (e.g., if 50% abandon at shipping costs).
  • User Behavior: Learn if mobile shoppers buy more than desktop users.

Conclusion

Setting up GA4 for e-commerce doesn’t have to be a headache. With this guide, you’ve got a clear path to track sales and grow your online store. Whether you’re selling candles or gadgets, success is within reach. Take an hour this weekend, follow these steps, and watch the insights roll in. AdyCircle is here to help you scale your data.

FAQ

Everything You Need to Know

Get In Touch

Ready to Scale Your D2C Brand or Ecommerce Store ? Let's Talk.

Book a free 30-minute session to audit your marketing and identify scale opportunities. We'll show you how to grow your brand with zero obligation and zero sales pressure.

Office location icon

Location: Ahmedabad, Gujarat, India

Serving regions icon

Serving: India · USA · UK · Australia · UAE

Phone
Select Industry
Select Budget
Select Source
30 minutesSenior strategistNo obligation