link type definitions
Posthog-js allows you to automatically capture usage and send events to PostHog.