UNPKG

genrank

Version:

AI-powered visitor tracking and analytics for Generative Engine Optimization (GEO). Track and analyze how AI search engines and LLMs interact with your content.

17 lines (16 loc) 397 B
export interface VisitorEvent { timestamp: string; userAgent: string; referrer: string | null; page: string; } export declare class VisitorTracker { private readonly apiEndpoint; private isBrowser; constructor(); /** * Send a visit event to your Lambda function. * @returns Promise with the response from the API */ trackVisit(): Promise<any>; }