Skip to content

FALLBACK_ACCOUNT_ID_PREFIX

const FALLBACK_ACCOUNT_ID_PREFIX: "user-fallback:" = 'user-fallback:'

Namespace marker in front of an account_id the SDK fabricated from the user id because the integration identified no account.

Stable wire contract: analytics read-time guards match on this literal, so changing it is a breaking change to every pipe that filters on it. Callers should compare with isFallbackAccountId rather than re-deriving the string.

TypeScript
import { FALLBACK_ACCOUNT_ID_PREFIX } from '@revturbine/sdk';
FALLBACK_ACCOUNT_ID_PREFIX; // 'user-fallback:'