awesome-prometheus-alerts/site/src/env.d.ts
Samuel Berthe b4324742be
feat: replace Tinybird tracking with PostHog
- Remove Tinybird fetch pipeline from pipe.ts, keep only session/lifetime copy counters
- Wire session_copy_count and lifetime_copy_count into posthog.capture calls
- Remove Tinybird calls from sponsor click tracking, use posthog only
- Hardcode PostHog project ID and reverse proxy host (hogpost.samber.dev)
2026-04-17 12:07:50 +02:00

10 lines
309 B
TypeScript

/// <reference types="astro/client" />
interface Window {
posthog?: {
capture: (event: string, properties?: Record<string, unknown>) => void;
identify: (distinctId: string, properties?: Record<string, unknown>) => void;
reset: () => void;
captureException: (error: unknown) => void;
};
}