Skip to content
AetherDocs0.1.0-alpha.0

iOS SDK

Careful, consent-aware tracking for apps built in Swift.

PackageAetherSDK
Statusalpha
TransportPOST /v1/batch

Install

● swift
// Swift Package Manager
.package(url: "https://github.com/…/AetherSDK", from: "0.1.0")

Initialize

● swift
import AetherSDK

Aether.shared.configure(tenantId: "your-tenant-id", appId: "your-app-id")
Aether.shared.consent.grant([.analytics])
Aether.shared.screen("Home")

What it collects

DataEventsConsent purpose
Page and screen viewspage / screenanalytics
Custom eventstrackanalytics
Sessionsstart, heartbeat, endanalytics
Identity hintsidentify · userId, hashed email, walletpersonalization
Commerceproduct, cart, checkout, order, paymentanalytics
Journeysstart, checkpoint, pause, resume, complete, abandonanalytics
Device contextOS, app version, locale, timezoneanalytics
Marketing contextUTM parameters, referrer, campaignmarketing

How it collects

  1. 01Wait for consentNothing is captured until the purpose for an event is granted.
  2. 02Queue locallyEvents buffer in memory and an on-disk spool.
  3. 03Batch and sendFlushes on size, interval, or app background.
  4. 04Retry safelyIdempotent retries dedupe on tenant_id:event_id:schema_version for 24 h.
+Does it use IDFA?
No. It uses an app-scoped anonymous id. Advertising identifiers are not collected.