mixpanel-js
mixpanel-js copied to clipboard
Support for Figma plugins or other Iframe enviroments
Problem
Mixpanel client will not work in Figma plugins UI.
Why?
Electron limitation when Iframe content is loaded as Data-URI. Both localStorage and document.cookie are not available (similar problem).
Mixpanel client has configuration option to switch off persistance disable_persistence, but it won't help, as it accesses cookie, which crashes the client