Product Analytics, KPIs and Outcomes
Count completed, verified outcomes and what they cost, not conversations, clicks or the agent's own claim of success.
Define a successful outcome that a system or person can verify. Track quality, adoption, trust signals, cost and harm together. Compare with a baseline or control group before claiming productivity gains. Self-reported time saved is a weak measure on its own.
What you will learn: event design, outcome definitions, a metric tree, adoption and retention, trust signals, unit cost, productivity evidence, experiments, guardrail metrics and reporting.
Prerequisites: What to Measure: Metrics, Dashboards and SLOs and Task, Tool and Planning Metrics.
The example runs in November 2026 with Python 3.13 and only the standard library. All sessions are invented. Study descriptions come from sources found on November 28, 2026.
A metric tree
The section overview groups measures into task, user, business and risk. The tree covers the first three plus system health; risk appears below as guardrail metrics.
Define the outcome first
| Product | Activity (weak) | Verified outcome (better) |
|---|---|---|
| Support agent | Chats closed | Issue resolved with no repeat contact in a set window |
| Coding agent | Lines generated | Change merged, tests pass, not reverted |
| Finance agent | Documents processed | Entry matched and accepted by reconciliation |
| Research agent | Reports produced | Claims supported by sources and used in a decision |
| Scheduling agent | Messages sent | Meeting held at the agreed time |
Write the definition, the data source, the window and the exclusions before launch. Changing them later makes trends meaningless.
Events worth recording
- Task started, with type and entry point.
- Plan shown, edited, approved or rejected.
- Tool action requested, succeeded or failed.
- Result delivered, corrected, undone or abandoned.
- Handoff to a person, with reason.
- Outcome confirmed by the system of record.
- Version of model, prompt and tools.
Collect only what you need, protect it and set retention. Raw conversations often contain personal data. Safe logging and data protection apply.
Activity against outcomes
The program compares message counts and agent claims with confirmed results across ten invented sessions.
"""Compare activity metrics with verified outcomes (invented sessions)."""
# session: user, day, messages, agent said done, system confirms, human help, cost
S = [
("u1", 1, 4, True, True, False, 0.10), ("u2", 1, 12, True, False, False, 0.42),
("u2", 2, 9, True, False, True, 0.35), ("u3", 2, 3, True, True, False, 0.08),
("u4", 3, 15, False, False, True, 0.55), ("u5", 3, 5, True, True, False, 0.12),
("u1", 9, 4, True, True, False, 0.09), ("u6", 4, 11, True, False, False, 0.40),
("u6", 6, 7, True, True, False, 0.22), ("u7", 5, 2, True, True, False, 0.06),
]
KEYS = ("user", "day", "messages", "claimed", "confirmed", "helped", "cost")
rows = [dict(zip(KEYS, r)) for r in S]
def returned_unresolved(row, window=7):
"""A later session by the same user soon after an unconfirmed one."""
return not row["confirmed"] and any(
other["user"] == row["user"] and 0 < other["day"] - row["day"] <= window
for other in rows)
n = len(rows)
verified = [r for r in rows if r["confirmed"] and not r["helped"]]
print(f"sessions {n}, messages {sum(r['messages'] for r in rows)}")
print(f"agent says done {sum(r['claimed'] for r in rows) / n:.0%}")
print(f"confirmed without help {len(verified) / n:.0%}")
print(f"came back unresolved {sum(map(returned_unresolved, rows))} sessions")
avg = lambda group: sum(r["messages"] for r in group) / len(group)
print(f"messages: success {avg(verified):.1f}, "
f"other {avg([r for r in rows if r not in verified]):.1f}")
total = sum(r["cost"] for r in rows)
print(f"cost per session {total / n:.2f}, per verified outcome {total / len(verified):.2f}")
Output:
sessions 10, messages 72
agent says done 90%
confirmed without help 60%
came back unresolved 2 sessions
messages: success 4.2, other 11.8
cost per session 0.24, per verified outcome 0.40
The agent reports success in 90 percent of sessions, while 60 percent are confirmed without help. Unsuccessful sessions involve far more messages, so a rise in message volume could signal trouble. Cost per verified outcome is much higher than cost per session because failed work still costs money. Ten invented rows illustrate the calculations only. With real data, also report counts and uncertainty, allow the outcome window to close before computing and remember that some good outcomes may have no system confirmation.
Adoption and retention
| Measure | Question | Trap |
|---|---|---|
| Eligible users who tried it | Do people find it? | Forced use inflates it |
| Weekly users who return | Does it stay useful? | Novelty fades after launch |
| Share of eligible tasks handled | Is it part of the work? | Easy tasks chosen first |
| Time to first verified success | Is onboarding effective? | Counting unverified results |
| Abandonment by step | Where does it fail people? | Missing silent exits |
Signals about trust
Trust cannot be read from one number. Combine behavior with research.
| Signal | May indicate |
|---|---|
| Heavy correction of outputs | Quality problem or unclear requirements |
| Near-zero correction with known error rate | People are not checking |
| Users redo the work by hand | Low confidence |
| Requests for a person | Limits reached or discomfort |
| Memory or permissions switched off | Privacy concern |
| Survey ratings | Perception, which can differ from performance |
Seeded checks help: in controlled research, include a known harmless error and see whether people notice. Tell participants afterward. Trust design gives more.
Cost per verified outcome
Add model and tool charges, infrastructure, human review time, rework, handoffs and ongoing maintenance, then divide by verified outcomes. Report it by task type, since an average can hide an expensive minority. The cost model and agent FinOps show attribution.
Guardrail metrics
- Policy violations and blocked actions.
- Incidents and near misses.
- Complaints and appeals.
- Error severity, not only error count.
- Differences between user groups or languages.
- Staff workload in review queues.
Set limits that stop a rollout even when the main metric improves.
Productivity is hard to measure
Evidence from software development shows why care is needed. In an early-2025 randomized trial, METR had 16 experienced open-source developers complete 246 tasks in their own repositories. With AI tools allowed, tasks took about 19 percent longer, although the developers believed afterward that they had been about 20 percent faster.
That result should not be generalized. It concerned particular people, tools and codebases at a particular time. In a February 2026 update, METR said that data from a newer experiment gave an unreliable signal, largely because of which developers and tasks took part, and that it likely understated the speedup from newer tools. The durable lesson is about method: perception can differ sharply from measurement, and study design matters.
Look beyond the individual task
The 2025 DORA report on AI-assisted software development, based on survey and interview research, describes AI mainly as an amplifier of an organization's existing strengths and weaknesses. Faster drafting may create queues in review, testing or release. Measure the whole flow from request to value, plus quality afterward.
Making fair comparisons
| Design | Strength | Weakness |
|---|---|---|
| Randomized by task or user | Supports causal claims | Cost, spillover and refusal to go without |
| Staggered rollout by team | Practical comparison group | Teams differ |
| Before and after | Simple | Seasonality and other changes |
| Matched sample review | Compares quality directly | Selection effects |
| Self-report | Captures experience | Biased estimates of time |
Decide the primary measure, sample and duration in advance. Include learning time and look at distributions, since gains for some tasks can coincide with losses for others.
From time saved to value
- Measure time per task, including checking and rework.
- Multiply only by tasks actually performed.
- Ask where the freed time goes.
- Count value when output, quality, speed or cost visibly changes.
- Subtract running and change costs.
- State assumptions and a range.
Minutes saved across many people do not automatically become money. The business case turns these inputs into scenarios.
Metrics that get gamed
| Target | Gaming behavior | Counter-metric |
|---|---|---|
| Deflection rate | Hard-to-reach humans | Repeat contact and satisfaction |
| Handle time | Rushed or incomplete answers | Verified resolution |
| Acceptance rate | Easy or trivial suggestions | Later corrections |
| Automation share | Risky cases pushed through | Severity of errors |
| Usage targets | Pointless use | Outcome per use |
Reporting
A useful monthly report fits on a page: outcomes with trend and counts, quality by task type, cost per outcome, harm indicators, what changed in the system and what decision is requested. Mark estimates as estimates. Show where data is missing. Avoid combining unlike measures into one score that nobody can interpret. Review definitions twice a year and annotate any change.
A measurement plan
| Stage | Do |
|---|---|
| Before build | Record baseline time, quality, cost and volume |
| Pilot | Verify outcomes by hand on a sample; test instrumentation |
| Rollout | Compare groups; watch guardrails daily |
| Operation | Monitor drift, sample reviews and cost |
| Review | Continue, change or retire based on agreed rules |
Reviewing a sample well
Human review is the usual way to verify outcomes that no system confirms. Make it trustworthy.
- Draw a random sample from all completed sessions, including abandoned ones.
- Add targeted samples for high-risk task types, and report them separately so they do not distort the overall rate.
- Write a rubric with examples of correct, partly correct and harmful results.
- Have two reviewers grade some of the same items and discuss disagreements.
- Hide the product version from reviewers when comparing versions.
- Publish the number reviewed and an interval, not only a percentage.
The interval calculation on the pilot page shows why a few dozen reviews leave wide uncertainty.
Segment before you conclude
| Segment | What an average can hide |
|---|---|
| Task type | Simple tasks succeed while valuable ones fail |
| User experience | Experts correct errors that novices accept |
| Language or region | One group receives worse results |
| Entry point | One surface sends unsuitable requests |
| Version | A release improved one thing and broke another |
| Time | Month-end or seasonal load behaves differently |
Small segments are noisy and can identify individuals, so set a minimum group size before showing them.
Tie metrics to decisions
Every number on a dashboard should answer someone's question. Write beside it who looks, how often and what they would do if it moved. For example: if verified resolution drops below its floor for a week, the product owner narrows the task list and the engineering owner reviews failures. If nobody would act, remove the chart or move it to a diagnostic view.
Check the instrumentation
Analytics are software and can be wrong. Before trusting a chart, test it.
| Check | Method |
|---|---|
| Events fire once | Replay known sessions and compare counts |
| Retries do not inflate success | Use task identifiers and deduplicate |
| Abandoned sessions are included | Close them after a stated timeout |
| Outcome joins are complete | Report the share of sessions with unknown outcome |
| Test traffic is excluded | Mark it at the source |
| Versions are attached | Reject events without them in testing |
Unknown is a legitimate outcome category. Silently counting unknowns as success is one of the easiest ways to overstate value, and silently dropping them can be just as misleading.
An illustrative monthly summary
For an invented invoice agent, a report might say: 1,200 eligible items, 780 routed through the agent, 610 matches confirmed by reconciliation, 40 still inside the verification window, 90 corrected by clerks, 40 handed off. No payment errors were found in the reviewed sample, whose size is stated. Cost per confirmed match is compared with the manual baseline including review time. One model update occurred mid-month, so results are shown before and after. The decision requested is whether to add a second supplier group. Every number here is made up to show the shape of a useful report.
Running a safe experiment
- State the question, primary measure, guardrails and smallest difference worth acting on.
- Estimate how many tasks are needed, with help if the decision is important.
- Assign by user or team when people would otherwise carry learning between groups.
- Keep the comparison running for the planned period; do not stop at the first favorable day.
- Stop early for harm, using rules written beforehand.
- Report results including those that showed no difference.
Experiments that affect customers, employees or regulated decisions may need review, notice or consent. Some actions should not be tested on people at all; use offline cases or simulation for them. When randomization is impossible, say plainly that the comparison shows association and list other explanations.
Keep the report format stable from month to month so readers can compare it. When a definition or data source changes, say so at the top and show both versions for one period if possible.
Common mistakes
| Mistake | Consequence | Instead |
|---|---|---|
| Counting conversations as value | Failure looks like success | Verified outcomes |
| No baseline | Unprovable claims | Measure first |
| Trusting the agent's status | Inflated success | System confirmation |
| Ignoring review time | Overstated savings | Count all human effort |
| One blended average | Weak segments hidden | Segment results |
| Generalizing one study | Poor decisions | Test in your setting |
Checklist
- Outcome definitions, sources and windows are written down.
- A baseline exists.
- Events include versions for attribution.
- Cost per verified outcome includes people.
- Guardrail metrics can stop a rollout.
- Causal claims rest on a suitable comparison.
- Personal data in analytics is minimized and retained briefly.
Frequently asked questions
What single metric should we use?
Use verified outcomes as the headline, with cost, quality and harm beside it. One number alone invites gaming.
How do we verify outcomes without system confirmation?
Review a random sample by hand with a written rubric, report the sample size and look for downstream signals such as rework.
Are surveys useless?
No. They reveal satisfaction, effort and concerns. Do not treat estimated time saved as a measurement of time saved.
When should metrics change?
When the task or goal changes, or a metric is being gamed. Version definitions and show the break in the trend.
References
- METR: early-2025 AI and experienced developer productivity
- METR: February 2026 update on the experiment design
- DORA: State of AI-assisted Software Development 2025
Where to go next
Strategy, Roadmap and Use Case Prioritization
Choose which outcomes to pursue.
Continuous Evaluation, Statistics and Scorecards
Connect product signals to testing.
Requirements, Proof of Concept and Pilot to Production
Turn metrics into release decisions.