Use for browser extensions #837
Replies: 5 comments 1 reply
-
I now got it working just for the Vue.js files of my browser extension by setting the EDIT: I guess the issue is this line since I import the tracker script via my |
Beta Was this translation helpful? Give feedback.
-
I got it working for background scripts by using a background page instead of single scripts but that kind of breaks my application.
I would highly prefer using the
|
Beta Was this translation helpful? Give feedback.
-
Got it working now with the
Hope this helps anyone running into the same issue. Maybe you could make it more easily usable for browser extensions in the future :) |
Beta Was this translation helpful? Give feedback.
-
Not sure what a browser extension would be for, but moving this to discussions since it's not an issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks @marcelreppi for figuring this out! I'm currently testing Umami and Plausible to see which will work better for me as we rewrite our browser extension, so being able to track page views and events in our extension is going to be a priority. Good to see that there may be a way to get this to work out of the box, as it were... |
Beta Was this translation helpful? Give feedback.
-
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 butscript
tag doesn't work due to CSPumami
is not added to thewindow
object for the background scripts.Any ideas how to get this working for browser extensions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions