Sourced from mixpanel-browser's releases.
Autocapture Updates
New autocapture events are now available:
- Dead Click (
$mp_dead_click): when a click occurs but there is no DOM mutation afterwards- Page Leave (
$mp_page_leave): when a page is "left" either by navigation or leaving the tabDead Click event tracking is ON in the default autotrack configuration, but Page Leave tracking must be turned on explicitly (with the config option
{autocapture: {page_leave: true}}.This release also includes several other updates:
- adding additional properties to experiment exposure events for feature flags
- upgrade rrweb fork to fix a hidden input masking issue
- getting rid of package.json
exportsfeature to be less restrictive of what can be imported- adding type definitions for each build option
Sourced from mixpanel-browser's changelog.
2.72.0 (14 Nov 2025)
- Adds Autocapture rage-click configuration option
interactive_elements_only, to ignore clicks on non-interactive page elements such as text. Configure with:mixpanel.init('<TOKEN>', {autocapture: {rage_click: {interactive_elements_only: true}}})- Adds TypeScript types for Feature Flags subsystem (
mixpanel.flags)- Adds JS console data to Session Recordings, enabled by default but configurable via the
record_consoleinitialization option.- Fixes an issue in session recording where closing and opening a page would upload a replay shorter than the configured minimum duration (
record_min_ms)- Fixes an issue in session recording where payloads get truncated on old Safari versions due to a bug in their CompressionStream implementation
2.71.1 (30 Oct 2025)
- fixes issue with $mp_page_leave events getting tracked when
record_heatmap_datais on and there was no session recording taking place.2.71.0 (2 Oct 2025)
- adds Dead Click ($mp_dead_click) autocapture event: when a click occurs but there is no DOM mutation afterwards
- adds Page Leave ($mp_page_leave) autocapture event: when a page is "left" either by navigation or leaving the tab
- adds additional properties to experiment exposure events for feature flags
- upgrades rrweb fork to fix a hidden input masking issue
- gets rid of package.json exports feature to be less restrictive of what can be imported
- adds type definitions for each build option
2.70.0 (4 Sep 2025)
- Feature flags requests now send params on query string with GET instead of POST for easier caching
2.68.0 (11 Aug 2025)
- Initial rage-click detection support
- Block
<audio>tags by default in Session Recording- Add
flags.update_context()method for updating context variables and refetching variants2.67.0 (17 Jul 2025)
- Use
get_api_host()consistently across the SDK- Include
device_idin default Feature Flag context- Track latency props in
$experiment_startedevent- Fix async behavior in
mixpanel.reset()when a session recording is active- Fix recorder integration test race conditions
2.66.0 (8 Jul 2025)
- Add
api_hostconfiguration option to support different hosts/proxies for different endpoints (thanks@chrisknu)- Add types.d.ts from existing public repo
- Fix race condition when calling
mixpanel.reset()while a session recording is active2.65.0 (20 May 2025)
mixpanel.people.track_charge()(deprecated) no longer sets profile property- Adds page height and width tracking to autocapture click tracking
- Session recording now stops when mixpanel.reset() is called
- Support for adding arbitrary query string params to tracking requests (thanks
@dylan-asos)- Feature flagging API revisions
- Whale Browser detection
2.64.0 (15 Apr 2025)
- Add
record_heatmap_datainit option for Session Recording to ensure click events are captured for Heat Maps- Initial support for feature flagging
... (truncated)