Disclosure: Some tool links are affiliate links. If you sign up, we earn a small commission at no extra cost to you. We only recommend tools we'd use ourselves.
Website Analytics
Why This Matters
Without analytics, you're making decisions based on gut feeling. With analytics, you're making decisions based on data. And in e-commerce, data-driven decisions win.
You need to know: where your visitors come from, what they do on your site, where they drop off, and what drives purchases. This information tells you where to invest more and what to fix.
Set up analytics from day one. Even if you don't look at the data immediately, it's collecting in the background. You can't retroactively track visitors you didn't measure.
What You'll Do
Install analytics tracking on your site. Set up conversion tracking for purchases, add-to-carts, and email signups.
How To Do It
GA4 Setup Guide: Goals, Events, and the 5 Reports That Matter
This takes about 60 minutes. Analytics is how you stop guessing and start knowing. Set it up on day one — even if you don't check it for weeks, the data is collecting.
1. Install Google Analytics 4 (15 min)
- On Shopify: Go to Online Store > Preferences and paste your Measurement ID. Shopify handles the rest.
- On WooCommerce: Install the "Google Analytics for WooCommerce" plugin by WooCommerce. Paste your Measurement ID.
- Any platform: Alternatively, install Google Tag Manager (one tag) and fire GA4 through it — this gives you more flexibility to add other tracking later.
Go to analytics.google.com and create a new GA4 property. You'll get a Measurement ID (starts with "G-").
Verify it is working: go to GA4 > Realtime report and visit your site in another tab. You should see yourself as an active user within 30 seconds.
2. Set up e-commerce event tracking (15 min)
- view_item: When someone views a product page
- add_to_cart: When someone adds a product to their cart
- begin_checkout: When someone starts checkout
- purchase: When someone completes a purchase (include revenue data)
GA4 tracks "events" instead of "goals." For e-commerce, the key events to configure:
Shopify and the WooCommerce GA4 plugin set these up automatically. Verify in GA4 > Configure > Events that all four events are appearing.
3. Set up the 5 conversions that matter (10 min)
In GA4 > Configure > Events, mark these events as conversions (toggle the switch): 1. purchase — your primary conversion 2. add_to_cart — measures product page effectiveness 3. begin_checkout — measures cart-to-checkout rate 4. sign_up or email_signup — measures list building 5. click on external links (affiliate links, outbound references) — if applicable
4. Learn the 5 reports you will actually use (15 min to explore)
Report 1: Acquisition Overview (Where do visitors come from?) Path: Reports > Acquisition > Traffic Acquisition. Shows organic search, social, direct, paid, and referral traffic. Check weekly to see which channels are growing.
Report 2: Pages and Screens (What do people look at?) Path: Reports > Engagement > Pages and Screens. Shows your top pages by views. Identify your best-performing product pages and double down on similar content.
Report 3: E-commerce Purchases (What products sell?) Path: Reports > Monetization > Ecommerce Purchases. Shows revenue by product. This is your sales dashboard.
Report 4: Funnel Exploration (Where do people drop off?) Path: Explore > Funnel Exploration. Set up a funnel: view_item > add_to_cart > begin_checkout > purchase. This shows you exactly where you are losing customers.
Report 5: Landing Pages (Which pages attract visitors?) Path: Reports > Engagement > Landing Pages. Shows which pages people arrive on first. Optimize these pages — they are your store's front doors.
5. Set up a weekly review ritual (5 min)
Every Monday, spend 5 minutes checking: total sessions vs. last week, conversion rate, top traffic source, and top selling product. That is enough data to make informed decisions without drowning in metrics.
By the end of this step, you should have:
- Google Analytics 4 installed and verified with real-time tracking working
- E-commerce event tracking configured for view_item, add_to_cart, begin_checkout, and purchase
- Key conversions marked in GA4 (purchase, add_to_cart, begin_checkout, email_signup)
- A funnel exploration set up showing the full purchase funnel with drop-off points
Recommended Tools
Google Analytics 4
The industry standard for web analytics. Free, powerful, and integrates with everything. Set it up on day one.
Try Google Analytics 4Hotjar
Heatmaps and session recordings that show you exactly how visitors interact with your site. Reveals UX issues instantly.
Free for 35 sessions/day
Try HotjarPlausible
Privacy-friendly, lightweight analytics. No cookies, GDPR compliant out of the box. Clean, simple dashboard.
From $9/mo
Try PlausiblePro Tips
- 1Set up Google Analytics 4 AND one qualitative tool (like Hotjar). Numbers tell you what happens; recordings tell you why.
- 2Track micro-conversions too: email signups, add-to-carts, wishlist adds. They tell you about purchase intent even before a sale.
- 3Check your analytics weekly, not daily. Daily checking leads to panic-driven decisions based on normal fluctuations.