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

PostHog Server SDK v1 Capture Migration Tracking

PostHog server SDK v1 capture migration tracking: upgrade Node, Python, Go and Rust SDKs and check no events are lost or doubled.

· 3 min read

On 19 November 2026 PostHog moved its server SDKs to the v1 capture pipeline: Node 6, Python 8, Go v2 and Rust 1.0. The new versions separate analytics and AI capture lanes, report a publish result for each event, and retry partial batches.

These are breaking releases. If your mobile app sends events from a backend, such as purchases, subscription renewals or webhook-driven events, an upgrade can change your numbers without any visible error.

Why This Metric Matters

Server-side events are often your most valuable data. They record revenue and account changes that the app cannot fake. If a migration drops a batch or sends one twice, your revenue and retention charts are wrong, and nobody notices until a finance review.

Partial batch retries add a new risk. A retried event that is not deduplicated can be counted twice.

Data Points to Track

Track these before, during and after the upgrade:

  • sdk_name and sdk_version on every server event ($lib, $lib_version)
  • events_sent per day from your server logs
  • events_received per day in PostHog
  • publish_result status for each event (accepted or failed)
  • retry_count per batch
  • capture_lane (analytics or AI)
  • uuid of each event, to check for duplicates
  • ingestion_delay_seconds between event time and arrival

Setup Steps

  1. Read the migration guide for your language and list the breaking changes.
  2. Upgrade in a staging environment first and send a known set of test events.
  3. Compare events_sent with events_received for the test run. They should match exactly.
  4. Add logging for any failed publish result so you see drops that were silent before.
  5. Set an event uuid on critical events, such as purchases, so retries cannot create duplicates.
  6. Roll out to one service or a small share of traffic, and watch both counts for 24 hours.
  7. Remove the old SDK version everywhere, then confirm $lib_version shows only the new one.

Actionable Insights

Received is lower than sent. Events are failing. Check the publish results and your network or key settings.

Received is higher than sent. Retries are creating duplicates. Add stable event IDs.

Two SDK versions in one day. Some services are not upgraded. Find them before they drift.

AI events appear in a separate lane. Your analytics counts may fall if you used to include AI traffic. Compare like with like.

Common Mistakes to Avoid

Do not upgrade every service in one release. Do not judge success from the absence of errors, because many drops are silent. And keep a note of the upgrade date on your charts so a step change is easy to explain later.