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

PostHog iOS Replay Recording Status Tracking

PostHog iOS replay recording status tracking: SDK 3.92.0 fixes $recording_status after background timeouts and flushes snapshots on stop.

· 3 min read

Session replay is only useful if you know which sessions were actually recorded. If a property says a session is recording when it stopped minutes ago, every analysis built on it is wrong. You end up asking why a replay is missing for a user you believed was captured, and nobody can answer.

PostHog iOS SDK 3.92.0 fixes two related gaps. First, $recording_status no longer reports active after a backgrounded session times out. Second, calling stopSessionRecording() now sends any snapshots already recorded, instead of leaving them behind. Both change what your replay coverage numbers mean.

Data Points to Track

  • recording_status: the $recording_status value on each event
  • session_id: the session the event belongs to
  • replay_available: whether a replay exists for that session
  • background_duration: seconds the app spent in the background
  • session_timed_out: whether the session ended while backgrounded
  • stop_called: whether stopSessionRecording() was used
  • snapshots_flushed_on_stop: whether recorded data arrived after a manual stop
  • app_version: release the user was on
  • posthog_ios_version: SDK version in use
  • entry_point: how the session started, such as launch or push open

Setup Steps

  1. Upgrade the PostHog iOS SDK to 3.92.0 or later.
  2. Record the old behaviour. Note your replay coverage for the two weeks before the upgrade.
  3. Test a timeout. Start a session, background the app until it times out, then return.
  4. Check the property. Confirm $recording_status is no longer active on events from the stale session.
  5. Test a manual stop. Call stopSessionRecording() mid-session and confirm the earlier part of the replay is visible.
  6. Add a breakdown of events by recording status.
  7. Add a coverage metric: sessions with a replay divided by all sessions.
  8. Annotate the upgrade date on your dashboards.

Actionable Insights

Expect your measured replay coverage to move. If it falls, the earlier figure was inflated by sessions wrongly marked active. The new number is the honest one, so reset your target against it.

Compare sessions that ended with a background timeout against those that did not. A large share of timeouts suggests users switch away often, which may point to a slow step, a verification code, or an external payment screen.

If you stop recording for sensitive screens, check that the earlier part of the session now appears. Before the fix, that data could be lost, and a short replay may have been misread as a user who left quickly.

Filter replay searches by recording status. Support teams often hunt for a replay that never existed, and the status tells them quickly.

Common Pitfalls

Do not compare coverage before and after the upgrade without a note. The definition changed.

Do not assume a stop means nothing is sent. Earlier recorded data is now delivered, so check your privacy rules cover it.

Do not rely on one device. Test a real backgrounding cycle, not only the simulator.

Why Product Teams Should Care

Replay is a decision tool. When the status is accurate, you spend time watching sessions that exist and trust the coverage figure you report.