You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collecting any kind of analytics is hard for web extensions. Google Analytics, the most popular analytics product, doesn't support the chrome extension runtime, neither does Firebase. Other large analytics software (Umami, Amplitude) also don't support chrome extensions, because they all rely on the window object, which doesn't exist in MV3 service workers.
That said, collecting analytics isn't impossible. You just end up writing custom implmentations that interact with the service's API directly, which is kinda a pain.
Collecting any kind of analytics is hard for web extensions. Google Analytics, the most popular analytics product, doesn't support the chrome extension runtime, neither does Firebase. Other large analytics software (Umami, Amplitude) also don't support chrome extensions, because they all rely on the
window
object, which doesn't exist in MV3 service workers.That said, collecting analytics isn't impossible. You just end up writing custom implmentations that interact with the service's API directly, which is kinda a pain.
I'd like to support:
Very basic APIs. As for clients, I'd like to provide GA4 and Umami clients with the package to get started. All will just be HTTP clients.
Initializing analytics should look something like this:
The text was updated successfully, but these errors were encountered: