Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk5 min

E-Commerce Analytics Setup: Which Events to Track and How to Verify Them

A practical guide to planning GA4 ecommerce measurement, configuring shopping events across platforms, checking event payloads in DebugView, and handling consent and data responsibly.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A general analytics tag does not automatically measure every ecommerce action. To make a store analytics-ready, decide which shopping questions matter, configure the appropriate GA4 ecommerce events for your platform, test their names and parameters in DebugView, and make consent and data handling part of the implementation.

Plan what the store needs to measure

Begin with decisions the data should support, not with tags. Google describes ecommerce measurement as a way to analyze product interactions and shopping behavior. A useful plan identifies which actions the store needs to understand and how those actions will inform a decision.

As an Amazon Associate I earn from qualifying purchases.

  • Which products and product lists shoppers view.
  • Where shoppers add items, remove them, or leave the checkout journey.
  • Whether promotions or coupons are associated with purchases.
  • What revenue is recorded and how purchases are attributed.

Then identify the ecommerce platform, any analytics integration or tag manager already installed, and who controls the checkout. This inventory helps prevent duplicate tags and reveals which events or parameters require additional work.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose an implementation path

Create a GA4 property and web data stream, then connect the site using its documented platform integration or a Google tag. A tag manager implementation can use ecommerce events from a data layer to trigger GA4 event tags. The key distinction is that installing a general analytics tag is not the same as sending ecommerce events: the site, integration, or tag manager must provide the event and its ecommerce data.

Implementation What to establish Trade-off to assess
Hosted platform integration Which recommended events and parameters the integration sends automatically, and which require manual setup. Less direct control over implementation may be offset by a managed integration; verify checkout access, debugging visibility, and consent configuration.
Extension or plugin Which actions the extension tracks, how it handles event details, and whether it is maintained for the store’s current platform version. Capabilities and maintenance depend on the specific extension and its configuration.
Custom or tag-manager implementation How the site exposes ecommerce actions and item data, and how each event maps to a GA4 event tag. Offers implementation control but requires deliberate setup and validation of the event payloads.

These are implementation choices, not a ranking. Platform documentation establishes that integrations and extensions exist, but the right choice depends on the store’s checkout, data needs, operational capacity, and consent requirements.

Map shopping actions to ecommerce events

Use Google’s recommended event names for the actions the store actually supports. Send the relevant item array and available product details with product interactions; include event-level currency when sending a revenue value. Do not fabricate values the store does not collect, and ensure each event corresponds to a real shopper action.

Shopping action Recommended event Implementation check
Product detail viewed view_item Send the viewed product in the item data.
Product list viewed view_item_list Send the items displayed and available list details.
Item added to cart add_to_cart Fire when the cart action succeeds, with the relevant item data.
Item removed from cart remove_from_cart Fire when an item is actually removed, not merely when a control is clicked unsuccessfully.
Checkout begins begin_checkout Represent the real start of checkout and include available item details.
Purchase completes purchase Send purchase details, item data, and transaction information. Include currency when sending revenue value.
Refund is recorded refund Send the refund action and relevant transaction or item details available to the site.
Promotion is viewed or selected view_promotion or select_promotion Use the event that matches the shopper’s actual interaction and provide available promotion details.

Event names alone are not enough for useful ecommerce measurement. Review the event parameters and item-level fields against Google’s ecommerce guidance and the data your store can legitimately supply. For revenue-related events, make sure the currency accompanies the value so the amount has context.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check platform defaults before adding custom tracking

Shopify

Shopify documents that certain ecommerce events are tracked automatically after its GA4 setup, while other recommended or custom events can be implemented manually. Do not assume the documented automatic coverage includes every event, custom dimension, or reporting requirement for a particular storefront. Shopify also states that events cannot be tracked while a store is in private mode.

WooCommerce

WooCommerce’s Google Analytics Pro extension documentation describes tracking purchases, product reviews, coupon use, and refunds. Check the extension’s current documentation and configuration to determine whether it covers the store’s specific event needs; the existence of an extension does not establish that every required event is configured automatically.

Other platforms and custom sites

For another platform or a custom storefront, inspect its existing analytics integration and checkout implementation before adding tags. If the platform does not emit the needed events or item data, configure the event source and tag-manager or site code accordingly. Confirm how checkout pages are handled, since access to that part of the journey can affect what the implementation can observe.

Configure and validate the events

  1. Inventory existing tags. Check the site and checkout for existing Google tags and tag-manager containers before installing another instance.
  2. Connect the data source. Create the GA4 property and web data stream, then use the platform’s documented connection or configure the Google tag and tag-manager path.
  3. Map actions to events. For each real shopper action, identify the recommended event name, trigger, event parameters, and item data the site can supply.
  4. Run test actions. In a test session, view an item, add and remove an item, proceed into checkout, and complete a test purchase only if the store has a safe way to do so.
  5. Inspect DebugView. Confirm that each expected event appears with the correct name and inspect its parameters and item data. A successful configuration screen alone does not establish that the payload is correct.
  6. Check purchase uniqueness. Verify that the purchase event fires once in the real checkout flow. Review transaction IDs and tag or container duplication if it appears more than once.

Google’s validation guidance advises using only one Google tag or Tag Manager instance per page to avoid duplicate collection. Avoid stacking a platform integration and a separately installed tag without first checking whether both send the same events.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Build consent and data handling into the design

Consent Mode communicates a user’s consent state to Google tags so their behavior can adjust to that state. It does not provide a consent banner or consent-management platform. The site needs a compatible consent solution and an implementation that sets and updates consent state in response to the user’s choices.

Google Analytics policy requires appropriate notice and consent or an opt-out opportunity, and prohibits uploading information that allows Google to personally identify an individual. Examples in Google’s policy include certain names and email addresses. Do not place personal identifiers in event parameters, item data, URLs, or other analytics fields.

These are Google platform policy and implementation considerations, not a complete account of every jurisdiction’s legal requirements. Determine which rules apply to the store’s visitors and seek qualified legal advice where needed.

Before relying on reports

  • Confirm each event represents the corresponding shopper action, not simply a page load or button click that may fail.
  • Check that item and event parameters are populated with real values rather than invented defaults.
  • Verify currency whenever an event sends a revenue value.
  • Inspect DebugView for event names and payloads, and confirm purchases do not fire more than once.
  • Review tag and container installations for duplication before interpreting totals.
  • Revisit platform documentation when integrations, extension capabilities, or policies change.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.