
From the conversion glossary
Concepts referenced in this article, defined.

Concepts referenced in this article, defined.
Run rigorous A/B tests and personalize every visit on Shopify or any storefront โ no engineers required.
Google Analytics 4 replaced Universal Analytics in 2023, and many ecommerce brands are still running suboptimal setups that miss critical data. A properly configured GA4 installation for ecommerce tracks the complete purchase journey โ from first visit through product view, add to cart, checkout, and purchase โ and connects that journey to marketing channels, customer segments, and retention cohorts. This guide walks through the complete GA4 ecommerce setup and the reports that actually matter for Indian D2C brands.
The biggest conceptual shift from Universal Analytics to GA4 is the move from sessions and pageviews to events and parameters.
In GA4, everything is an event:
page_view)view_item)add_to_cart)purchase)Each event can have parameters โ additional data points that give context:
item_id: The product SKUitem_name: The product nameprice: The product pricecurrency: INR (for Indian stores)value: The transaction valueThis model is more flexible than UA's session model and gives you much more granular data for funnel analysis and cohort analysis.
Setting currency to INR is critical for accurate revenue reporting. Revenue reported in USD when your orders are INR will create confusing data.
GA4 defaults to 2-month data retention for user-level data. Change this to 14 months: Admin โ Data Settings โ Data Retention โ 14 months
Without this change, cohort analysis reports will have limited historical data.
Exclude your own team's visits from GA4 data: Admin โ Data Streams โ [Your stream] โ Configure Tag Settings โ Define Internal Traffic โ Add your office/home IP addresses
This prevents your own product testing and browsing from inflating traffic metrics.
There are three approaches to connecting GA4 to Shopify:
The Shopify Google & YouTube sales channel app provides basic GA4 tracking. It covers:
What it misses: Product detail views, add to cart events, checkout step events, and refund events. Without these, you cannot build a complete purchase funnel in GA4.
Best for: Brands just starting out who want basic data quickly.
Apps like Elevar, TrueROAS, Littledata, or Analyzify implement full GA4 ecommerce tracking on Shopify without requiring custom development:
These apps cost โน3,000โ10,000/month but provide reliable, complete data that justifies the investment. Data gaps in GA4 lead to bad optimization decisions.
For brands with developer resources, implementing GA4 through Google Tag Manager gives maximum control and flexibility. GTM allows:
This approach requires technical expertise to implement correctly but is the most complete solution.
GA4 uses the Google Enhanced Ecommerce specification. The key events to track:
| Event | Triggers When | Key Parameters |
|---|---|---|
view_item_list | Category/search page | items[], item_list_name |
view_item | Product detail page | items[], currency, value |
add_to_cart | Product added to cart | items[], currency, value |
view_cart | Cart page viewed | items[], currency, value |
begin_checkout | Checkout initiated | items[], currency, value |
add_shipping_info | Shipping step completed | items[], shipping_tier |
add_payment_info | Payment selected | items[], payment_type |
purchase | Order completed | transaction_id, value, currency, items[] |
refund | Refund processed | transaction_id, value, items[] |
For Indian D2C, add two custom parameters:
payment_method: "UPI", "COD", "Card", "BNPL" โ allows segmentation of conversion by payment typecustomer_type: "new" or "returning" โ allows cohort analysis and LTV trackingUse GA4's DebugView (Admin โ DebugView) to verify events are firing correctly. With your browser's GA4 debug mode enabled, DebugView shows events in near-real-time.
Check each event fires with correct parameters by going through your own purchase flow from browse to purchase.
GA4's built-in ecommerce reports are powerful but require understanding to use effectively.
1. Ecommerce Purchases Report Path: Reports โ Monetization โ Ecommerce Purchases
Shows: Revenue, quantity sold, and purchase counts by product.
Use for: Identifying your top-performing products, tracking new vs. returning product performance, seasonal trends.
2. Purchase Journey Report (Funnel) Path: Reports โ Monetization โ Purchase Journey
Shows: Customer flow from session start โ product view โ add to cart โ begin checkout โ purchase.
Use for: Identifying the biggest drop-off point in your funnel. If 1,000 add to cart events result in only 150 begin checkout events, you have a major cart abandonment problem to solve.
This is your primary funnel analysis tool. Check it weekly.
3. User Acquisition Report Path: Reports โ Acquisition โ User Acquisition
Shows: First-touch channel attribution โ which channels bring the most new users and the most converting users.
Use for: Understanding which paid and organic channels are most efficient at driving first-time customers. Compare "Users" vs. "New Users" vs. "Conversions" across channels โ the channel with the highest conversion rate from new users is your most efficient acquisition channel.
4. Retention Report Path: Reports โ Retention
Shows: What percentage of new users return within 1, 7, 28, and 90 days.
Use for: Monitoring retention trends month-over-month. A declining Day 30 retention rate is a leading indicator of future revenue decline. A rising Day 30 retention rate shows your post-purchase experience is improving.
5. Cohort Exploration Path: Explore โ Cohort Exploration
Shows: Revenue and conversion behavior by user acquisition cohort.
Use for: Comparing the lifetime value of customers acquired in different months or through different channels. A December (Diwali season) cohort might have different LTV than a June cohort โ understanding this shapes your acquisition investment.
GA4's standard reports cover the basics. Use Explore (GA4's custom analysis tool) for deeper insights.
Funnel Exploration: Your Complete Purchase Funnel Build a custom funnel with these steps:
Segment by: Device category, New vs. Returning user, Traffic source.
This shows you exactly where mobile vs. desktop users drop off, where paid vs. organic traffic differs in conversion, and where the biggest opportunity lies.
User Lifetime Report Path: Explore โ User Lifetime
Shows: Revenue, purchase count, and session count per user over their lifetime. Critical for customer lifetime value tracking.
Path Exploration: Product Discovery Paths Build a path analysis starting from your homepage and category pages to understand which navigation paths lead to purchases. This informs navigation optimization โ if most purchases come from a particular browsing path, ensure that path is smooth.
GA4 automatically creates predictive audiences based on purchase probability:
Connect GA4 to Google Ads and Meta Ads to use these audiences for remarketing. Showing your highest-intent visitors a specific ad campaign can dramatically improve paid media efficiency.
Custom audiences to build for Indian D2C:
CustomFit.ai pushes experiment data to GA4 as custom dimensions:
In GA4, you can then segment any report by experiment variant. For example:
This integration means your A/B test results are validated in GA4's data, not just CustomFit.ai's internal reporting โ giving you a second data source to confirm test outcomes.
Not filtering internal traffic: Your own team's browsing inflates session counts and can distort conversion rate if team members test purchases.
Currency not set to INR: Revenue data in GA4 will be unreliable if currency is not set to INR for Indian stores.
Missing add_to_cart events: Without this event, you cannot build the complete purchase funnel or track cart abandonment in GA4.
Not enabling cross-device tracking: GA4 uses Google Signals to stitch together cross-device journeys for signed-in Google users. Enable Google Signals: Admin โ Data Collection โ Google Signals.
Ignoring the refund event: RTO and returns affect your real revenue significantly. Track refund events to get accurate net revenue data.
Data retention set to 2 months: Change to 14 months immediately. You cannot get historical data back once the retention window passes.
Set up GA4 and start collecting data before you need it. GA4 cannot backfill historical data. Every day you delay setup is data you can never recover.
Use one GA4 property per store (not per marketing channel). Multi-property setups create data fragmentation that makes cross-channel analysis impossible.
Name your events and parameters consistently. Custom event names like "product_viewed" and "view_item" for the same event create confusion. Follow GA4's standard ecommerce event names.
Connect GA4 to Google Search Console. This adds organic search query data to GA4 โ essential for understanding which keywords drive ecommerce traffic.
Build a weekly analytics ritual: 30 minutes each Monday reviewing Purchase Journey funnel, User Acquisition channel performance, and Retention rate. This discipline catches problems early.
Track average order value in GA4 using the "value" parameter correctly โ it should be the total order value, not per-item value.
GA4 is not just a measurement tool โ it is the decision-making infrastructure for every CRO, acquisition, and retention decision you make. Invest in the setup to get trustworthy data, and that data will return the investment many times over.