Skip to main content
Use one project ID across your extension and website.
  1. Create or select your extension project in crxbase and copy its project ID.
  2. Install @crxbase/analytics and initialize the extension SDK in your extension’s background script.
  3. Add the website SDK to your landing and welcome pages. The pages must share an origin for install attribution.
  4. Call analytics.attributeInstall() on your welcome page. Optionally, add uninstall reporting to your own uninstall page.
  5. Add analytics.view() and analytics.track() where you want to measure views and features.
For example, record a view when your popup opens and an event when an export completes:
The SDK records installs and extension updates automatically. The dashboard shows activity after events are received. See Setup for the integration, Events for tracking, and Acquisition for attribution.