@shopana/ga
Version:
Type-safe Google Analytics 4 (GA4) tracking library for React and Next.js with ecommerce support, event batching, and SSR compatibility
11 lines • 523 B
TypeScript
import { type ReactNode } from 'react';
import { type AnalyticsClientHooks, type GA4Config } from '../types/common';
import { type GAPlatformAdapter } from '../types/platform';
export interface GAProviderProps {
config: GA4Config;
children: ReactNode;
adapterFactory?: () => GAPlatformAdapter;
hooks?: AnalyticsClientHooks;
}
export declare const GAProvider: ({ config, children, adapterFactory, hooks, }: GAProviderProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=GAProvider.d.ts.map