Originally published on Extenify.
Choosing Chrome extension analytics tools is confusing because no single product answers every question you have about your extension. Installs, in-extension behavior and competitor trends each live in a different place. Here is a simple three-layer model, a comparison of six popular tools, and an event pattern that keeps your choice reversible.
Three layers, three different questions
Before picking a tool, decide which question you are trying to answer:
| Layer | Answers | Where the data comes from |
|---|---|---|
| 1. Store numbers | How many installs, uninstalls, weekly users? | The store's developer dashboard |
| 2. In-extension behavior | Which features get used? Do users come back? | A product analytics tool you add |
| 3. Public store data | How do my rating, users and versions trend versus competitors? | Daily snapshots of public listings |
The store dashboards are free and authoritative for your own installs and users, but they cannot see inside your extension, and they show nothing about anyone else's listing.
- Chrome Web Store: installs, uninstalls, weekly users, impressions and page views by country, language and OS; users by item version; page views by UTM; optional GA4 integration for install attribution; CSV export.
- Edge Partner Center: weekly users, enabled vs. disabled counts, installs and impressions.
- addons.mozilla.org: daily users and downloads, with UTM breakdowns for listing traffic.
Why extensions break normal analytics setups
Dropping a web analytics snippet into an extension usually fails, for four reasons:
- No remote code in Manifest V3. Loading an SDK from a CDN can get your item rejected. Bundle it from npm instead.
-
The service worker is not a page. There is no
window,documentorlocalStorage, and it shuts down when idle, so SDKs that assume a browser page break there. Send events over plain HTTP. -
Contexts are isolated. Popup, service worker and content scripts run separately. Keep one shared install ID in
chrome.storage, or every popup open looks like a new user. - Privacy rules are stricter. Collect only what is necessary and proportionate, disclose it in the store's privacy section and your privacy policy, and avoid sending page content from content scripts. Firefox adds a consent mechanism in the manifest.
Six product analytics tools at a glance
Free-tier figures as listed in the original article (October 2026):
| Tool | Free tier | MV3 integration | Good for |
|---|---|---|---|
| GA4 | Free | Measurement Protocol via your server | Teams already reporting in GA4 |
| PostHog | 1M events/mo, 1-year retention | Bundled posthog-js in pages, HTTP from worker |
Funnels, retention, feature flags |
| Mixpanel | Up to 1M events/mo | Bundled SDK in pages, HTTP ingestion from worker | Event analytics and funnels |
| Amplitude | 2M events/mo | Bundled SDK in pages, HTTP V2 API from worker | Retention and cohorts |
| Plausible | 30-day trial, free self-hosted CE | Events API over HTTP | Simple, cookieless counts |
| Umami | Hobby: 100K events/mo, 6-month retention; free self-hosted |
/api/send, /api/batch
|
Lightweight open-source counts |
A quick rule of thumb:
- Solo dev, one extension: store dashboard plus one free tier (PostHog, Mixpanel or Amplitude for funnels; Umami or Plausible for counts).
- Already on Google's stack: GA4 through a relay, plus the store's GA4 integration.
- Strict privacy or EU-only data: self-hosted Plausible or Umami, or your own endpoint.
- Not sure yet: start with your own endpoint and decide later.
Keep the tool swappable with an event queue
The pattern that makes that last option work is a small, vendor-neutral queue in the service worker:
- Store a random install ID, the pending queue and the last "active day" date in
chrome.storage.local. - Each event carries
name, optionalprops, the manifestversionand a timestamp. - Log install/update from
onInstalled, add oneactive_dayevent per day, and let the popup send events viaruntime.sendMessage. - Flush on a 30-minute alarm, and re-create the alarm whenever the worker starts.
- POST batches to a relay you control, so no analytics key ships in the extension. Remove only the events you sent, keep the queue on failure, and cap it (for example, newest 500) while offline.
// Simplified flush: send, then drop only what was sent
async function flush() {
const { cid, queue = [] } = await chrome.storage.local.get(['cid', 'queue']);
if (!queue.length) return;
const batch = queue.slice(0, 100);
try {
const res = await fetch('https://your-relay.example.com/events', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ cid, events: batch }),
});
if (!res.ok) return; // keep the queue for the next alarm
const { queue: latest = [] } = await chrome.storage.local.get('queue');
await chrome.storage.local.set({ queue: latest.slice(batch.length) });
} catch {
// offline: try again on the next alarm
}
}
The relay validates payloads, drops unknown event names, adds server time and forwards to whichever tool you picked. Switching vendors becomes a server change, not an extension update. This needs the storage and alarms permissions; at higher volume, batch in memory instead of read-modify-write on every event.
The layer most people skip: public store data
Stores show you current public numbers but keep no history, and you never get a competitor's private dashboard. Recording each listing's users, rating, reviews, version and category rank daily is what lets you spot trends and compare yourself with others. A sensible rollout: watch store dashboards and your listing from day one, add the event queue and five to ten events at your first product question, add active_day retention by install week at your first retention question, and track competitor listings when you start asking about them.
Key takeaways
- Pick tools by question: store dashboards, product analytics and public store data each cover one layer.
- Bundle SDKs and send events over HTTP; the MV3 service worker has no DOM.
- Use a shared install ID across contexts to avoid inflated user counts.
- Route events through your own relay so keys stay server-side and the vendor stays swappable.
- Disclose analytics, keep it proportionate, and never ship page content from content scripts.
The full guide, with FAQs and the complete queue code, is in Chrome extension analytics tools compared: store dashboards, product analytics and public store data. For the public-data layer, Extenify tracks Chrome, Edge and Firefox listings and competitors daily.
Which analytics setup are you running in your extension today, and what question is it still failing to answer?
Top comments (0)