Skip to content
AetherDocs0.1.0-alpha.0

Web quickstart

The fastest way to connect a website or web app.

Install

● bash
npm install @aether/web

Initialize and send

● typescript
import { AetherSDK } from '@aether/web';

// Run after your consent banner records the analytics purpose.
const aether = AetherSDK.init({
  tenantId: 'your-tenant-id',
  appId: 'your-app-id',
});

aether.track('page_view', { path: window.location.pathname });
■No secrets in browser codeTenant and app IDs are identifiers, not credentials.

Verify

CheckSuccess looks like
Ingestionpage_view accepted by /v1/batch
Provenancesource: web_sdk · under 1 min
ConsentPurpose recorded on the batch
Identityanonymous → identified when hinted