mixpanel-js
mixpanel-js copied to clipboard
Official Mixpanel JavaScript Client Library
If one includes `mixpanel.js` in their Cordova application, messages won't get logged. The problem comes with the `script` tag that is generated and inserted into the DOM: ``` //cdn.mxpnl.com/libs/mixpanel-2-latest.min.js ```...
We are using mixpanel in GTM. I am getting a lot of JS errors (reported by sentry) that `Object doesn't support this action` ``` TypeError /libs/mixpanel-2-latest.min.js in g.prototype.pa Object doesn't...
Interestingly this only happens in IE9, but not 10 or any other browser. Adding `mixpanel` to the window object solves it, but that seems like a rather dirty workaround. Any...
I have some issues with messages in my application and it turned out messages may be broken due to images blocked by adblockers (in my case **uBlock Origin 1.14.24**) served...
If one wanted to link two anonymous sessions that had been recorded to the same user/alias. How would one do it. Is it possible?
I am trying to set up Angular Universal and keep hitting an obstacle where mixpanel directly goes for window or document or navigator objects. Would be nice if there would...
The event for the links are firing off, but they are always canceled. I thought it might the browser trying to switch pages, so I increased the timeout to as...
I'm not sure what happens but sometimes `track()` does not fire `callback`. For now, I add a workaround snippet to fire callbacks, but It's better if mixpanel-js handles it. My...
Is it possible to update [this code](https://github.com/mixpanel/mixpanel-js/blob/03b4b49d0b1e15b27d3a5167e417f96cd81f1317/src/utils.js#L518-L523) to throw an `Error` object rather than a custom object? I noticed it's sending ["`[object Object]`" errors to Sentry](https://forum.sentry.io/t/all-erors-say-object-object/2049/2).
What's the correct rules I should define to allow mixpanel in my content security policy meta? I'm doing: `` But requests are still getting blocked on production.