Sorted
ServicesFor AgenciesWorkBFCM ChecklistResourcesBlog
Get Sorted →
ServicesFor AgenciesDedicated PodsWorkBFCM 2026BFCM ChecklistFreeResourcesBlogCareers
Get my free audit →BFCM builds from $599
Or email hello@sorted.agency
Blog / Strategy

Google Analytics 4 Setup for D2C Brands:
The Complete Ecommerce Guide

Most D2C brands have GA4 installed but configured incorrectly. Here is the setup that actually gives you useful data.

Sorted Agency·March 27, 2026·9 min read

Google Analytics 4 is the measurement foundation every D2C brand needs, but most GA4 setups are misconfigured and producing inaccurate data. A poorly set up GA4 understates conversions, misattributes traffic sources, and gives you confidence in numbers that are wrong. Here is the correct setup for a D2C Shopify brand.

GA4 vs Universal Analytics: What Changed

Universal Analytics tracked sessions and pageviews. GA4 tracks events. Everything in GA4 is an event: a page view, a button click, an add to cart, a purchase. This event model is more flexible and more powerful, but the default setup captures only a fraction of the events that matter for D2C. You have to configure the important ones explicitly.

The critical events for D2C that need proper setup: purchase (must be linked to Shopify order data with accurate revenue), add to cart, begin checkout, view item, view item list, and search. Most of these fire automatically from Shopify's Google integration, but the purchase event often has configuration issues with currency, value formatting, or duplicate firing.

Shopify to GA4 Connection

Install via the Google and YouTube channel app in Shopify. This creates the GA4 connection and enables automatic ecommerce event tracking. After installing, verify in GA4 that purchase events are firing correctly: go to GA4 Events report and confirm you see "purchase" events matching your Shopify order count within a 5 to 10 percent variance. Larger variance means there is a tracking issue.

Common GA4 tracking problems on Shopify: checkout on a subdomain (checkout.yourdomain.com) breaks cross-domain tracking if not properly configured, order confirmation page visited by payment gateway redirect causes duplicate purchase events, and ad blockers suppress GA4 tags for 15 to 25 percent of visitors. Server-side GA4 tagging via Google Tag Manager server-side container solves the ad blocker issue but requires technical setup.

Key Reports to Build in GA4

Funnel exploration: Build a checkout funnel showing drop-off at each step. View product page to add to cart, add to cart to begin checkout, begin checkout to purchase. Industry average drop-off at each step: product page to add to cart 8 to 12 percent conversion, add to cart to checkout 40 to 60 percent, checkout to purchase 60 to 75 percent. Below-benchmark numbers at any step indicate a specific optimisation opportunity.

Acquisition performance: Which channels drive the highest revenue, highest conversion rate, and highest average order value. Often channel with highest traffic is not the channel with highest revenue. Build a custom report showing sessions, transactions, revenue, and conversion rate by source/medium. This comparison reveals which channels are over-resourced and which are under-resourced relative to their actual revenue contribution.

Cohort analysis: GA4's cohort exploration tool tracks user behaviour over time. Set up a cohort report showing 30-day retention by acquisition source. This reveals whether Meta-acquired customers return at the same rate as organic-acquired customers. The LTV by channel insight from GA4 cohort analysis is some of the most actionable data available for D2C budget allocation.

On this page

GA4 vs Universal Analytics: What ChangedShopify to GA4 ConnectionKey Reports to Build in GA4

Want this built?

A written audit of your store and checkout in 48 hours. No logins needed.

Get my free audit →

Beyond Checkout

One D2C revenue playbook a week, every Friday.

Subscribe
Questions, answered

Questions on this,
answered.

Does Shopify automatically set up GA4 ecommerce tracking?

Shopify connects to GA4 via Google & YouTube app, which sets up basic purchase tracking. However, the automatic setup often misses enhanced ecommerce events (view_item, add_to_cart, begin_checkout) and does not configure custom dimensions for brand-specific data like product collection, subscription vs one-time purchase, and customer lifetime purchase number. Manual event configuration is required for accurate funnel analysis.

What GA4 reports are most useful for D2C brands?

Most valuable GA4 reports for D2C: (1) Monetization > Ecommerce purchases — SKU-level revenue and units. (2) Acquisition > Traffic acquisition — channel performance with conversion rate. (3) Funnel exploration — drop-off at each checkout step. (4) Path exploration — most common user journeys before purchase. (5) Cohort exploration — retention by acquisition cohort.

Where is your
revenue leaking?

Free 48-hour auditNo logins needed30-day exit$0 setup
Get Sorted →
One D2C revenue playbook a week. Read by founders and growth leads.
Sorted

AI-Powered D2C Ecommerce Growth Agency. Shopify · Klaviyo · Meta Ads · AI Automation.

hello@sorted.agency
Get Sorted →

Services

Performance MarketingEmail & RetentionShopify CROAI AutomationCreative ProductionBFCM 2026 Build

Resources

Free BFCM ChecklistFree 48-Hour AuditFree Growth VaultROAS CalculatorLTV PredictorD2C PlaybooksClient ResultsBeyond Checkout Newsletter

Partners

White-Label for AgenciesDedicated PodsStartup Partner ProgramTechnology Partners

Company

Team Holiday CalendarMedia KitCareers
Certified partnerMeta partnerGoogle partnerKlaviyo partnerShopify partnerPostscript partnerOmnisend partnerAlia partner
© 2026 Sorted Agency LLC
LinkedInXInstagram
Privacy PolicyTerms & Conditions
↑
$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5× avg ROAS ·$30M+ ad spend managed ·72hr to live ·$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5× avg ROAS ·$30M+ ad spend managed ·72hr to live ·
Free BFCM checklist56 checks, dated for 2026
Get the checklist →