ChemPal Documentation - v1.18.0
    Preparing search index...

    Module hooks/useSearchAnalytics

    Functions

    useSearchAnalytics

    Subscribes to the search-lifecycle event bus and forwards it to PostHog, keeping analytics out of the search hook itself (the producers stay decoupled from consumers). Mirrors the useBadgeController hook.