Contentful Personalization & Analytics
    Preparing search index...

    Persisted values supplied by a platform store.

    interface PersistedStatefulDefaults {
        changes?: PersistedDefaultValue<
            {
                key: string;
                meta: { experienceId: string; variantIndex: number };
                type: "Variable";
                value: string | number | boolean | Record<string, JSONType> | null;
            }[],
        >;
        consent?: boolean;
        persistenceConsent?: boolean;
        profile?: PersistedDefaultValue<
            {
                audiences: string[];
                id: string;
                location: {
                    city?: string;
                    continent?: string;
                    coordinates?: { latitude: number; longitude: number };
                    country?: string;
                    countryCode?: string;
                    postalCode?: string;
                    region?: string;
                    regionCode?: string;
                    timezone?: string;
                };
                random: number;
                session: {
                    activeSessionLength: number;
                    averageSessionLength: number;
                    count: number;
                    id: string;
                    isReturningVisitor: boolean;
                    landingPage: {
                        path: string;
                        query: Record<string, string>;
                        referrer: string;
                        search: string;
                        title?: string;
                        url: string;
                        [key: string]: JSONType;
                    };
                };
                stableId: string;
                traits: Record<string, JSONType>;
            },
        >;
        selectedOptimizations?: PersistedDefaultValue<
            {
                experienceId: string;
                sticky?: boolean;
                variantIndex: number;
                variants: Record<string, string>;
            }[],
        >;
    }
    Index

    Properties

    changes?: PersistedDefaultValue<
        {
            key: string;
            meta: { experienceId: string; variantIndex: number };
            type: "Variable";
            value: string | number | boolean | Record<string, JSONType> | null;
        }[],
    >

    Persisted changes, read only when persistence consent permits it.

    consent?: boolean

    Persisted event consent.

    persistenceConsent?: boolean

    Persisted profile-continuity persistence consent.

    profile?: PersistedDefaultValue<
        {
            audiences: string[];
            id: string;
            location: {
                city?: string;
                continent?: string;
                coordinates?: { latitude: number; longitude: number };
                country?: string;
                countryCode?: string;
                postalCode?: string;
                region?: string;
                regionCode?: string;
                timezone?: string;
            };
            random: number;
            session: {
                activeSessionLength: number;
                averageSessionLength: number;
                count: number;
                id: string;
                isReturningVisitor: boolean;
                landingPage: {
                    path: string;
                    query: Record<string, string>;
                    referrer: string;
                    search: string;
                    title?: string;
                    url: string;
                    [key: string]: JSONType;
                };
            };
            stableId: string;
            traits: Record<string, JSONType>;
        },
    >

    Persisted active profile, read only when persistence consent permits it.

    selectedOptimizations?: PersistedDefaultValue<
        {
            experienceId: string;
            sticky?: boolean;
            variantIndex: number;
            variants: Record<string, string>;
        }[],
    >

    Persisted selected optimizations, read only when persistence consent permits it.