Rocky_Mountain_Vending/.pnpm-store/v10/files/a5/facd9e0a4d5a1eebf517cb74f8971bacfbfce069c1bdf0fc49a6e330cf0b19e723f430f9dfc529a34541790ce62686b1f6a9f03e1ef1ee3508a498c4ddfc9c
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

34 lines
965 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;
}
}
type Props = Omit<AnalyticsProps, 'route' | 'disableAutoTrack'>;
declare function Analytics(props: Props): null;
export { Analytics, type AnalyticsProps, type BeforeSend, type BeforeSendEvent };