Optionalchanges
changes?: PersistedDefaultValue<
{
key: string;
meta: { experienceId: string; variantIndex: number };
type: "Variable";
value: string | number | boolean | Record<string, JSONType> | null;
}[],
>
Optionalconsent
consent?: boolean
OptionalpersistenceConsent
persistenceConsent?: boolean
Optionalprofile
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>;
},
>
OptionalselectedOptimizations
selectedOptimizations?: PersistedDefaultValue<
{
experienceId: string;
sticky?: boolean;
variantIndex: number;
variants: Record<string, string>;
}[],
>
Persisted values supplied by a platform store.