Contentful Personalization & Analytics
    Preparing search index...

    Configuration options for the preview panel feature

    interface PreviewPanelConfig {
        contentfulClient: ContentfulClient;
        enabled: boolean;
        fabPosition?: { bottom?: number; right?: number };
        onVisibilityChange?: (isVisible: boolean) => void;
        showHeader?: boolean;
    }
    Index

    Properties

    contentfulClient: ContentfulClient

    Contentful client instance used to fetch audience and experience entries. The panel will automatically fetch nt_audience and nt_experience content types.

    enabled: boolean

    Whether the preview panel is enabled. When true, a floating action button will appear that opens the preview panel.

    fabPosition?: { bottom?: number; right?: number }

    Optional positioning overrides for the floating action button

    onVisibilityChange?: (isVisible: boolean) => void

    Called when the panel visibility changes

    showHeader?: boolean

    Whether to show the header with title in the preview panel