UNPKG

umami-analytics-react

Version:

React hooks (useUmami, useUmamiView) and UmamiProvider for seamless Umami analytics integration, supporting page views, custom event tracking, and session identification.

3 lines 315 B
import { ViewOnlySignature, MapperSignature } from "../types"; export declare function useUmamiView(viewDependencies?: ReadonlyArray<Location["pathname"] | Location["search"] | unknown>, payload?: Parameters<ViewOnlySignature>[0] | Parameters<MapperSignature>[0]): null; //# sourceMappingURL=use-umami-view.d.ts.map