Skip to content

Releases: mixpanel/mixpanel-js

time_event and local snippet support

06 Aug 00:07
Compare
Choose a tag to compare
  • time_event allows timing the duration until a certain event is tracked
  • loading the lib via the embed code (snippet) now works in HTML files loaded from the local filesystem

Track browser url automatically, expose info properties

08 Jul 00:40
Compare
Choose a tag to compare

Current url will be set automatically as string super property $current_url. Super properties are now exposed through mixpanel._.info.properties.

Track browser version automatically

11 May 22:01
Compare
Choose a tag to compare

Browser version will be set automatically as a numeric super-property $browser_version, including major and minor version (e.g., 11.1).

localStorage support

06 May 00:04
Compare
Choose a tag to compare

Adds a new config option to use localStorage instead of cookies to persist user data in the browser:

mixpanel.init(TOKEN, {persistence: 'localStorage'});

If a cookie with the same name exists, it will be removed and its data transferred to the new localStorage entry.

The old config options cookie_name and disable_cookie are now aliased to persistence_name and disable_persistence.

Eliminate undocumented token override in track()

24 Mar 00:35
Compare
Choose a tag to compare

This behavior was undocumented, and also broken in the minified version for a long time. It is hereby eliminated.

To track to multiple Mixpanel projects on a single page, initialize separate lib instances with mixpanel.init(token, options, instance_name).

Bugfix for minification issue

13 Mar 00:45
Compare
Choose a tag to compare

A bug in 2.4.0 could cause minified versions of the library not to track if certain property names were set. This release fixes that issue.

Support for people.union()

10 Mar 22:03
Compare
Choose a tag to compare
v2.4.0

people.union support

Official Bower release

23 Feb 19:04
Compare
Choose a tag to compare

Now available via Bower registry

web notifications fixes

20 Feb 15:48
Compare
Choose a tag to compare

also includes ctrl-click fix for windows/linux

web notifications support

20 Feb 15:47
Compare
Choose a tag to compare
v2.3.0

Web in-app notification support