Back to Resources

GA4 Setup for E-commerce: Configuration That Tells the Truth

Set up GA4 properly for e-commerce. Events, conversions, audiences, custom reports, and platform linking.

Vince Servidad April 26, 2026 14 min read

Share this article

GA4 Setup for E-commerce: The Configuration That Actually Tells the Truth

Universal Analytics is gone. GA4 is the only Google Analytics now. And while it's more powerful in many ways, default GA4 setups are misleading — they over-report some metrics, under-report others, and bury what actually matters.

Here's the GA4 setup that produces accurate, decision-useful data for an e-commerce store.

What's different about GA4

If you're coming from Universal Analytics:

  • Event-based, not session-based. Every interaction is an event. No more bounce rate (replaced by engagement rate).
  • Cross-platform. Web + app data in one place.
  • Built-in reports are limited. Most useful insights require custom exploration.
  • Privacy-first. Cookieless tracking options. Some metrics modeled rather than measured.
  • Different attribution model. Data-driven attribution by default.

The setup process is different too. Don't carry over UA habits.

Setting up GA4

Step 1: Create a GA4 property

In Google Analytics → Admin → Create Property. Set up:

  • Property name (your business name).
  • Time zone.
  • Currency.
  • Industry category.
  • Business size.

Step 2: Set up data streams

For an e-commerce store:

  • Web stream for your main site.
  • iOS or Android app streams if you have apps.

Each stream gets a measurement ID. Add it to your site via Google Tag Manager or directly.

Step 3: Connect to Shopify (or your platform)

For Shopify:

  • Use Shopify's Google channel app.
  • It auto-installs GA4 with proper e-commerce events.

For other platforms:

  • Use Google Tag Manager.
  • Install GA4 base tag on every page.
  • Configure e-commerce events manually.

Step 4: Verify e-commerce events fire

The standard e-commerce events GA4 wants:

  • view_item_list (collection page view).
  • view_item (product page view).
  • add_to_cart.
  • view_cart.
  • begin_checkout.
  • add_payment_info.
  • purchase.

Check Realtime → Events for each. If they're not firing, fix the integration.

Step 5: Set up conversions

In Admin → Conversions, mark purchase as a conversion. Optionally mark others (begin_checkout, add_to_cart) as secondary conversions.

Step 6: Enable enhanced measurement

Toggle on automatically-tracked events:

  • Page views.
  • Scrolls.
  • Outbound clicks.
  • Site search.
  • Video engagement.
  • File downloads.

This adds useful events without manual tagging.

Custom events and parameters

Beyond standard e-commerce, useful custom events:

  • newsletter_signup when users join your email list.
  • search with the search term as a parameter.
  • scroll_depth when users scroll past key thresholds.
  • engagement for specific interactions (clicked CTA, opened product video).

Custom event parameters let you filter and analyze. For example, send a campaign_id parameter on every event to track campaign-driven behavior.

User-ID tracking

For logged-in users (customers with accounts):

  • Pass the user ID to GA4.
  • Lets you see cross-device behavior accurately.
  • Reduces "anonymous user" noise in your data.

Implementation: configure User-ID in your GA4 property settings, then send user_id parameter in events.

Audiences

Build audiences for:

  • Engaged visitors (multiple sessions, ATC events).
  • Cart abandoners (begin_checkout but no purchase).
  • High-LTV customers (purchase value above threshold).
  • At-risk customers (no purchase in 60+ days).

Audiences in GA4 sync to Google Ads automatically (if linked). Use for retargeting.

Linking GA4 and Google Ads

In Admin → Property → Google Ads Links:

  • Link your Google Ads account.
  • Enable auto-tagging.
  • Import GA4 conversions to Google Ads (or use Google Ads' own conversion tag — pick one).

Linking enables:

  • GA4 audience targeting in Google Ads.
  • Google Ads metrics in GA4 reports.
  • Cross-platform attribution.

Linking GA4 and Search Console

In Admin → Property → Search Console Links:

  • Link your verified property.
  • Get organic search query data inside GA4.

This gives you organic + paid search data in one place.

Reports that actually drive decisions

Default GA4 reports are limited. Build custom Explorations for:

Acquisition by channel

What channels drive sessions and conversions? Compare ROAS across organic, paid social, paid search, email, direct.

Funnel visualization

view_item → add_to_cart → begin_checkout → purchase. Where is the drop-off?

Cohort analysis

Customers acquired in January — what's their retention/repeat purchase rate over 6 months?

Path exploration

Users who converted — what pages did they visit? What was their typical path?

Segment overlap

Do high-LTV customers come from one channel or many? What about cart abandoners?

These reports take 30 minutes to build each. Saved as templates, reused weekly.

Common GA4 mistakes

  • Not setting up e-commerce events properly. Missing or misfiring purchase events break everything.
  • Not enabling enhanced measurement. Missing easy-to-track behaviors.
  • No conversions configured. GA4 doesn't auto-detect what's a conversion.
  • Using only default reports. They miss most insights.
  • Not linking Google Ads and Search Console. Missing cross-platform data.
  • Cross-domain tracking misconfigured. Sessions break between hops, attribution breaks.
  • Filtering internal traffic. Your team's visits inflate numbers; filter by IP or user property.

Filtering internal and bot traffic

In Admin → Data Settings → Data Filters:

  • Filter internal traffic by IP range (your office, your team's homes).
  • Filter developer traffic.
  • Bot filtering is automatic but worth verifying.

Without filtering, your numbers are noisy and decisions worse.

Privacy and consent

GA4 supports consent mode:

  • Set up Consent Mode v2 to respect user consent (GDPR, CCPA compliance).
  • Without consent, GA4 uses modeled data (less accurate but legal).
  • Implement a consent banner via Cookiebot, OneTrust, or similar.

Reconciling GA4 with platform reports

GA4 numbers won't perfectly match:

  • Shopify's reports (different attribution, different events).
  • Google Ads' reports (different windows, different sources).
  • Meta Business Manager (entirely different attribution).

Some variance is normal. Big variance (>20% gap) suggests setup issues.

For decisions: pick one source of truth per metric:

  • Revenue: Shopify (source of cash).
  • Acquisition by channel: GA4.
  • Channel-specific ROAS: the platform itself, validated against MER.

A 1-day GA4 audit

For an existing GA4 property:

  • Hour 1: Verify all e-commerce events fire correctly.
  • Hour 2: Confirm conversions are configured.
  • Hour 3: Set up audiences for retargeting.
  • Hour 4: Link Google Ads and Search Console.
  • Hour 5: Configure data filters (internal, bots).
  • Hour 6: Build 3-5 custom Exploration reports.

After this audit, GA4 should give clear answers to "what's working in acquisition?" and "where is the funnel breaking?"

Beyond GA4

GA4 is foundational but limited. For deeper analytics:

  • Triple Whale, Northbeam. Cross-channel attribution and blended metrics.
  • Looker Studio. Custom dashboards combining GA4, Google Ads, Shopify data.
  • Heap, Mixpanel, Amplitude. Product analytics for behavior depth.

For most $250K-$5M stores: GA4 + a custom Looker Studio dashboard is enough. Above $5M: dedicated tools earn their keep.

What "good" looks like

A working GA4 setup:

  • All e-commerce events firing accurately.
  • Conversions configured (purchase + secondary).
  • Internal traffic filtered.
  • Linked to Google Ads, Search Console.
  • Custom Explorations for key questions.
  • Audiences building for remarketing.
  • Quarterly audit to catch drift.

GA4 isn't easy. It's powerful, but it requires deliberate setup to extract value. Operators who invest a day in clean configuration get a decade of accurate decision-making. Operators who run on defaults make decisions on noise.

Related Articles

Continue learning with these in-depth guides