Skip to main content

A Data Metrics System for IM Customer Service: One North Star, a Six-Layer Tree, One Attribution Chain

· 4 min read
Jack Ning
Maintainer of Bytedesk

"Our bot resolution rate is 60%"—that sentence alone carries almost no information. How is 60% computed? What is the denominator? How does it relate to other metrics? Any number detached from a metric system can be interpreted arbitrarily. The hard part of smart customer service analytics is never a shortage of metrics—it is too many metrics, no structure, and no attribution.

This is the twelfth article in an experience-sharing series on "AI customer service product and engineering practice," drawn from hands-on practice as an AI Product Manager focused on IM intelligent customer service at a local-life services platform. In this post I want to share how to build the data metrics system for IM customer service—constructing a metric tree around message delivery, session response, Agent penetration, task completion, human transfer, and service cost, choosing the north-star metric, and establishing attribution across business scenarios.

The heart of it is systematic thinking—organizing scattered metrics into a tree that drills top-down.

Illustration: One north star, a six-layer metric tree, and attribution

Three Key Points in Metrics-System Design​

  1. Build a layered metric tree (north star → level-1 metrics → process metrics), instead of listing dozens of flat metrics.
  2. Balance user-experience and cost-efficiency metrics so neither is sacrificed.
  3. Establish metric attribution across business scenarios—different businesses have different baselines; one size does not fit all.

Overall Approach​

My metric system is "one north star, a six-layer tree, one attribution chain."

Step 1: Choose the North Star​

I recommend "real problem resolution rate"—the same problem is not re-consulted within N days and did not transfer to a human. Three reasons:

  1. It represents both user experience and service effectiveness;
  2. It cannot easily be inflated by perfunctory sessions—fallback scripts do not move this metric;
  3. It correlates strongly with business reputation.

Cost metrics serve as constraints, not the north star, preventing teams from sacrificing experience to cut costs. This is a trap many teams have hit: making "cost per service" the north star, then tightening human transfer until satisfaction collapses.

Step 2: Build the Six-Layer Metric Tree​

LayerMetricsRole
Message deliveryArrival rate, delivery latencyFoundation guarantee
Session responseFirst-response time, average response timeExperience
Agent penetrationShare of sessions AI takes, share AI resolves independentlyPenetration ≠ resolution—keep them separate
Task completionTask completion rate, real resolution rateValue
Human transferTransfer rate, first-contact resolution after transfer, wait timeCollaboration
Service costCost per service, agent productivityEfficiency

Special note: Agent penetration must separate "sessions taken" from "sessions independently resolved"—AI taking 80% of sessions but independently resolving 30% is a completely different health profile from taking 50% and resolving 45%.

Step 3: Build the Attribution Chain​

When the north star degrades, drill down the funnel: real resolution drops → is it penetration falling (AI taking fewer sessions) or completion falling (taking sessions but failing) → drill further into intent accuracy, tool success rate, and transfer timing.

Set automatic anomaly alerts with attribution on every layer—problems should surface the same day, not at the weekly meeting.

Step 4: Calibrate per Scenario​

Different business lines have different baselines: delivery is time-sensitive, hotels are policy-heavy. Keep the tree unified but configure targets and weights per business.

Use per-business contribution analysis to read the aggregate—what is a given business's impact coefficient on the overall resolution rate—to avoid "small-business volatility hijacking the aggregate optimization direction."

Practice in Weiyu​

The session statistics module of Weiyu, the open-source AI customer service system (GitHub, website), covers most layers of this tree: message- and session-level statistics support delivery and response metrics; the bot-vs-human split supports penetration and transfer metrics; agent workload statistics support productivity; VOC satisfaction ratings link to sessions, cross-validating the "real resolution" definition; the QC module calibrates process metrics manually. On top of this raw data, teams can build their own metric tree and attribution dashboards following this framework.

Takeaways​

  • Choose real resolution as the north star—not raw resolution or cost—it represents experience and effectiveness and resists script inflation.
  • Six layers: delivery, response, penetration, completion, transfer, cost—cost is a constraint, not a goal.
  • Penetration ≠ resolution: share of sessions taken and share independently resolved must be tracked separately.
  • Attribution drills down the funnel with anomaly alerts per layer—detect and locate problems same-day.
  • Unified tree, per-business targets; use contribution analysis so small businesses do not skew the aggregate.