Funnels, segments and data quality checks
With events and UTM tags in place you can finally answer "where do we lose people?". This lesson shows how to build and read a funnel, which segments reveal the real story, and how to check that your data is good enough to base decisions on.
Building a funnel
A funnel is a fixed sequence of steps with the number of visitors (or sessions) that reached each step. For Paws & Co:
view_item(product page)add_to_cartbegin_checkoutadd_shipping_infoadd_payment_infopurchase
Where to build it:
- GA4: Explore → Funnel exploration. Add your steps, choose open or closed funnel (closed: visitors must enter at step 1), and break down by device or channel. There is also a standard ecommerce purchase journey report if you send the recommended events.
- Privacy-friendly tools: many offer simple funnels based on goals or page paths; check your tool.
- Pulse:
pulse_funnelshows the funnel for apps on my-app.engineer (visits to sign-ups to activations). - A spreadsheet: if your tool has no funnel feature, export event counts per week and calculate step rates yourself. It works.
Reading a funnel
Here is Paws & Co's funnel for four weeks, split by device:
| Step | Mobile | Rate | Desktop | Rate |
|---|---|---|---|---|
| Product view | 3,600 | 1,350 | ||
| Add to cart | 450 | 12.5% | 270 | 20.0% |
| Begin checkout | 220 | 48.9% | 140 | 51.9% |
| Shipping info | 150 | 68.2% | 118 | 84.3% |
| Payment info | 120 | 80.0% | 105 | 89.0% |
| Purchase | 66 | 55.0% | 78 | 74.3% |
What stands out:
- Mobile product pages convert to cart much worse (12.5% vs 20%). Mobile has nearly three times the product views, so this is the largest absolute leak.
- Mobile loses people at shipping (68% vs 84%). Something in the shipping step works worse on a phone: a long form, a slow address lookup, unclear costs.
- Mobile payment to purchase is weak (55% vs 74%). Possible causes: a payment method that is awkward on mobile, a redirect that fails, or a missing wallet option. Check which payment methods your checkout offers in your shop dashboard.
Each observation is a question, not yet an answer. Module 3 shows how to find out why.
Always look at absolute numbers next to rates. A step with a terrible rate but 12 visitors a month is less urgent than a step with a mediocre rate and 3,000 visitors.
Payment and delivery expectations differ strongly per country, so a weak payment or shipping step can be a local problem. Examples: iDEAL in the Netherlands, BLIK and Przelewy24 in Poland, Bancontact in Belgium, cards and wallets in the UK; parcel lockers are the norm in Poland, home delivery in many other markets. Check which methods your customers in each country expect and which your checkout offers.
Segments that change decisions
Compare the same funnel or KPI across these segments:
- Device: mobile vs desktop (almost always the biggest difference).
- Channel: paid social visitors often browse and leave; email and search visitors often buy.
- New vs returning: returning visitors convert much better. If most sales come from returning visitors, your first-visit experience and your email capture matter more.
- Landing page: which pages start sessions that end in a purchase?
- Country: shipping costs, delivery times and payment methods differ per country.
Avoid slicing so thin that each segment has a handful of conversions. Five orders in a segment tell you nothing reliable.
Data quality: the checks that save you from bad decisions
Analytics data is never perfect. Your job is to know how imperfect, and to catch breakages quickly. Run these checks when you set up tracking and then monthly.
1. Reconcile with your own records. Compare one week of purchases in analytics with your actual orders (or sign-ups in your app's database). A gap is normal because of consent and blockers. Write down the percentage. What matters is that the gap is stable; a sudden change means something broke.
| Week | Orders (shop) | Purchases (analytics) | Captured |
|---|---|---|---|
| 44 | 36 | 27 | 75% |
| 45 | 33 | 25 | 76% |
| 46 | 38 | 12 | 32% ← investigate |
2. Duplicates. Is the number of purchases in analytics ever higher than real orders? Then events fire twice (thank-you page reloads, a tag installed twice, a plugin plus a manual tag). Check transaction_id deduplication.
3. Internal traffic. Exclude your own visits: GA4 has an internal-traffic filter by IP address; other tools have similar settings or a browser opt-out. On a small shop your own testing can be a visible share of traffic.
4. Bots and spam. Sudden spikes from one country, with 0 seconds engagement, are often bots. Most tools filter known bots; compare with your server or platform numbers if in doubt.
5. Self-referrals and payment referrals. If your own domain or your payment provider shows up as a referral source, the visitor's original source is lost when they return from the payment page. In GA4 you can list such domains as unwanted referrals. Check your top referrers monthly.
6. Consent changes. If you change your banner, consent rates (and therefore measured traffic) change. Write the date of every banner change in your log, or you will misread the trend.
7. Annotations. Keep a simple change log: date, what changed (new theme, price change, banner change, campaign start, tracking change). GA4 offers annotations in some reports; a spreadsheet works everywhere.
If a number moves dramatically overnight without a real-world cause, assume a measurement problem first. A conversion rate jumping from 1.6% to 4.1% is almost never good news; it is usually a duplicate event or a broken session count.
Let Claude do the first pass
If your shop runs on the platform, Claude can compare your shop's own numbers with what you see in analytics.
Call get_shop_analytics for my shop [shop name] for each of the last four weeks and list visits, orders and revenue per week. I will paste my analytics tool's numbers for the same weeks below: [paste sessions and purchases per week]. Calculate per week which share of orders my analytics captured, and flag any week where the share moves by more than 10 percentage points. Suggest the three most likely causes for each flagged week and how I can check them. Change nothing in the shop.
Here is my funnel data for the last four weeks, split by device: [paste table with counts per step]. Calculate the step conversion rates, the absolute number of visitors lost per step, and rank the steps by visitors lost. For the top three, list possible causes I should investigate with heatmaps, recordings or a user test, and tell me which differences are too small to be meaningful at these volumes.
Build your funnel (in your analytics tool, Pulse or a spreadsheet) for the last four weeks, split by device. Write down the step with the largest absolute loss. Then run the reconciliation check: one week of analytics purchases or sign-ups versus your own records, with the captured percentage. Both go into your measurement plan.
This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.