OptionalallowedAllow-listed event type strings permitted when consent is not set.
OptionalapiUnified API configuration used by Experience and Insights clients.
OptionalchildrenChildren components that will have access to the ContentfulOptimization instance.
Client identifier used for authentication or tracking.
OptionaldefaultsOptional set of default values applied on initialization.
OptionalenvironmentContentful environment identifier.
OptionaleventEvent builder configuration (channel/library metadata, etc.).
OptionalfetchOptions used to configure the underlying protected fetch method.
OptionalgetFunction used to obtain an anonymous user identifier.
OptionallogMinimum log level for the default console sink.
OptionalonCallback invoked whenever an event call is blocked by checks.
OptionalqueueUnified queue policy for queued stateful work.
Props for the OptimizationProvider component.
Accepts all
OptimizationConfigproperties directly. OnlyclientIdis required.