Skip to content

Moderok SDKAnalytics built for extensions

Track usage and errors in Manifest V3. Nothing extra in the install prompt. Small and built for extensions.

Integration

Three things to ship

Moderok is a manifest line, one synchronous call in your background script, and the same app key wherever you record events. The guides have copy-paste snippets.

1 Manifest

Add storage and point background.service_worker at your entry file. No host access required for Moderok.

Manifest & permissions

2 Background

Call Moderok.init() with your app key at the top level of the service worker so installs and updates are never missed.

Initialization

3 Surfaces

Use the same key in popups, options, and content scripts when you call track(). Identity stays in sync across the extension.

Events & properties

Moderok: analytics for browser extensions