Contentful Personalization & Analytics
    Preparing search index...

    Configuration for the stateful analytics implementation.

    interface AnalyticsProductConfig {
        allowedEventTypes?: EventType[];
        defaults?: AnalyticsProductConfigDefaults;
        preventedComponentEvents?: Record<string, string[]>;
    }

    Hierarchy

    • ProductConfig
      • AnalyticsProductConfig
    Index

    Properties

    allowedEventTypes?: EventType[]

    The set of event type strings that are allowed to be sent even if consent is not granted.

    ['page', 'identify']

    These types are compared against the type property of events.

    Default signal values applied on initialization.

    preventedComponentEvents?: Record<string, string[]>

    A map of duplication keys to a list of component IDs that should be considered duplicates and therefore suppressed.

    The actual duplication check is performed by ValuePresence. The keys of this record are used as duplication scopes. An empty string '' is converted to an indefined scope when specific scopes are not required.