Home > @uniformdev/context > ContextOptions
ContextOptions interface
Signature:
interface ContextOptions extends Omit<VisitorDataStoreOptions, 'manifest' | 'onServerTransitionScoresReceived'>
Extends: Omit<VisitorDataStoreOptions, 'manifest' | 'onServerTransitionScoresReceived'>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
manifest | ManifestV2 | The Context Manifest to load (from the Context API) | |
plugins? | Array<ContextPlugin> | <p>(Optional) Context plugins to load at initialize time. Plugins that hook to the log event should be added here so that they can catch init-time log message events.</p><p>Note that the Context passed to the plugin is not yet fully initialized, and is intended for event handler attachment only - don't call scores, update, etc on it. If you need to call these methods immediately, attach your plugin after initialisation.</p> | |
requireConsentForPersonalization? | boolean | (Optional) Only show personalizations if the visitor has given consent. <code>false (default)</code>: personalization can run in memory without visitor granting storage consent <code>true</code>: personalization is not run at all unless storage consent is given |