Mixpanel API

To install, run:

haxelib install mixpanel 1.0.0 

See using Haxelib in Haxelib documentation for more information.


Mixpanel for Haxe

This library contains the interface to Mixpanel API for Haxe/OpenFL.

Based on mixpanel-as3.

Differences from the AS3 version:

  1. passing a null token to the constructor will block all sendRequest operations. This can be useful if you want to simply disable Mixpanel but not have tons of branch code.

  2. library send POST isntead of GET requests by defaut. OpenFL legacy has a bug where URLLoader ignores GET CGI data. This may be reversed in the future, but there are no real implications for user side.

  3. only SharedObject is supported for backend storage, and OpenFL cares about the abstractions.

  4. The library identifies itself to Mixpanel as mp_lib=haxe, following Mixpanel standards.

Everything else should be the same and you can follow AS3 usage documentation.

3 years ago

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github