If you build order-status pages, support tooling or a shipments table, there is one carrier behaviour that will generate tickets forever unless you model it: the same scan text, written twice in a row, with a new timestamp.
Every support team reads that as "stuck". Most of the time it is the opposite.
The measurement
We looked at parcels tracked on 24hTrack over a 120-day window, kept only the ones that were eventually delivered and carried a real history (four scans or more), and took the longest run of back-to-back identical scan text on each.
| Longest run of identical scans | Share of delivered parcels |
|---|---|
| 1 (never repeats) | 43.1% |
| 2 in a row | 42.9% |
| 3 in a row | 13.0% |
| 4 in a row | 0.6% |
| 5 in a row | 0.2% |
| 6 or more | 0.2% |
Median longest run: 2. Nine in ten never exceed 3.
So 56.9% of parcels that arrived perfectly well repeated at least one line on the way. If a repeat implied failure, the majority of your successful deliveries would be failures.
Why carriers emit it
Four mechanisms, and they matter because they change what you should store:
- Batch processing. On consolidated cross-border lanes the parcel does not clear customs or get loaded on its own — it moves inside a container or air pallet handled as one unit. Until the unit is released there is nothing parcel-specific to write, so the last known status gets re-stamped.
- State published on a schedule, not events. Some feeds publish the shipment's current state on a poll interval. Each poll yields a row whether or not anything changed.
- Two systems describing one step. A forwarder and the destination carrier both narrate the same handover, in near-identical words, minutes apart.
- Genuine re-scans at one site. Arrival, then again at sort or re-palletisation.
One correction to the folklore while we are here: customs gets blamed for this, and on budget consolidated lanes it earns the blame. But across all parcels whose history mentions customs at all, only about 2.5% show a repeated customs line. It is a property of certain lanes, not of customs.
What this means for your code
Do not dedupe on (tracking_number, description). You will collapse a legitimate repeat and lose the timing signal that tells you how long a stage actually took. Dedupe on the carrier's own event id when there is one, or on (timestamp, description, location).
Do not drive "is it stuck?" off max(timestamp). That field moves during a repeat, so a stalled shipment can look healthy and a healthy one can look stalled. The honest signal is days since the wording last changed:
SELECT tracking_number, DATEDIFF(NOW(), MAX(changed_at)) AS days_since_new_wording FROM ( SELECT tracking_number, event_time AS changed_at, description, LAG(description) OVER (PARTITION BY tracking_number ORDER BY event_time, id) AS prev FROM tracking_events ) t WHERE prev IS NULL OR prev <> description GROUP BY tracking_number; Pick your alert threshold off the distribution, not off intuition. Given median 2 and p90 3, alerting on "3 identical lines" fires on roughly one in seven perfectly healthy parcels. A threshold on days since the wording changed — around seven for international — is far better behaved.
Expect the next real line to come from a different company. On cross-border orders the event that ends a repeated stretch is usually the destination carrier booking the item in under its own wording. If your schema has one carrier per shipment, that transition has nowhere to live.
Why we care
24hTrack (24htrack.com) is a free package tracker for 3,200+ carriers — paste any tracking number, the carrier is detected automatically, no sign-up. We also expose a REST API and an MCP server, so the same normalised status and full event timeline are available to apps and to AI assistants. Reading a lot of these histories is how the numbers above exist.
FAQ
Is a repeated scan ever a real problem?
Rarely on its own. Treat no new wording for about a week on an international shipment as the trigger, and escalate through the seller — they are the carrier's customer, your buyer is not.
Should I show repeated lines to end users?
Collapse them visually ("Processing — last updated X") but keep every row in storage. Users read a repeat as failure; your analytics needs the timing.
Does every carrier do this?
No — 43.1% of delivered parcels never repeat a line at all. It clusters by service type, so measure it per carrier before you tune thresholds.
Figures are shares measured on parcels tracked at 24htrack.com over a 120-day window; no absolute volumes. Written by the 24hTrack team, with AI assistance.

![Quadruped Foundations and System Architecture — Ch.02: Industrial Inspection Robots [EN]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fasslkpwqkfhscqaz0q95.png)
