TapCub is live — analytics, insights and live chat, free on one platform
Analytics

How to Analyze Customer Data: A Five-Step Workflow With a Worked Example

How to analyze customer data in five steps: set the question, take stock of behavior data, clean it, segment people and compare segments on one funnel. Worked store example with the fix sized in orders.

Xu An Published Nov 23, 2026 10 min read Analytics
Sample data: 189 of 3,000 returning visitors ordered against 175 of 7,000 first-time visitors. Both segments complete 50.0% of checkouts, so the gap sits at product view and add-to-cart.Sample data

To analyze customer data, work in five steps: write one decision question, list the behavior data you already collect, clean bots and internal traffic out, split people into two to four segments and compare them on the same funnel. In the sample, checkout looks like the leak, but both segments complete 50.0% of checkouts; the gap sits earlier.

What you will learn

  • Start with a decision, not a tool: a group, a metric and what you would change
  • Clean first: in the sample, skipping 2,400 bot and internal sessions makes conversion look 19.4% lower
  • Compare segments on one funnel; the blended funnel hid that first-time visitors lose people at product view and add-to-cart, not checkout

What is the simplest way to analyze customer data?

Analyze customer data by working in five steps: start with one decision you need to make, take stock of the behavior data your site already collects, clean it, split people into segments, and compare the segments on the same funnel. The comparison tells you which step to fix and what the fix is worth. Everything else (dashboards, models, tools) is optional until those five steps are done.

StepQuestion it answersOutput
1. QuestionWhat decision will this change?One sentence, one metric
2. InventoryWhat do we already collect?A list of data groups and fields
3. CleanIs this count real people?A trustworthy base number
4. SegmentWho behaves differently?Two to four named groups
5. Compare and actWhere do they differ, and what is it worth?A ranked fix with a size estimate

This guide uses a small online store as the example, with sample data you can recompute. For a wider overview of customer analytics as a discipline see customer data analytics; for what to do with retention numbers see customer retention analytics.

Step 1: Which decision are you trying to make?

Analysis without a decision produces charts. Write the question so it ends in an action and a number:

  • Weak: "What do our customers do?"
  • Better: "Why do first-time visitors order at less than half the rate of returning ones, and which step should we fix first?"

A good question has three parts: the group (first-time visitors), the metric (orders per visitor) and the decision (which step to fix first). If you cannot say what you would do differently depending on the answer, pick a different question. Keep it to one question per analysis; a second question is a second analysis.

Step 2: What customer data do you already have?

Most sites already hold enough behavior data for the first analysis. List it before you buy or collect anything:

Data groupTypical fieldsQuestions it answers
SourceReferrer, UTM campaign, landing pageWhere do people come from?
BehaviorPages viewed, events, time on siteWhat do they do?
TransactionsOrders, value, products, refundsWhat do they buy?
IdentityEmail, account id, sign-up dateWho is it, are they returning?
ConversationsChat messages, support ticketsWhat do they ask?
DeclaredPreferences, survey answersWhat do they say they want?

Collect only what supports your question. Under the GDPR, personal data must be "adequate, relevant and limited to what is necessary" for the purpose (Article 5(1)(c)), and a field with no question behind it is a liability. For the data-collection side see customer data collection.

Step 3: How do you clean the data before counting?

A segment comparison built on dirty counts gives confident wrong answers. Check four things:

  1. Bots. Remove crawlers and automated visits from visitor and conversion counts.
  2. Internal traffic. Exclude your own team's visits and test orders.
  3. Duplicates and identity. One person on two devices is two visitors until they log in; decide which unit you count (visitor, user, account) and keep it fixed.
  4. Time and period. Use one time zone and compare equal periods (full weeks, not a week against a partial one).

Sample data for the store: the raw log shows 12,400 sessions in the month. Bots account for 1,600 and internal and test visits for 800, so the base is 12,400 − 1,600 − 800 = 10,000 real visitor sessions. If you had skipped the cleaning, every rate would have a denominator 24% too big (12,400 ÷ 10,000 − 1) and conversion would look 19.4% lower than it is (1 − 10,000 ÷ 12,400).

Also check data retention. Some tools keep event-level data for a limited period (Google Analytics 4, for example, offers 2 or 14 months for event-level data in standard properties), so an analysis that needs a longer window must be built before the old data expires.

Step 4: How do you split customers into segments?

A segment is a rule that selects people, written as "did or did not do X, within a time window". Start with segments that follow from your question and keep them to two to four:

SegmentRule (sample)Why it is useful
First-time visitorsFirst session in the periodShows what a new visitor finds hard
Returning visitorsHad an earlier sessionA baseline of people who know you
BuyersAt least one order in 90 daysRetention and repeat-purchase questions
High-intent browsers3+ product views, no orderCandidates for a nudge or a chat

Three rules keep segments honest. They must be mutually exclusive for the comparison (a visitor is first-time or returning, not both). They must be big enough: under about 100 people the percentages swing wildly. And anonymous visitors cannot be tracked as individuals across visits, so a segment built on identity covers only the people you can identify. The same idea carried over time is a behavioral cohort; for more on segmentation, see customer segmentation analysis.

StepQuestion it answersOutput
1. QuestionWhat decision will this change?One sentence, one metric
2. InventoryWhat do we already collect?Data groups and fields
3. CleanIs this count real people?A trustworthy base number
4. SegmentWho behaves differently?Two to four named groups
5. Compare and actWhere do they differ, and what is it worth?A ranked fix sized in orders

One analysis, one question. A second question is a second analysis.

Step 5: How do you compare segments on the funnel?

Run the same funnel for each segment, with the same steps and the same period. Sample data for the 10,000 cleaned sessions, split 7,000 first-time and 3,000 returning:

StepFirst-time visitorsStep rateReturning visitorsStep rateAll visitorsStep rate
Visited7,000n/a3,000n/a10,000n/a
Viewed a product3,50050.0%2,10070.0%5,60056.0%
Added to cart70020.0%63030.0%1,33023.8%
Started checkout35050.0%37860.0%72854.7%
Ordered17550.0%18950.0%36450.0%
Visit-to-order2.5%6.3%3.64%

Check: 175 ÷ 7,000 = 2.5%; 189 ÷ 3,000 = 6.3%; 364 ÷ 10,000 = 3.64%. Read it like this:

  • The blended funnel loses half of the people who start checkout, which looks like a checkout problem. The segments say it is not: both groups complete 50.0% of checkouts. The difference between them sits earlier, in viewing a product (50.0% vs 70.0%) and adding to cart (20.0% vs 30.0%).
  • So the first question becomes "why do new visitors rarely open a product and add it to cart?", which points at landing pages, navigation and product pages, not payment.
  • The cart-to-order rate in the blended funnel is 364 ÷ 1,330 = 27.4%, an abandonment of 72.6%. Baymard Institute's compilation of 50 studies reports an average documented cart abandonment of 70.22%, but definitions differ between studies, so use it for context, not as a target.
app.tapcub.com

Visit-to-order rate by segment

sample, 10,000 sessions
Returning visitors6.3%
All visitors3.64%
First-time visitors2.5%
Sample data
Sample data: 189 of 3,000 returning visitors ordered against 175 of 7,000 first-time visitors. Both segments complete 50.0% of checkouts, so the gap sits at product view and add-to-cart.

How do you turn the gap into a decision?

Turn the gap into orders, then decide. Two candidate fixes for first-time visitors:

FixAssumptionExtra orders per monthCalculation
Raise product-view rate from 50% to 60%Later steps unchanged+357,000 × 60% × 20% × 50% × 50% = 210; 210 − 175
Raise add-to-cart from 20% to 30% (the returning rate)Later steps unchanged+87.53,500 × 30% × 50% × 50% = 262.5; 262.5 − 175

The add-to-cart fix is worth about 2.5 times the product-view fix. Pick the one that is cheaper per extra order, ship it, and re-run the same comparison in four weeks. These are targets, not predictions; a gap between segments shows where to look, not that closing it is possible, because returning visitors differ in intent as well as in experience. If you can, check with a test.

What are the common mistakes?

  • Starting with the tool instead of the question.
  • Comparing uncleaned counts, so bots and internal visits change the answer.
  • Averaging across segments, which hides which step differs.
  • Slicing into groups of ten, then reading noise as insight.
  • Treating a gap as a cause. Returning visitors are not "new visitors with better design".
  • Never writing down the action. An analysis that ends with "interesting" has not finished.

How do you run this analysis in TapCub?

For the store example, in TapCub:

  1. Check the base. Web analytics › Overview gives sessions and visitors; bots appear only under Web analytics › Bots, so they are not in the visitor base. Exclude your own traffic first (see exclude internal traffic).
  2. Define segments. Under All-platform analytics › Users › Segments & tags, create rule segments from "did / did not" conditions and first seen. Anonymous visitors have no profile and never enter a segment, so identify signed-in users with tapcub.login if you want account-level groups.
  3. Build the funnel. Open All-platform analytics › Behavior › Behavior analysis, choose Funnel, add the four steps and apply each segment to it; see build a funnel and create user segments.
  4. Record the decision. Add the change date under Configuration › Annotations and re-run the same funnel after four weeks.

TapCub does not run A/B tests or split traffic, so use it to find the gap and measure results; test the fix with whatever experiment tool you already use.

FAQ

How do you analyze customer data step by step?

Write one decision question, list the data you already collect, clean bots and internal traffic out of the counts, split customers into two to four segments, compare them on the same funnel and size the fix in orders.

What tools do I need to analyze customer data?

A web analytics tool with funnels and segments is enough to start. A spreadsheet works for small data. Add a warehouse or customer data platform only when you must join data from several systems.

What is the difference between a segment and a cohort?

A segment is a group defined by a rule at a point in time. A cohort is a segment followed over time from a shared starting event, such as first purchase, to see how it behaves later.

How much data do I need?

Enough that each segment has at least a few hundred people, so percentages do not swing on a handful of cases. If a segment is smaller, widen the period or combine segments.

What customer data should I avoid collecting?

Anything that does not support a question you will act on. Under privacy law such as the GDPR, collected data should be limited to what is necessary for the purpose, so unused fields are risk without value.

Sources

Filed underAnalytics

Was this article helpful?

We use your answers to fix and expand this page.

Xu An

Customer Experience Consultant

Writes about live chat, visitor conversations, and self-service, sharing practical ways to make customer communication clearer and more effective.

Compare segments on a funnel

Build segments and run the same funnel for each to see which step to fix first.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics