Aptabase is an Open Source alternative to Google Firebase Analytics for Browser Extensions
Use the Browser Extension SDK for Aptabase to instrument your app. You're in total control of what events to track.
Here's an example 👇
trackEvent("settings_changed", {
theme: "dark"
}); Full install and setup steps in the quickstart below .
That's it! You'll now see the data on your dashboard as the events come through from your app.
Use Cases
You can't improve what you don't measure. Aptabase helps you get valuable insights from your Browser Extensions in a privacy-friendly manner.
Are you aware of the features in your app that users engage with most frequently? What configurations that majority of your users prefer? Gaining insights into these areas allows you to make well-informed decisions on future focus points for enhancing your extension's user experience.
Understanding the geographical distribution of your user base can significantly inform the decision to localize your extension, thereby enhancing its global accessibility and visibility on the various browser extension stores.
Aptabase efficiently gathers data such as the names of browsers such as Chrome, Firefox, Edge and Safari, alongside their respective versions. This valuable insight enables you to concentrate on crafting enhanced user experiences tailored to the most widely used browsers and versions.
Quickstart
Install the Browser extensions SDK, initialize it with your App Key and track your first
event. Get the App Key from the dashboard's Instructions
menu — keys look like A-EU-*, A-US-*.
Package: @aptabase/browser (~1 kB)
npm add @aptabase/browser Initialize in your background script:
import { init } from "@aptabase/browser";
init("<YOUR_APP_KEY>"); Optional second parameter: { isDebug: true }. By default the SDK detects dev mode by checking whether the extension was installed from a store.
import { trackEvent } from "@aptabase/browser";
trackEvent("extension_installed");
trackEvent("popup_opened", { page: "settings" }); Privacy front and center
In the realms of user tracking and privacy, Aptabase employs a unique strategy to secure the privacy of your users.
Free up to 20,000 events/month. Paid plans from $10/month for 200,000 events up to $450/month for 50,000,000 events. No overage fees.