Contentful Personalization & Analytics
    Preparing search index...

    Options for configuring the CoreBase runtime and underlying clients.

    interface CoreConfig {
        analytics?: Omit<InsightsApiClientConfig, GlobalApiConfigProperties>;
        clientId: string;
        environment?: string;
        eventBuilder?: EventBuilderConfig;
        fetchOptions?: Omit<ProtectedFetchMethodOptions, "apiName">;
        logLevel?: LogLevels;
        personalization?: Omit<
            ExperienceApiClientConfig,
            GlobalApiConfigProperties,
        >;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Configuration for the analytics (Insights) API client.

    clientId: string

    Client identifier used for authentication or tracking.

    environment?: string

    Contentful environment identifier.

    Defaults to main when not provided.

    eventBuilder?: EventBuilderConfig

    Event builder configuration (channel/library metadata, etc.).

    fetchOptions?: Omit<ProtectedFetchMethodOptions, "apiName">

    Options used to configure the underlying protected fetch method.

    apiName is derived from the client name and must not be provided here.

    logLevel?: LogLevels

    Minimum log level for the default console sink.

    Configuration for the personalization (Experience) API client.