Skip to content
    The Storemate
    • How it works
    • Features
    • Included
    • Pricing
    Marketing

    GA4 ecommerce tracking: set up the events that show what sold

    GA4 counts visitors on its own, but it will not tell you what sold until you send it ecommerce events. Here's the GA4 ecommerce tracking setup for a small Indian store - events, parameters, testing and consent.

    Illustration: GA4 ecommerce events tracked from product page to purchase for an online store
    Yashh Mittal
    Yashh Mittal
    Founder
    31 Aug 2026 · 4 min read
    Topic: Ads, analytics & growth
    In short

    A GA4 ecommerce tracking setup needs more than the tag. Create a property in rupees and India time, then send view_item, add_to_cart, begin_checkout and purchase with value, currency and a unique order ID. Test in DebugView, and expect gaps where buyers decline cookies.

    Create the property and web stream

    1. Go to analytics.google.com, create an account, then create a property.
    2. Pick your reporting time zone and currency. For an Indian store, that means India time and rupees.
    3. Add a Web data stream with your store's address and keep enhanced measurement on. It collects page views and other events automatically.
    4. Open the stream and copy the Measurement ID, which starts with G-.
    5. Paste that ID into your store platform's Google Analytics field, or add the Google tag to every page.

    Ecommerce events are not automatic

    Here is the catch most store owners miss. GA4 can count page views on its own, but it does not collect ecommerce events automatically. You, your developer or your store platform must send them. Google recommends a set of events for online sales. Sending them fills the Ecommerce purchases report, which shows how each product performs. Without them, GA4 can tell you how many people visited, but not what they bought. Start with the four events below. Together they show the whole path from product page to paid order.

    The four events that matter most

    EventFires when a shopperWhat it tells you
    view_itemViews an itemWhich products get attention
    add_to_cartAdds items to their shopping cartWhich products tempt people
    begin_checkoutBegins checkoutHow many carts reach checkout
    purchaseCompletes a purchaseOrders and revenue from each source

    Send value, currency and an order ID

    Each event needs its parameters, not just its name. For a purchase, send the order value, the currency and a transaction ID. For rupees, the currency code is INR. Google says an event missing a required parameter is treated as a custom event, and it will not appear in the report. The transaction ID must be unique for each order, such as your order number. GA4 removes duplicate purchases that share an ID, so a buyer who reloads the thank-you page is not counted twice. Never send an empty ID, or GA4 treats all those purchases as duplicates.

    Test it in DebugView

    Do not wait a day to find a mistake. Google says reports can take up to 24 hours to fill with ecommerce data, but DebugView shows events as they arrive. Turn on debug mode for your own device with Google Tag Assistant. Then open Admin, and under Data display, click DebugView. Browse a product, add it to the cart and place a test COD order. Each event should appear in the Seconds stream, which shows the last 60 seconds. Click purchase to check its value and currency. If you declined cookies, your events will not show, so accept them first.

    Consent and your cookie banner

    Tracking should respect what your buyers choose. Google's consent mode passes each visitor's cookie choice to its tags, and the tags adjust. When a visitor says no, the tags send cookieless pings instead of storing cookies. Google then fills some of the gaps with modelling. Consent mode does not give you a banner, though. You still need a clear cookie banner that asks first. Expect your GA4 numbers to sit below your real order count, since some buyers will say no.

    Check GA4 against real orders

    GA4 is a guide, not your ledger. A COD purchase event usually fires when the order is placed, not when the cash is collected, and some parcels come back. So compare GA4 revenue with delivered orders each week. Use GA4 for trends, such as which product pages lead to checkout, rather than exact totals. On The Storemate, you paste your G- ID into the tracking settings, and the Google tag loads only after a shopper accepts analytics cookies. Use DebugView to see exactly which events reach GA4 from your store, and fill any gaps before you trust a report.

    Frequently asked questions

    Does GA4 track ecommerce purchases automatically?

    No. GA4 can collect page views on its own, but ecommerce events such as add_to_cart and purchase must be sent from your website or tag setup. Once sent, they fill the Ecommerce purchases report.

    How do I check that my GA4 purchase event works?

    Turn on debug mode for your device with Google Tag Assistant, then open DebugView under Admin. Place a test order and check that purchase appears with the right value and currency.

    Why does GA4 show fewer sales than my store?

    Visitors who decline cookies are not tracked the same way, and reports can take up to 24 hours to fill. A purchase event missing a required parameter is also treated as a custom event.

    Sources

    • Google Analytics Help - Recommended events
    • Google Analytics Help - Set up ecommerce events
    • Google Analytics Help - Set up Analytics for a website
    • Google Analytics Help - Monitor events in DebugView
    • Google Analytics Help - Minimise duplicate key events with transaction IDs
    • Google Analytics Help - Ecommerce purchases report
    • Google Analytics Help - Consent mode on websites and apps

    Keep reading

    • GuidesThe store metrics every small merchant should track weekly
    • MarketingMeta pixel not tracking purchases? How to find and fix the gap
    • ComplianceThe DPDP Act and your small online store: a plain-English checklist
    ← Back to all posts
    The Storemate

    The complete e-commerce platform. Create, manage, and grow your online store from a single dashboard.

    Product
    • Features
    • Themes
    • Pricing
    • FAQs
    Company
    • About
    • How it works
    • Blog
    • Contact
    © 2026 The Storemate. Brewed with chai and built with ♥️ in India.
    PrivacyTermsCookies