Rocky_Mountain_Vending/.pnpm-store/v10/files/ff/e2cae3ea92af416d6c1326c7534f66e74bc43134b79fa55f68bf0c200972fef46a21f3bf04fbcb0074869811e85866a41a1d6b46363ab17593a9dce23bfafd
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

33 lines
931 B
Text

interface PageViewEvent {
type: 'pageview';
url: string;
}
interface CustomEvent {
type: 'event';
url: string;
}
type BeforeSendEvent = PageViewEvent | CustomEvent;
type Mode = 'auto' | 'development' | 'production';
type BeforeSend = (event: BeforeSendEvent) => BeforeSendEvent | null;
interface AnalyticsProps {
beforeSend?: BeforeSend;
debug?: boolean;
mode?: Mode;
scriptSrc?: string;
endpoint?: string;
dsn?: string;
}
declare global {
interface Window {
va?: (event: 'beforeSend' | 'event' | 'pageview', properties?: unknown) => void;
vaq?: [string, unknown?][];
vai?: boolean;
vam?: Mode;
/** used by Astro component only */
webAnalyticsBeforeSend?: BeforeSend;
}
}
declare function Analytics(props: Omit<AnalyticsProps, 'route'>): JSX.Element;
export { Analytics, type AnalyticsProps, type BeforeSend, type BeforeSendEvent };