Contentful Personalization & Analytics
    Preparing search index...

    Options for the useScreenTracking hook.

    interface UseScreenTrackingOptions {
        name: string;
        properties?: Record<string, JSONType>;
        trackOnMount?: boolean;
    }
    Index

    Properties

    name: string

    The name of the screen to track.

    properties?: Record<string, JSONType>

    Additional properties to attach to the screen event.

    trackOnMount?: boolean

    Whether to automatically track the screen on mount.

    true