Skip to content
Alamin Sultan
SEO & Analytics

GA4 Setup for E‑commerce: The Events That Actually Matter

By Alamin Sultan · 31 August 2026 · 5 min read

GA4 Setup for E‑commerce: The Events That Actually Matter

Short answer: A store without proper GA4 enhanced e‑commerce tracking is guessing. Send these events with the right parameters: `view_item_list`, `view_item`, `add_to_cart`, `begin_checkout`, `add_shipping_info`, `add_payment_info`, `purchase`. Mark `purchase` (and usually `begin_checkout`) as conversions. Then check the funnel in DebugView and the reports — most stores have at least one event that never fires.


Why the default install isn't enough

Dropping the GA4 tag on the site gives you pageviews and basic engagement. It does not give you the shopping funnel, revenue by product, or where checkout drops off — unless the enhanced e‑commerce events are sent with structured data.

On Shopify, the native GA4 channel covers most of it; verify it's complete. On WooCommerce, use a maintained GA4 plugin or GTM with a dataLayer.

The events to send

EventWhenKey params
collection/category page,
product page (id, name, price, brand, category)
click a product in a list
add to cart, ,
cart page,
checkout start,
shipping step
payment step
order confirmation, , , ,
refund issued

Always include and monetary . Keep consistent with your product IDs across every event.

What to mark as a conversion

  • `purchase` — always.
  • `begin_checkout` — usually, as an upper‑funnel signal for ads.
  • For lead‑gen elements (newsletter, wishlist), mark those too if they matter to you.

Don't mark everything — conversion inflation makes reports useless.

Verify it

  1. DebugView (GA4 → Admin → DebugView) with the GA Debug extension on — walk the full funnel and watch each event land with its params.
  2. Realtime report — confirm events appear.
  3. After 24–48h, check Monetisation → Ecommerce purchases and the funnel exploration for .
  4. Reconcile GA4 revenue against your store's own numbers — expect a small gap (ad blockers, consent), not a large one.

Consent

If you serve the EU/UK, wire GA4 to Consent Mode v2 so analytics respects the cookie banner. Data is modelled where consent is denied.


Key takeaways

  • Enhanced e‑commerce events with structured data are the whole point of GA4 for a store.
  • Send the full funnel; always include and .
  • Mark (and usually ) as conversions — not everything.
  • Verify in DebugView before trusting any report.

FAQ

Shopify already has GA4 — do I need more?
Verify the native integration sends the full event set with item data. Often it does; sometimes custom theme changes break it.
GTM or direct tag?
Either. GTM is more flexible for WooCommerce and custom logic; the direct tag is simpler on Shopify.
Why is GA4 revenue lower than my store's?
Ad blockers and denied consent. A 5–15% gap is normal; more than that means a tracking bug.

Alamin Sultan

Web developer for real estate and e‑commerce. WordPress · Next.js · MERN.

Related

SEO & Analytics Setup for Real Estate and E-commerce Sites
SEO & Analytics

SEO & Analytics Setup for Real Estate and E-commerce Sites

Before a site can grow, it needs the foundations in place: crawlable and indexable pages, correct titles and canonicals, schema markup, Core Web Vitals in the green, GA4 with the events that matter, Google Search Console

6 May 2026 · 6 min read

E‑commerce Website Cost: Template vs Custom vs Agency
E-commerce

E‑commerce Website Cost: Template vs Custom vs Agency

A template store you set up yourself costs roughly $500 plus a paid theme. A custom‑designed store from a focused developer runs $1,500–$7,000. A US agency build is $8,000–$20,000, and enterprise/headless goes to $10,000

31 Aug 2026 · 5 min read

AI Chatbots for Real Estate & E-commerce: 24/7 Lead Capture Done Right
AI & Automation

AI Chatbots for Real Estate & E-commerce: 24/7 Lead Capture Done Right

An AI chatbot on your website answers visitor questions, qualifies leads, and books calls or viewings — around the clock and across timezones. For real estate it captures the enquiry that lands at 2am and hands you a qua

6 May 2026 · 6 min read

Ready for a website that pays for itself?

Book a free 30‑minute call. I'll review your current site, show you what's costing you leads or sales, and tell you exactly what I'd do. No commitment.

5.0★ average rating · 350+ projects · 25+ countries · reply within 2 hours