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

What is diagnostic analytics? Methods and a worked example

Diagnostic analytics answers why something happened: it breaks a change in a metric down by segment and time to find the cause. Techniques, a six-step method and a worked contribution analysis.

Emma Collins Reviewed by Su He Also called root cause analysis Last updated Nov 7, 2026 Glossary

Quick answer

Diagnostic analytics is the type of analysis that explains why something happened, by breaking a change in a metric down by segments, time and related events to find the factors that caused it.

Formula: Contribution of segment i = change in segment i ÷ total change

What is diagnostic analytics?

Diagnostic analytics is the type of analysis that answers why did this happen? It takes a change in a metric (sign-ups down 18%, churn up two points) and breaks it down by segment, time and related events until the cause is narrow enough to act on.

It is usually described as the second of four types of analytics:

TypeQuestionExample
DescriptiveWhat happened?Sign-ups fell 18% last week
DiagnosticWhy did it happen?A paid campaign stopped spending
PredictiveWhat is likely to happen?Sign-ups will stay 15% lower until it restarts
PrescriptiveWhat should we do?Restart the campaign with a budget cap alert

More on all four in types of data analytics.

Techniques

  • Drill-down and breakdowns: split the metric by channel, country, device, page, plan, version.
  • Contribution analysis: how much of the total change each segment explains.
  • Metric trees: decompose the metric into its drivers (sign-ups = visitors × sign-up rate) and see which driver moved.
  • Segmentation and cohorts: did new users change, or existing ones?
  • Comparison with a control period: same weekday last week, same period last year.
  • Anomaly detection: flag which segments moved more than usual.
  • Root-cause methods: the "5 whys" from the Toyota Production System, asked of data rather than of people.

A six-step method

  1. Confirm the change is real. Check tracking changes, deploys, bot traffic and data delays before analysing behaviour. Many "drops" are instrumentation.
  2. Size it against normal variation. Is −18% outside the usual weekly range? Compare with the same weekday and with seasonality.
  3. Decompose the metric. Is it fewer visitors, a lower conversion rate, or both?
  4. Break down and rank contributions. Find where the change is concentrated.
  5. Form and test hypotheses. Look for an event that explains the concentrated segment: a release, a campaign change, a competitor, an outage. Check it with other data, including support chats.
  6. Act and verify. Fix, then watch the same breakdown to see the segment recover.

A worked example: contribution analysis

Sample data: weekly conversions fell from 2,000 to 1,640 (−360, −18%). Breakdown by channel:

ChannelLast weekThis weekChangeContribution
Paid search700410−29080.6%
Organic search620570−5013.9%
Direct400360−4011.1%
Email280300+20−5.6%
Total2,0001,640−360100.0%

Contribution = channel change ÷ total change; for paid search, −290 ÷ −360 = 80.6%. Email grew, so its contribution is negative: it offset part of the drop. Drilling into paid search by campaign shows one campaign went from 240 conversions to 0 on Tuesday: its budget had run out. Restarting it explains most of the drop; the smaller organic and direct declines are within normal weekly variation and need no action yet.

Pitfalls

  • Mix shift. Every segment's rate can rise while the total falls, because traffic moved to a lower-converting segment. This is Simpson's paradox; check both rates and volumes.
  • Slicing until something appears. With enough dimensions, some segment will look unusual by chance. Prefer dimensions you would have checked anyway, and treat surprises as hypotheses.
  • Stopping at the first explanation. A paused campaign may explain 80%; the other 20% might be the start of a real trend.
  • Correlation taken as cause. Two lines moving together after a release do not prove the release caused it.

Diagnostic analytics in TapCub

  • All-platform analytics › Operations › AI Assistant › Why did it change explains a metric change against the previous period or the same period last year. It splits by channel, referrer domain, country, device, entry page, platform and related dimensions, one or two levels deep, and ranks each value by contribution (that value's change ÷ the total change), the same calculation as the table above. See ask the AI assistant.
  • Monitors with a forecast band or anomaly condition flag unusual moves so you start diagnosing early, and annotations record releases and campaigns that step 5 asks about.
  • For traffic drops specifically, the checklist in sudden drop in website traffic covers tracking and SEO causes.

Sources

  • Davenport, T. H. and Harris, J. G. (2007). Competing on Analytics: The New Science of Winning. Harvard Business School Press.
  • Ohno, T. (1988). Toyota Production System: Beyond Large-Scale Production. Productivity Press.
  • Pearl, J. and Mackenzie, D. (2018). The Book of Why: The New Science of Cause and Effect. Basic Books.

Was this explanation clear?

We use your answers to fix and expand this page.

Emma Collins

Product Analyst

Focuses on event analysis, conversion funnels, and retention, using clear metric definitions and structured analysis to explain product performance.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is an example of diagnostic analytics?

Sign-ups fell 18% week over week. Breaking the drop down by channel shows 80% of it came from paid search, and drilling into paid search shows one campaign stopped spending. That chain is diagnostic analytics.

How is diagnostic analytics different from descriptive analytics?

Descriptive analytics reports what happened (sign-ups fell 18%). Diagnostic analytics explains why (a paused campaign). Predictive and prescriptive analytics then look ahead.

What techniques does diagnostic analytics use?

Drill-down and breakdowns by dimension, contribution analysis, segmentation and cohorts, correlation, comparison with a control period, anomaly detection and root-cause methods such as the 5 whys.

Can diagnostic analytics prove causation?

Not on its own. It narrows down likely causes from observational data. Proving cause needs an experiment or strong evidence that rules out alternatives.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

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