mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
- 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)
10 lines
309 B
TypeScript
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;
|
|
};
|
|
}
|