@scaleway/use-analytics
Version:
A small hook to handle events analytics
6 lines (5 loc) • 474 B
TypeScript
export { AnalyticsProvider, normalizeIdsMigration, useAnalytics, useDestinations, userMigrationsTraits, } from './analytics';
export { defaultConsentOptions, defaultLoadOptions, } from './analytics/constants';
export type { Analytics, AnalyticsProviderProps, OnEventError, } from './analytics/useAnalytics';
export { CATEGORIES, THIRD_PARTY_PROVIDERS, } from './constants';
export type { AnalyticsIntegration, CategoryKind, Consent, Consents, Destination, } from './types';