/** * Client module registered via `getClientModules()` only when `autoIdentify` is * enabled. Assigns a stable anonymous ID so Umami groups a visitor's sessions * together (same browser = same ID across sessions). * * @remarks * PRIVACY: this persists a unique identifier in `localStorage`. That is a * persistent identifier / personal data under GDPR + ePrivacy and generally * requires user consent — it negates Umami's default cookieless, consent-free * posture. It is opt-in and honors Do Not Track / Global Privacy Control. For * consent-gated identification, leave `autoIdentify` off and call `identify()` * from the `/client` entry after your own consent flow instead. */ declare global { interface Window { /** Storage key injected by the plugin when `autoIdentifyStorageKey` is set. */ __UMAMI_ANON_STORAGE_KEY__?: string; } } export {};