analytics hooks
The components already use these hooks. Reach for them when you build your own UI on the same data. Open a hook for its options and what it returns.
Other hooks
useAnalyticsWhat a feature calls.
import { useAnalytics } from "@evolve-storefront/analytics/provider";function useAnalytics(): EmitReturns Emit
useAnalyticsBusThe bus itself, for a project wiring listeners or calling reset on logout.
import { useAnalyticsBus } from "@evolve-storefront/analytics/provider";function useAnalyticsBus(): AnalyticsBusReturns AnalyticsBus

