I disable the autocapture but there is still page leave events sent, here is my config
mixpanel.init(import.meta.env.VITE_MIXPANEL_PROJECT_TOKEN, {
debug: false
autocapture: false,
track_pageview: false,
record_sessions_percent: 0,
record_heatmap_data: true,
})
my mixpanel version
"mixpanel-browser": "^2.71.0"
Here is screenshot from network devtools
I check a bit, and looks like this line here?
If I enable record_heatmap_data it auto send the page_leave event as well
https://github.com/mixpanel/mixpanel-js/blob/master/src/autocapture/index.js#L538
I disable the autocapture but there is still page leave events sent, here is my config
my mixpanel version
Here is screenshot from network devtools
I check a bit, and looks like this line here?
If I enable
record_heatmap_datait auto send the page_leave event as wellhttps://github.com/mixpanel/mixpanel-js/blob/master/src/autocapture/index.js#L538