Skip to content
ML Academy

Statistics, experimentation, causal reasoning · insight-1032

Audit what is logged for each arm when a variant changes the tracking, not only the product

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, Data analyst, ML engineer
Industries
e-commerce, saas, aviation

Summary: situation, action, reason, boundary

  1. Situation

    A new checkout variant replaces a page, and its event tracking was rebuilt by a different team.

  2. Action

    Check sample ratio and the counts of every key event per arm before reading outcomes, compare client and server counts for the same actions, and keep a metric computed from a source independent of the changed code.

  3. Reason

    Sample ratio mismatches are symptoms of many data-quality problems, and telemetry that a variant adds, removes or delays changes which users produce events at all.

  4. Boundary

    UI rebuilds, new clients and any test that touches instrumentation.

Symptom or risk

The variant appears to lose or gain conversions because events are dropped, double-fired or delayed, and the difference is a measurement artefact.

Exceptions

Server-side outcomes recorded outside the variant's code path.

Trade-offs

Parallel logging costs engineering time.

Pitfalls

Comparing client-side events across arms when only one arm uses a new client library.

Lessons and concepts

Claims and their sources