mixpanel-js
mixpanel-js copied to clipboard
Official Mixpanel JavaScript Client Library
I can't figure out what is going on, but I have a tracking module in a project written in React and using Vite. When I import the `mixpanel-browser` dependency and...
before: after, it will look like this:
I have a bunch of code in the `init` callback that I need to run if the person has adblock on (which makes init callback never fire) I can't check...
If you have a placeholder link that does not have a href (`Example`), then the behaviour of `track_links` is broken. Without `track_links`, clicking that link in most browsers does nothing....
Mixpanel's `opt_out_tracking_by_default` doesn't seem to be working as expected when setting it as true on initialization. In particular, I'm still seeing events logged after initialization despite setting the default value...
Our web-app is an embed, typically hosted in an `iframe` within an external site. When app is loaded independently, everything works as expected. However, when the app is loaded in...
I have a React application that triggers the `init` function on mount: ``` const mixpanelInitOptions = { token: process.env.NODE_ENV === Environments.Prod ? process.env.REACT_APP_MP_PROD_PROJECT_TOKEN : process.env.REACT_APP_MP_DEV_PROJECT_TOKEN, options: { debug: process.env.NODE_ENV ===...
``` TypeError: Cannot read properties of null (reading 'charAt') ```  https://github.com/mixpanel/mixpanel-js/blob/b2ac95b4b1e9f8b46c709acd1102d531f38a6aa3/src/utils.js#L538-L548 https://github.com/mixpanel/mixpanel-js/blob/b2ac95b4b1e9f8b46c709acd1102d531f38a6aa3/src/utils.js#L713-L729
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...