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 inchrome.storage.localunder theextensionbill:prefix and mirrored tochrome.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
updateorstartup, refreshing its version and last-seen time.
Each registration sends:
| Field | Example | Source |
|---|---|---|
extensionId | abcdefghijklmnopabcdefghijklmnop | runtime.id |
version | 2.4.1 | Your manifest version |
browser | chrome | Detected: chrome, edge, firefox, opera, brave or other |
locale | en-US | Browser UI language |
reason | install | install, 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:
- 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.
- The browser lands on a goodbye page at
https://app.extensionbill.com/goodbye/<installId>, branded with your app name, icon and color. - If feedback is on, the page asks for a reason and an optional comment, shown on the install in the dashboard.
- If you set a redirect URL, the user goes there next.
Configure it in Settings → General → Uninstall (App.uninstall):
| Setting | Field | Default |
|---|---|---|
| Ask for feedback | feedbackEnabled | On |
| Redirect URL | redirectUrl | Empty (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.
| Metric | Meaning |
|---|---|
| Installs | New installs registered in the range. |
| Active installs (7d) | Installs seen in the last 7 days. |
| Uninstalls | Installs marked uninstalled in the range. |
| Trials started | Install trials started in the range. |
| Install → paid | Share of installs that became paying customers. |
| Trial → paid | Share of trials that converted to a purchase. |
Customers → Installs lists every install in the current environment:
| Filter | Shows |
|---|---|
| All | Every install. |
| Paid | Installs with active access from a purchase, license or manual grant. |
| Trial | Installs with an active install trial. |
| Free | Installed, no trial, no paid access. |
| Uninstalled | Installs 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.