Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.