ROOTY QatarROOTY QatarQatar
Back to Blog
Data

Google Analytics & GA4: The Complete Setup Guide for E-Commerce

Mehdi Tamime March 2, 2026 5 min read
computer macbook with analytics dashboard

Why Your GA4 Data Is Probably Wrong

GA4 is Google's current analytics platform — it replaced Universal Analytics in July 2023. It's more powerful, but also more complex to configure correctly.

Most stores that "have GA4" are only capturing a fraction of what they should be tracking. Common issues include: missing e-commerce events, incorrect attribution, untagged campaigns, and broken conversion tracking after a Shopify or WooCommerce update.

The 5 Core GA4 Events Every E-Commerce Store Needs

  1. view_item — a product page was viewed
  2. add_to_cart — product added to cart
  3. begin_checkout — checkout started
  4. purchase — transaction completed (with revenue, items, transaction ID)
  5. conversion events — custom goals mapped to your business objectives

If any of these are missing or misfiring, your funnel data is useless.

GA4 + Google Tag Manager: The Right Stack

The cleanest way to implement GA4 is via Google Tag Manager (GTM). This lets you:

  • Deploy tracking without touching code
  • Manage all tags in one place
  • Add events and custom dimensions without developer involvement
  • QA everything before pushing to production

A direct GA4 snippet in your site header works too — but it's harder to maintain and easier to break.

What to Track Beyond the Basics

Once your core events are live, layer in:

  • Scroll depth — are users reading your content or bouncing?
  • Video engagement — are product videos being watched?
  • Form interactions — where do lead gen forms lose people?
  • Internal search — what are users looking for that you're not surfacing?
  • UTM parameters — are your campaigns tagged correctly so you know what's driving revenue?

The GA4 Audit Checklist

Before trusting your data, run through these checks:

  • Is the GA4 measurement ID firing on all pages (not just the homepage)?
  • Is enhanced e-commerce tracking active?
  • Are purchase events deduplicating correctly (no double-counting)?
  • Are your UTM parameters being captured in campaigns?
  • Is your conversion window aligned with your actual sales cycle?

Want an Instant Audit for your Business?

Book a 15-minute session to review your GA4 setup directly with Mehdi: calendly.com/mehdi-rooty/15min

Ready to Grow Your Revenue?

Book a free strategy call with our team and discover your biggest growth opportunities.

Book a Free Call