Sorted
Services
Paid mediaMeta, GoogleRetentionKlaviyo, SMSConversionCROScale$1M+ a monthLaunchUnder $100k
PricingWorkFor agenciesStudio
Grade my storeGet your growth planGrowth plan →
Paid mediaMeta, GoogleRetentionKlaviyo, SMSConversionCROScale$1M+ a monthLaunchUnder $100k
Pricing→Work→For agencies→Studio→
Grade my storeBeyond Checkout, every Friday
Book a 20-minute growth call →No long-term contract. 30-day exit.
Blog/Strategy/Google Analytics 4 Setup

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
The Sorted team
Mar 27, 20269 min readUpdated Apr 1, 2026
On this pageGA4 vs Universal Analytics: What ChangedShopify to GA4 ConnectionKey Reports to Build in GA4
On this page
GA4 vs Universal Analytics: What ChangedShopify to GA4 ConnectionKey Reports to Build in GA4
Key takeaways
  • Universal Analytics tracked sessions and pageviews.
  • Install via the Google and YouTube channel app in Shopify.
  • Funnel exploration: Build a checkout funnel showing drop-off at each step.

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.

ShareXLinkedIn
Sorted Agency
Sorted Agency

60+ US-trained specialists running Klaviyo, Meta and conversion for 100+ D2C brands. Every number here comes from accounts we run.

Get the weekly letter →
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.

Keep reading

All articles →
StrategyWhich Model Fits Your StoreStrategy

Agency Retainer vs Project Pricing: Which Model Fits Your Store

StrategyBFCM 2026 DatesStrategy

BFCM 2026 Dates: Every Deadline From October to December for Shopify Brands

StrategyBFCM 2026 PlaybookStrategy

BFCM 2026 Playbook: The Complete Black Friday Plan for Shopify Brands

Beyond Checkout

One email a week. One thing to ship.

What moved revenue across our accounts that week, with the screenshot. Every Friday.

Unsubscribe in one click. See a past issue

Nothing to hand over to start·Read-only access, NDA first·Access gone in 24 hours when you leaveNothing to hand over to startRead-only access, NDA firstAccess gone in 24 hours when you leave

Sorted

We run growth for Shopify brands. Ads, email and SMS, conversion rate. One team, one number.

Services
RetentionPaid mediaConversionScaleLaunchBFCM
Agencies
White-label podsDedicated peopleProjectsPartnersStudio for agencies
Company
WorkPricingSecurityCareersAboutNewsletter
Tools
Store graderRevenue gapROAS calculatorLTV predictorBFCM checklist
Get your growth planGrade my store
Sorted Agency LLC, 131 Continental Dr, Suite 305, Newark, DE 19713. Founded 2017.PrivacyTermsPrivacy choicesRemove my data
↑
$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5x blended ROAS ·$30M+ ad spend managed ·$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5x blended ROAS ·$30M+ ad spend managed ·
Shopify brands, $100k+/mo
Get your free growth planGet your growth plan →
Not ready? Grade my store, 90 sec