Advanced Install analytics

Install analytics

How ExtensionBill counts installs, active users and uninstalls, collects uninstall feedback, and what data it does and doesn't collect.

The SDK registers every copy of your extension to track trials and purchases, so you get installs, active installs, versions, uninstalls with feedback and install-to-paid conversion for free. Nothing to add beyond the bill.startBackground() call from the Quickstart.

How installs are tracked

bill.startBackground() listens to runtime.onInstalled and runtime.onStartup:

  • First run: the SDK registers a new install and receives a random installId (a UUID) and an install token, stored in chrome.storage.local under the extensionbill: prefix and mirrored to chrome.storage.sync. If local storage is empty but sync holds an identity for the same publishable key, the SDK reuses that install instead of registering a new one.
  • Updates and browser restarts: the SDK re-registers the install with the reason update or startup, refreshing its version and last-seen time.

Each registration sends:

FieldExampleSource
extensionIdabcdefghijklmnopabcdefghijklmnopruntime.id
version2.4.1Your manifest version
browserchromeDetected: chrome, edge, firefox, opera, brave or other
localeen-USBrowser UI language
reasoninstallinstall, update, startup or unknown

Every bill.getUser() refresh also updates lastSeenAt, and the X-Extension-Version header keeps the dashboard’s version current.

An install is one copy of your extension in one browser profile. Reinstalling the extension, or using another browser or profile, gives a new install. Other computers signed into the same profile with browser sync on share one install. Buyers link installs by restoring their purchase.

Uninstall tracking

The SDK calls runtime.setUninstallURL with a signed link (https://api.extensionbill.com/u/<installId>?k=<publishableKey>&s=<signature>). When a user removes your extension, the browser opens it:

  1. ExtensionBill marks the install as uninstalled. If another device registers the same install later (another computer on the same synced profile), the mark is cleared and it counts as active again. A reinstall registers a new install.
  2. The browser lands on a goodbye page at https://app.extensionbill.com/goodbye/<installId>, branded with your app name, icon and color.
  3. If feedback is on, the page asks for a reason and an optional comment, shown on the install in the dashboard.
  4. If you set a redirect URL, the user goes there next.

Configure it in Settings → General → Uninstall (App.uninstall):

SettingFieldDefault
Ask for feedbackfeedbackEnabledOn
Redirect URLredirectUrlEmpty (no redirect)

An uninstall only counts when the browser opens the link, which needs a network connection at that moment. Treat the count as a lower bound.

Dashboard

Overview shows install metrics next to revenue for the selected range. The chart plots installs and uninstalls per day, week or month, and the portfolio dashboard sums installs across your apps.

MetricMeaning
InstallsNew installs registered in the range.
Active installs (7d)Installs seen in the last 7 days.
UninstallsInstalls marked uninstalled in the range.
Trials startedInstall trials started in the range.
Install → paidShare of installs that became paying customers.
Trial → paidShare of trials that converted to a purchase.

Customers → Installs lists every install in the current environment:

FilterShows
AllEvery install.
PaidInstalls with active access from a purchase, license or manual grant.
TrialInstalls with an active install trial.
FreeInstalled, no trial, no paid access.
UninstalledInstalls whose uninstall link was opened.

Filter by extension version, or search by install ID or customer email. Show the install ID on an About or Support screen so users can quote it:

// options.js
import { bill } from './bill.js'

document.getElementById('install-id').textContent = await bill.getInstallId()

Click an install to see its extension ID, browser, locale, version, first install and last seen times, linked customer, trial dates, current access and uninstall feedback. From there you can Grant access (with a reason, for reviewers, partners or support cases), Revoke access, or Reset trial. Each action is recorded in the audit log.

To sync installs to your own tools, subscribe to install.created, install.uninstalled and trial.started webhooks.

Privacy

Collected per install: the random install ID, extension ID, version, browser name, browser locale, install, last-seen and uninstall timestamps, trial dates, and any uninstall feedback the user gives.

Not collected:

  • No browsing history, visited URLs, tab contents or page data. The SDK doesn’t read pages.
  • No names, emails or other personal information until the user enters an email at checkout, on the restore page or in the customer portal.
  • No IP addresses on install records, and no fingerprinting.