I wanted to use umami to track events in a browser extension, however I can't make it work for some reason.
Using the script tag doesn't work due to CSP I got it working only for the Vue.js files of my browser extension but not for any background scripts. I tried downloaded the script and import it instead and do the tracking via JS but umami is not added to the window object for the background scripts.
Any ideas how to get this working for browser extensions?
Thanks!
I wanted to use umami to track events in a browser extension, however I can't make it work for some reason.
Using theI got it working only for the Vue.js files of my browser extension but not for any background scripts. I tried downloaded the script and import it instead and do the tracking via JS butscripttag doesn't work due to CSPumamiis not added to thewindowobject for the background scripts.Any ideas how to get this working for browser extensions?
Thanks!