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.
Thank you!
--
Geddes Munson
Solutions @ Mixpanel