npm mixpanel-browser 2.42.0
Batch/retry system updates

latest releases: 2.51.0, 2.50.0, 2.49.0...
3 years ago

The batch_requests configuration introduced in v2.36.0 is now on by default for all projects. To turn it off, initialize the SDK with the explicit option {batch_requests: false}. Individual track() calls can still bypass the queueing system with the flag {send_immediately: true}.

In addition, this release contains several updates/fixes for send/retry behavior:

  • Requests blocked on the client side (e.g., via an adblocker) are no longer retried.
  • 429 (rate-limited) responses from the API are retried with backoff (in batch mode)
  • The deprecated unload event is no longer used to determine when to flush queues via sendBeacon on page close; this is now detected via the more modern alternatives visibilitychange and pagehide.

Don't miss a new mixpanel-browser release

NewReleases is sending notifications on new releases.