UNPKG

@jillen/analytics

Version:

Advanced analytics package for Next.js applications with bot detection and comprehensive tracking

28 lines (25 loc) 1.07 kB
interface VisitorTrackerProps { ip: string; country: string | null; city: string | null; region: string | null; continent?: string | null; latitude?: string | null; longitude?: string | null; timezone?: string | null; postalCode?: string | null; host?: string | null; protocol?: "http" | "https" | null; deploymentUrl?: string | null; route: string; userAgent: string; edgeRegion?: string | null; cacheStatus?: "HIT" | "MISS" | "BYPASS" | "STALE" | null; } declare function VisitorTracker({ ip, country, city, region, continent, latitude, longitude, timezone, postalCode, host, protocol, deploymentUrl, route, userAgent, edgeRegion, cacheStatus, }: VisitorTrackerProps): null; declare const index_VisitorTracker: typeof VisitorTracker; type index_VisitorTrackerProps = VisitorTrackerProps; declare namespace index { export { index_VisitorTracker as VisitorTracker, type index_VisitorTrackerProps as VisitorTrackerProps }; } export { VisitorTracker as V, type VisitorTrackerProps as a, index as i };