1.3.1 • Published 10 months ago

@0no-co/mixpanel-micro v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@0no-co/mixpanel-micro is a Mixpanel utility library, based on mixpanel-lite, which targets modern browsers and makes use of the Beacon API if it's available.

It provides ESM exports of the Mixpanel Browser API and unlike mixpanel-lite it:

  • Makes use of the Beacon API if it's available
  • Falls back on the Fetch API with keepalive: true set if the Beacon API is unavailable
  • Respects navigator.onLine and the online event, which are heuristics but have wide cross-browser support
  • Uses the visibilitychange event to send events before a tab closes
  • Does not implement offline storage for the event queue, and instead uses a best effort approach to sending events
1.2.0

10 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago