I’m trying to use Google analytics in my Figma Plugin to track usage. I get the following Security error when Google Analytics is initialized.
‘SecurityError: Failed to read the ‘cookie’ property from ‘Document’: Cookies are disabled inside ‘data:’ URLs.’
Has anyone had any luck with using a analytics solution inside your plugin ?
But are we getting a cookie insent message first then? Or do you get notified about the fact you’re using GA? This because I’m not quite sure how this will work with GDPR
Still working for me, I also had the same error, then I moved this init function inside the UI entry file not inside the code entry file, it has the console window function running once triggered.