Recent Changes to JS Lib v 2.2

101 views
Skip to first unread message

Geddes Munson

unread,
Jan 10, 2013, 10:00:07 PM1/10/13
to mp-...@googlegroups.com
Recent Changes to Mixpanel's JavaScript Library v 2.2

We've recently modified versions 2.1 and 2.2 of the Mixpanel JS library to add the following functions:
track_charge
clear_charges
append

These new functions are to support our upcoming revenue analytics product, and are documented here: 

To use these functions, you will have to update your snippet, as documented here:

We have also rolled out three minor bug fixes:
  • The $append_queue variable is no longer exposed to the global scope. There had been a risk of collisions.
  • JSON methods now no longer use the JSON methods in global scope. There had been a problem when customers replaced a browser's native JSON functionality with one that was not fully RFC 4627 compliant.
  • DOM selection for track_links and track_forms correctly selects elements with the dash character ("-") in their names.
You do not need to update your snippet to take advantage of these bug fixes, as long as you are on version 2.1 or 2.2 of our library and you have not cached it locally. If you have cached it on your servers, you will need to re-fetch the library at either http://cdn.mxpnl.com/libs/mixpanel-2.2.min.js or http://cdn.mxpnl.com/libs/mixpanel-2.2.min.js.

Thank you!

--
Geddes Munson
Solutions @ Mixpanel
Reply all
Reply to author
Forward
0 new messages