posthog
Installation
SKILL.md
PostHog
Product analytics platform with autocapture, feature flags, session replay, and A/B testing. Open source with self-hosting option.
Quick Start
npm install posthog-js @posthog/react
React Setup
// src/main.tsx or src/index.tsx
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import posthog from 'posthog-js';
import { PostHogProvider } from '@posthog/react';
import App from './App';