npm mixpanel-browser 2.7.0
Support for synchronous/module-based loading

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

Four pre-built release types are now available in the build/ dir:

  • mixpanel.globals.js: the standard "global var" build. Attaches mixpanel object to window, requires loading via asynchronous embed code (snippet)
  • mixpanel.amd.js: for loading via AMD/RequireJS
  • mixpanel.cjs.js: for loading with a CommonJS loader such as Webpack or Browserify
  • mixpanel.umd.js: UMD build, both AMD- and CJS-compatible

Additionally, those who already compile/bundle from ES2015 source can load mixpanel directly from source in src/loader-module.js (import mixpanel from 'mixpanel/src/loader-module';).

Usage examples are available in the examples/ dir.

Don't miss a new mixpanel-browser release

NewReleases is sending notifications on new releases.