Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

Amplitude Swift Upload Acknowledgement Tracking

Amplitude Swift upload tracking: 1.19.3 deletes acknowledged batches before callbacks run. Measure event delivery, retries and data loss on iOS.

· 3 min read

Your dashboard says 40,000 events arrived yesterday. Your app logged 43,000. Nobody noticed, because analytics loss rarely throws an error. It just makes every funnel a little smaller than the truth.

Amplitude-Swift 1.19.3 (8 October 2026) changed how uploads finish: acknowledged batches are now deleted before callbacks run, and interrupted uploads are diagnosed. In plain terms, the SDK is stricter about when an event batch counts as delivered. That makes delivery health something you can measure instead of guess.

Data Points to Track

  • events_logged: events your code asked the SDK to send
  • events_acknowledged: events the server confirmed
  • delivery_gap_pct: logged minus acknowledged, as a share of logged
  • upload_attempts: number of tries per batch
  • upload_interrupted: true when an upload ended mid-flight
  • upload_failure_reason: timeout, offline, server error or app suspended
  • batch_size: events per upload
  • queue_age_seconds: age of the oldest unsent event
  • sdk_version: Amplitude-Swift version in use
  • app_state_at_upload: foreground, background or terminating

Setup Steps

  1. Upgrade Amplitude-Swift to 1.19.3 or later. Skip 1.19.1, which was never published.
  2. Add a callback to your configuration that counts acknowledged and failed events.
  3. Keep your own counter of events logged, in a lightweight local store.
  4. Send a daily heartbeat event with both counters so you can compare them.
  5. Tag every event with sdk_version so old builds can be separated.
  6. Test interruptions: switch on airplane mode mid-upload, then background the app, and confirm events arrive later.
  7. Build a chart of delivery gap by version and by app state.
  8. Alert when the gap rises above your agreed threshold.

Actionable Insights

A gap that sits at a steady 1 to 2 percent is normal for mobile. A sudden jump after a release points to an SDK or configuration change, so check the version first.

If losses cluster in the “terminating” state, users are closing the app before the queue flushes. Flush on backgrounding rather than waiting for a timer.

High attempt counts with low failure counts suggest slow networks. Smaller batches may help.

Compare the gap across regions. Poor connectivity markets often look worse in your funnels purely because of lost events, not worse behaviour.

How to Interpret the Numbers

Treat delivery rate as a quality metric alongside crash rate. If you decide to ship a feature based on a drop in conversion, first rule out the possibility that events simply went missing on one platform or build.

Review the numbers weekly during the first month after any SDK upgrade. Keep a note of the version in your release log, so that a change in the gap can be matched to a change in the code.

Do not expect a perfect match. Users who uninstall the app with events still queued will always leave a small gap. What matters is that the gap is stable, small and explained.

Common Pitfalls

Do not count server-side totals alone. They cannot show what never left the device.

Do not rely on callbacks that run before acknowledgement. Check which version of the SDK you use.

Do not ignore very old app versions. They often carry the worst delivery rates.